Red Hat Bugzilla – Bug 625860
elf-memtest x86_64 doesn't boot
Last modified: 2014-06-18 04:02:48 EDT
Description of problem:
Trying to boot elf-memtest86+-4.10 from grub fails with
"Error 13: Invalid or unsupported executable format" if I install the x86_64 rpm. Installing the i686 rpm instead works fine (the x86_64.rpm has always contained 32bit binaries anyway).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install memtest86+.x86_64
2. run /usr/sbin/memtest-setup
3. Reboot and choose Memtest86+ in grub
Error 13: Invalid or unsupported executable format
In Fedora 12 (and the Fedora 13 .i686.rpm), the memtest and elf-memtest image files are about the same size, and elf-memtest works. In Fedora 13 x86_64, elf-memtest is about 1MB larger, and doesn't work.
This is possibly due to the version of binutils in f13 - I built memtest86+-4.10-2.fc13 on Fedora 13 x86_64 but using binutils-22.214.171.124.14-37.fc12, and memtest and memtest.bin end up about the same size (but I didn't test them).
*** This bug has been marked as a duplicate of bug 620846 ***
Created attachment 472284 [details]
.spec file patch to use '-z max-page-size=0x1000' on x86_64 links of the ELF image
[oops... wrong bug for attachment... see https://bugzilla.redhat.com/show_bug.cgi?id=620846]