| Summary: | memtest does not boot from legacy grub menu entry (immediate reboot) | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Rolf Pedersen <rolfpedersen> |
| Component: | RPM Packages | Assignee: | All Packagers <pkg-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | fri, javier_diaz, lists.jjorge, mageia, mageia, marja11, thierry.vignaud |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| See Also: |
https://bugs.mageia.org/show_bug.cgi?id=18508 https://bugs.mageia.org/show_bug.cgi?id=25232 |
||
| Whiteboard: | MGA5TOO | ||
| Source RPM: | memtest86+-5.01-5.mga5.src.rpm, memtest86+-5.01-10.mga6.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Rolf Pedersen
2016-04-25 17:05:58 CEST
I have an installation of ROSA Desktop.Fresh release 2012.1 (Desktop) for x86_64 on this machine with memtest86+-4.20-2-rosa2012.1.x86_64 installed. I can boot memtest.bin in that installation from the legacy grub command line at boot. I can copy that file to /boot of Mageia 5 and boot it from the legacy grub menu entry, as written by the memtest installation: title memtest86+ kernel (hd0,4)/boot/memtest.bin I would say the problem lies with the newer memtest.bin or the interaction with my hardware, perhaps. There are many disks, partitions, and installations on this machine, so I found this memtest.bin in grub shell with `find /boot/memtest.bin` then tried it. Some analysis: [root@p8z68 rolf]# mount /dev/sde2 /mnt/disk [root@p8z68 rolf]# mount --bind /dev /mnt/disk/dev/ [root@p8z68 rolf]# mount --bind /sys /mnt/disk/sys/ [root@p8z68 rolf]# mount --bind /proc /mnt/disk/proc/ [root@p8z68 rolf]# ll /mnt/disk/boot/memtest.bin -rw-r--r-- 1 root root 176760 Oct 19 2012 /mnt/disk/boot/memtest.bin [root@p8z68 rolf]# ll /boot/memtest.bin -rwxr-xr-x 1 root root 182704 Sep 21 2014 /boot/memtest.bin* [root@p8z68 rolf]# chroot /mnt/disk [root@p8z68 /]# rpm -qf /boot/memtest.bin memtest86+-4.20-2-rosa2012.1.x86_64 [root@p8z68 /]# urpmq --sources memtest86+ http://mirror.rosalab.ru/rosa2012.1/repository/x86_64/media/main/release/memtest86+-4.20-2-rosa2012.1.x86_64.rpm [root@p8z68 /]# cat /etc/release ROSA Desktop.Fresh release 2012.1 (Desktop) for x86_64 There is a CD iso for version 5.01 at memtest.org http://memtest.org/download/5.01/memtest86+-5.01.iso.gz [root@p8z68 memtest]# ll memtest86+-5.01.iso -rw-r--r-- 1 rolf audio 1839104 Aug 3 2014 memtest86+-5.01.iso Burned to CD that boots and runs on this machine. The mounted iso has /boot and there is what looks like a floppy image inside [root@p8z68 memtest]# ll /mnt/disk/boot/ total 1442 -r-xr-xr-x 1 root root 2048 Aug 10 2013 boot.cat* -r-xr-xr-x 1 root root 1474560 Aug 10 2013 memtest.img* FWIW, I tried putting memtest.img in MGA5 /boot, adding to menu.lst, but that does not work. At google, it looks like grub2 can boot from an iso, I'm using legacy grub, but memtest.bin ought to work; 4.20 does. Assigning to all packagers collectively, since there is no maintainer for this package. CC:
(none) =>
marja11 I've seen this on mga6 Source RPM:
memtest86+-5.01-5.mga5.src.rpm =>
memtest86+-5.01-5.mga5.src.rpm, memtest86+-5.01-10.mga6.src.rpm
Thierry Vignaud
2016-05-31 14:07:35 CEST
Summary:
memtest does not boot from legacy grub menu entry =>
memtest does not boot from legacy grub menu entry (immediate reboot)
Morgan Leijström
2019-08-07 10:33:00 CEST
CC:
(none) =>
fri (In reply to Rolf Pedersen from comment #1) > I would say the problem lies with the newer memtest.bin or the interaction > with my hardware, perhaps. This problem is there since memtest5.x for some hardware. You can still install MGA3 memtest which is version 4.20 and works everywhere. The problem is not in GRUB, it is the memtest86 code that segfaults when built with a recent gcc on some CPUs. CC:
(none) =>
lists.jjorge
Javier Díaz
2020-03-17 11:13:01 CET
CC:
(none) =>
javier_diaz I confirm the problem here, on a Lenovo M93p, CPU is i7 4770. Same behaviour. CC:
(none) =>
mageia Sorry, forgot to mention: I'm running an up to date MGA7 Just tested memtest86+ from cauldron: still fails. installed this one: http://mirrors.kernel.org/mageia/distrib/cauldron/x86_64/media/core/release/memtest86%2B-5.31-1.mga8.x86_64.rpm and still reboots directly. Note: in bug #25232 Pcmemtest is mentioned, a fork/rewrite of memtest86+, also present in Cauldron, which works in my case. should we just close this one, as memtest is dropped from cauldron? CC:
(none) =>
mageia Yes, closing as fixed. We will not release new Mageia 7 isos, and pcmemtest is working on Mageia 8 ISOs. If any problem with pcmemtest on Mageia 8 ISOs, please file a new bug. Resolution:
(none) =>
FIXED |