Description of problem: After using command-line DNF System Upgrade to upgrade a UEFI/EFI system to Fedora 43, the memtest86+ grub2 entry no longer works. It either generates a blank screen (newer systems) or reboots (circa 2014 system). It still works fine on a system using "legacy" boot. A work-around for those who need to test memory is to grab the memtest86+ 8.00 ISO file, and boot it from external media. That still works in UEFI/EFI mode. Version-Release number of selected component (if applicable): Fedora 43 and memtest86+ 7.20 How reproducible: Each time Steps to Reproduce: 1. Install memtest86+ on a Fedora 42 system 2. Use DNF System Upgrade to bring that system to Fedora 43 3. Reboot and choose memtest86+ from the grub2 menu Actual results: system freeze or reboot Expected results: The memtest86+ progress screen (white letters on blue background, basic VGA graphics) Additional info: supplied on request
Thanks for the report. I've been able to reproduce: root@fedora:/boot/loader/entries# ls -al total 28 drwx------. 2 root root 4096 Dec 7 10:25 . drwxr-xr-x. 3 root root 4096 Dec 7 02:23 .. -rw-r--r--. 1 root root 155 Dec 7 10:25 83c895aa79944050b683d1b7a0f1eaec-0-memtest86+.conf -rw-r--r--. 1 root root 417 Dec 7 10:25 83c895aa79944050b683d1b7a0f1eaec-0-rescue.conf -rw-r--r--. 1 root root 365 Dec 7 10:25 83c895aa79944050b683d1b7a0f1eaec-6.14.0-63.fc42.x86_64.conf -rw-r--r--. 1 root root 369 Dec 7 10:25 83c895aa79944050b683d1b7a0f1eaec-6.17.9-200.fc42.x86_64.conf -rw-r--r--. 1 root root 368 Dec 7 10:25 83c895aa79944050b683d1b7a0f1eaec-6.17.9-300.fc43.x86_64.conf root@fedora:/boot/loader/entries# cat 83c895aa79944050b683d1b7a0f1eaec-0-memtest86+.conf title Memory test (memtest86+x64.efi) version 0-7.20-memtest86+ linux /memtest86+x64.efi grub_users $grub_users grub_arg --unrestricted grub_class memtest root@fedora:/boot/loader/entries# cat 83c895aa79944050b683d1b7a0f1eaec-6.17.9-300.fc43.x86_64.conf title Fedora Linux (6.17.9-300.fc43.x86_64) 43 (Workstation Edition) version 6.17.9-300.fc43.x86_64 linux /vmlinuz-6.17.9-300.fc43.x86_64 initrd /initramfs-6.17.9-300.fc43.x86_64.img $tuned_initrd options root=UUID=f4b47a72-0198-46c1-82fa-10918313f636 ro rootflags=subvol=root rhgb quiet $tuned_params grub_users $grub_users grub_arg --unrestricted grub_class fedora root@fedora:/boot/loader/entries# ll /boot total 376084 -rw-r--r--. 1 root root 283136 Mar 23 2025 config-6.14.0-63.fc42.x86_64 -rw-r--r--. 1 root root 292971 Nov 23 17:00 config-6.17.9-200.fc42.x86_64 -rw-r--r--. 1 root root 292971 Nov 23 17:00 config-6.17.9-300.fc43.x86_64 drwx------. 4 root root 4096 Dec 31 1969 efi drwx------. 3 root root 4096 Dec 7 10:33 grub2 -rw-------. 1 root root 176163377 Dec 7 02:24 initramfs-0-rescue-83c895aa79944050b683d1b7a0f1eaec.img -rw-------. 1 root root 26838200 Dec 7 09:24 initramfs-6.14.0-63.fc42.x86_64.img -rw-------. 1 root root 36559065 Dec 7 10:03 initramfs-6.17.9-200.fc42.x86_64.img -rw-------. 1 root root 40317877 Dec 7 10:25 initramfs-6.17.9-300.fc43.x86_64.img drwxr-xr-x. 3 root root 4096 Dec 7 02:23 loader drwx------. 2 root root 16384 Dec 7 02:21 lost+found -rw-r--r--. 1 root root 157184 Jul 23 18:00 memtest86+x64.efi lrwxrwxrwx. 1 root root 45 Dec 7 02:23 symvers-6.14.0-63.fc42.x86_64.xz -> /lib/modules/6.14.0-63.fc42.x86_64/symvers.xz lrwxrwxrwx. 1 root root 46 Dec 7 10:03 symvers-6.17.9-200.fc42.x86_64.xz -> /lib/modules/6.17.9-200.fc42.x86_64/symvers.xz lrwxrwxrwx. 1 root root 46 Dec 7 10:25 symvers-6.17.9-300.fc43.x86_64.xz -> /lib/modules/6.17.9-300.fc43.x86_64/symvers.xz -rw-r--r--. 1 root root 11588933 Mar 23 2025 System.map-6.14.0-63.fc42.x86_64 -rw-r--r--. 1 root root 11126755 Nov 23 17:00 System.map-6.17.9-200.fc42.x86_64 -rw-r--r--. 1 root root 11126755 Nov 23 17:00 System.map-6.17.9-300.fc43.x86_64 -rwxr-xr-x. 1 root root 16968040 Dec 7 02:23 vmlinuz-0-rescue-83c895aa79944050b683d1b7a0f1eaec -rwxr-xr-x. 1 root root 16968040 Mar 23 2025 vmlinuz-6.14.0-63.fc42.x86_64 -rwxr-xr-x. 1 root root 18180136 Nov 23 17:00 vmlinuz-6.17.9-200.fc42.x86_64 -rwxr-xr-x. 1 root root 18180136 Nov 23 17:00 vmlinuz-6.17.9-300.fc43.x86_64 It's strange, everything looks good but it's not working.
I've tried booting the EFI from the F42 package and it also fails. From what I can tell, everything is configured correctly. The failed boot seems like we never get to memtest?: Booting a command list script/lexer.c:336:lexer: token 288 text [load_video] script/lexer.c:336:lexer: token 259 text [] script/lexer.c:336:lexer: token 0 text [] kern/verifiers.c:212:verify: string: load_video, type: 2 kern/verifiers.c:212:verify: string: [ xy = xy ], type: 2 kern/verifiers.c:212:verify: string: insmod all_video, type: 2 script/lexer.c:336:lexer: token 288 text [set] script/lexer.c:336:lexer: token 289 text [gfxpayload=keep] script/lexer.c:336:lexer: token 259 text [] script/lexer.c:336:lexer: token 0 text [] kern/verifiers.c:212:verify: string: set gfxpayload=keep, type: 2 script/lexer.c:336:lexer: token 288 text [insmod] script/lexer.c:336:lexer: token 288 text [gzio] script/lexer.c:336:lexer: token 259 text [] script/lexer.c:336:lexer: token 0 text [] kern/verifiers.c:212:verify: string: insmod gzio, type: 2 script/lexer.c:336:lexer: token 288 text [linux] script/lexer.c:336:lexer: token 289 text [(] script/lexer.c:336:lexer: token 289 text [root] script/lexer.c:336:lexer: token 289 text [)/memtest86+x64.efi] script/lexer.c:336:lexer: token 259 text [] script/lexer.c:336:lexer: token 0 text [] commands/wildcard.c:549:expand: no expansion needed commands/wildcard.c:608:expand: paths[0] = `(hd0,gpt2)/memtest86+x64.efi' kern/verifiers.c:212:verify: string: linux (hd0,gpt2)/memtest86+x64.efi, type: 2 kern/file.c:78:file: Opening `(hd0,gpt2)/memtest86+x64.efi' ... kern/device.c:37:device: opening device hd0,gpt2 kern/disk.c:200:disk: Opening `hd0,gpt2'... disk/efi/efidisk.c:495:efidisk: opening hd0 disk/efi/efidisk.c:524:efidisk: m = 0x7d03e4c0, last block = 63fffff, block size = 200, io align = 0 disk/efi/efidisk.c:542:efidisk: opening hd0 succeeded partmap/gpt.c:93:gpt: Read a valid GPT header partmap/gpt.c:115:gpt: GPT entry 0: start=2048, length=1228800 partmap/gpt.c:115:gpt: GPT entry 1: start=1230848, length=2097152 kern/disk.c:292:disk: Opening `hd0,gpt2' succeeded. kern/fs.c:56:fs: Detecting xfs... fs/xfs.c:1046:xfs: Reading sb disk/efi/efidisk.c:616:efidisk: reading 0x40 sectors at the sector 0x12c800 from hd0 fs/xfs.c:288:xfs: Validating superblock kern/fs.c:77:fs: error: ../../grub-core/fs/xfs.c:294:not a XFS filesystem. kern/fs.c:80:fs: error: ../../grub-core/fs/xfs.c:294:not a XFS filesystem. kern/fs.c:81:fs: xfs detection failed. kern/fs.c:56:fs: Detecting squash4... kern/fs.c:77:fs: error: ../../grub-core/fs/squash4.c:398:not squash4. kern/fs.c:80:fs: error: ../../grub-core/fs/squash4.c:398:not squash4. kern/fs.c:81:fs: squash4 detection failed. kern/fs.c:56:fs: Detecting iso9660... disk/efi/efidisk.c:616:efidisk: reading 0x40 sectors at the sector 0x12c840 from hd0 kern/fs.c:77:fs: error: ../../grub-core/fs/iso9660.c:522:not a ISO9660 filesystem. kern/fs.c:80:fs: error: ../../grub-core/fs/iso9660.c:522:not a ISO9660 filesystem. kern/fs.c:81:fs: iso9660 detection failed. kern/fs.c:56:fs: Detecting hfsplus... kern/fs.c:77:fs: error: ../../grub-core/fs/hfsplus.c:306:not a HFS+ filesystem. kern/fs.c:80:fs: error: ../../grub-core/fs/hfsplus.c:306:not a HFS+ filesystem. kern/fs.c:81:fs: hfsplus detection failed. kern/fs.c:56:fs: Detecting fat... kern/fs.c:77:fs: error: ../../grub-core/fs/fat.c:448:not a FAT filesystem. kern/fs.c:80:fs: error: ../../grub-core/fs/fat.c:448:not a FAT filesystem. kern/fs.c:81:fs: fat detection failed. kern/fs.c:56:fs: Detecting f2fs... kern/fs.c:77:fs: error: ../../grub-core/fs/f2fs.c:840:not a F2FS filesystem (no superblock). kern/fs.c:80:fs: error: ../../grub-core/fs/f2fs.c:840:not a F2FS filesystem (no superblock). kern/fs.c:81:fs: f2fs detection failed. kern/fs.c:56:fs: Detecting ext2... disk/efi/efidisk.c:616:efidisk: reading 0x40 sectors at the sector 0x12cc80 from hd0 disk/efi/efidisk.c:616:efidisk: reading 0x40 sectors at the sector 0x134c80 from hd0 kern/file.c:143:file: Running GRUB_FILE_FILTER_VERIFY file filter disk/efi/efidisk.c:616:efidisk: reading 0x40 sectors at the sector 0x16ea80 from hd0 disk/efi/efidisk.c:616:efidisk: reading 0x40 sectors at the sector 0x16eac0 from hd0 disk/efi/efidisk.c:616:efidisk: reading 0x40 sectors at the sector 0x16eb00 from hd0 loader/i386/efi/linux.c:380:linux: nx is not supported by this kernel loader/i386/efi/linux.c:384:linux: original lh is at 0x7a8ebe40er loader/i386/efi/linux.c:386:linux: checking lh->boot_flagfi' succeeded. loader/i386/efi/linux.c:393:linux: checking lh->setup_sects sector 0x16ea40 from hd0 loader/i386/efi/linux.c:400:linux: checking lh->version loader/i386/efi/linux.c:407:linux: checking lh->handover_offset loader/i386/efi/linux.c:415:linux: checking lh->xloadflags loader/i386/efi/linux.c:443:linux: Loading kernel above 4GB is not supported loader/i386/efi/linux.c:136:linux: Trying to allocate 1 pages from 0x7fffffff loader/i386/efi/linux.c:146:linux: Allocated at 0x7c1d7000 kern/efi/mm.c:917:nx: translating set_attrs from 0x6 to 0x4000 kern/efi/mm.c:919:nx: translating clear_attrs from 0x1 to 0x22000 kern/efi/mm.c:932:nx: set +rw -x on 0x7c1d7000-0x7c1d7fff before:rw- after:rw- loader/i386/efi/linux.c:452:linux: params = 0x7c1d7000 loader/i386/efi/linux.c:457:linux: copying 119 bytes from 0x7a8ec031 to 0x7c1d71f1 loader/i386/efi/linux.c:468:linux: new lh is at 0x7c1d7000 loader/i386/efi/linux.c:470:linux: setting up cmdline loader/i386/efi/linux.c:136:linux: Trying to allocate 1 pages from 0x7fffffff loader/i386/efi/linux.c:146:linux: Allocated at 0x7c1d6000 kern/efi/mm.c:917:nx: translating set_attrs from 0x6 to 0x4000 kern/efi/mm.c:919:nx: translating clear_attrs from 0x1 to 0x22000 kern/efi/mm.c:932:nx: set +rw -x on 0x7c1d6000-0x7c1d6fff before:rw- after:rw- loader/i386/efi/linux.c:476:linux: cmdline = 0x7c1d6000 kern/verifiers.c:212:verify: string: (hd0,gpt2)/memtest86+x64.efi, type: 0 loader/i386/efi/linux.c:484:linux: cmdline:BOOT_IMAGE=(hd0,gpt2)/memtest86+x64.efi loader/i386/efi/linux.c:485:linux: setting lh->cmd_line_ptr to 0x7c1d6000 loader/i386/efi/linux.c:498:linux: handover_offset: 0x00000010 loader/i386/efi/linux.c:510:linux: lh->pref_address: 0x100000 loader/i386/efi/linux.c:519:linux: Trying to allocate kernel mem loader/i386/efi/linux.c:136:linux: Trying to allocate 112 pages from 0x100000 loader/i386/efi/linux.c:540:linux: setting lh->ext_loader_{type,ver} = {0x00,0x02} kern/file.c:229:file: Closing `(hd0,gpt2)/memtest86+x64.efi' ... kern/disk.c:305:disk: Closing `hd0'.ear_attrs from 0x1 to 0x22000 disk/efi/efidisk.c:551:efidisk: closing hd00-0x16ffff before:rwx after:rw- kern/disk.c:319:disk: Closing `hd0' succeeded.= 0x100000 kern/file.c:237:file: Closing `(hd0,gpt2)/memtest86+x64.efi' succeeded.00 script/lexer.c:336:lexer: token 259 text [ lh->type_of_loader = 0x06] script/lexer.c:336:lexer: token 0 text [] script/lexer.c:336:lexer: token 259 text [] script/lexer.c:336:lexer: token 0 text [] loader/efi/linux.c:348:linux: kernel_address: 0x100000 handover_offset: 0x10 params: 0x7c1d7000 loader/efi/linux.c:241:nx: coff_header 0x10007e machine 00008664 kern/efi/mm.c:871:nx: grub_get_mem_attrs called on 0x100600-0x1261ff and attrs 0x7ee74038 kern/efi/mm.c:905:nx: grub_update_mem_attrs called on 0x100600-0x1261ff +rwx - kern/efi/mm.c:871:nx: grub_get_mem_attrs called on 0x100600-0x1015ff and attrs 0x7ee740f0 loader/efi/linux.c:287:nx: permissions for section .text 0x100600 are --- kern/efi/mm.c:871:nx: grub_get_mem_attrs called on 0x126200-0x1263ff and attrs 0x7ee74038 kern/efi/mm.c:905:nx: grub_update_mem_attrs called on 0x126200-0x1263ff +rwx - kern/efi/mm.c:871:nx: grub_get_mem_attrs called on 0x126200-0x1271ff and attrs 0x7ee740f0 loader/efi/linux.c:287:nx: permissions for section .reloc 0x126200 are --- kern/efi/mm.c:871:nx: grub_get_mem_attrs called on 0x126400-0x1265ff and attrs 0x7ee74038 kern/efi/mm.c:905:nx: grub_update_mem_attrs called on 0x126400-0x1265ff +rwx - kern/efi/mm.c:871:nx: grub_get_mem_attrs called on 0x126400-0x1273ff and attrs 0x7ee740f0 loader/efi/linux.c:287:nx: permissions for section .sbat 0x126400 are --- loader/efi/linux.c:303:nx: Setting attributes for stack at 0x7ee74000-0x7ee74fff to rwx kern/efi/mm.c:917:nx: translating set_attrs from 0x7 to 0x0 kern/efi/mm.c:919:nx: translating clear_attrs from 0x0 to 0x26000 kern/efi/mm.c:932:nx: set +rwx - on 0x7ee74000-0x7ee74fff before:rw- after:rwx loader/efi/linux.c:311:nx: permissions for 0x7ee74000 are rwx PageFaultExitBoot: Page fault fixups needed (NX: 2, RW: 0). PageFaultExitBoot: The guest OS boot chain is not NX clean. PageFaultExitBoot: Applying global page table fixup (saw NX faults).
Jonathan, I've still got a couple F42 EFI systems that boot into memtest86+ just fine. I can leave them on F42 in case you'd like some information from them. However, they did not start life as F42 installs. They were dnf-upgraded from earlier versions.
Yup, keeping them as F42 would be helpful. I've got a set of VM snapshots now that can reproduce the issue. I'm unable to boot the upstream published EFI either: (Binary Files (i586/x86_64/LA64) on https://www.memtest.org/) Booting a command list script/lexer.c:336:lexer: token 288 text [load_video] script/lexer.c:336:lexer: token 259 text [] script/lexer.c:336:lexer: token 0 text [] kern/verifiers.c:212:verify: string: load_video, type: 2 kern/verifiers.c:212:verify: string: [ xy = xy ], type: 2 kern/verifiers.c:212:verify: string: insmod all_video, type: 2 script/lexer.c:336:lexer: token 288 text [set] script/lexer.c:336:lexer: token 289 text [gfxpayload=keep] script/lexer.c:336:lexer: token 259 text [] script/lexer.c:336:lexer: token 0 text [] kern/verifiers.c:212:verify: string: set gfxpayload=keep, type: 2 script/lexer.c:336:lexer: token 288 text [insmod] script/lexer.c:336:lexer: token 288 text [gzio] script/lexer.c:336:lexer: token 259 text [] script/lexer.c:336:lexer: token 0 text [] kern/verifiers.c:212:verify: string: insmod gzio, type: 2 script/lexer.c:336:lexer: token 288 text [linux] script/lexer.c:336:lexer: token 289 text [(] script/lexer.c:336:lexer: token 289 text [root] script/lexer.c:336:lexer: token 289 text [)/memtest-8-upstream.efi] script/lexer.c:336:lexer: token 259 text [] script/lexer.c:336:lexer: token 0 text [] commands/wildcard.c:549:expand: no expansion needed commands/wildcard.c:608:expand: paths[0] = `(hd0,gpt2)/memtest-8-upstream.efi' kern/verifiers.c:212:verify: string: linux (hd0,gpt2)/memtest-8-upstream.efi, type: 2 kern/file.c:78:file: Opening `(hd0,gpt2)/memtest-8-upstream.efi' ... kern/device.c:37:device: opening device hd0,gpt2 kern/disk.c:200:disk: Opening `hd0,gpt2'... disk/efi/efidisk.c:495:efidisk: opening hd0 disk/efi/efidisk.c:524:efidisk: m = 0x7d03e4c0, last block = 63fffff, block size = 200, io align = 0 disk/efi/efidisk.c:542:efidisk: opening hd0 succeeded partmap/gpt.c:93:gpt: Read a valid GPT header partmap/gpt.c:115:gpt: GPT entry 0: start=2048, length=1228800 partmap/gpt.c:115:gpt: GPT entry 1: start=1230848, length=2097152 kern/disk.c:292:disk: Opening `hd0,gpt2' succeeded. kern/fs.c:56:fs: Detecting xfs... fs/xfs.c:1046:xfs: Reading sb disk/efi/efidisk.c:616:efidisk: reading 0x40 sectors at the sector 0x12c800 from hd0 fs/xfs.c:288:xfs: Validating superblock kern/fs.c:77:fs: error: ../../grub-core/fs/xfs.c:294:not a XFS filesystem. kern/fs.c:80:fs: error: ../../grub-core/fs/xfs.c:294:not a XFS filesystem. kern/fs.c:81:fs: xfs detection failed. kern/fs.c:56:fs: Detecting squash4... kern/fs.c:77:fs: error: ../../grub-core/fs/squash4.c:398:not squash4. kern/fs.c:80:fs: error: ../../grub-core/fs/squash4.c:398:not squash4. kern/fs.c:81:fs: squash4 detection failed. kern/fs.c:56:fs: Detecting iso9660... disk/efi/efidisk.c:616:efidisk: reading 0x40 sectors at the sector 0x12c840 from hd0 kern/fs.c:77:fs: error: ../../grub-core/fs/iso9660.c:522:not a ISO9660 filesystem. kern/fs.c:80:fs: error: ../../grub-core/fs/iso9660.c:522:not a ISO9660 filesystem. kern/fs.c:81:fs: iso9660 detection failed. kern/fs.c:56:fs: Detecting hfsplus... kern/fs.c:77:fs: error: ../../grub-core/fs/hfsplus.c:306:not a HFS+ filesystem. kern/fs.c:80:fs: error: ../../grub-core/fs/hfsplus.c:306:not a HFS+ filesystem. kern/fs.c:81:fs: hfsplus detection failed. kern/fs.c:56:fs: Detecting fat... kern/fs.c:77:fs: error: ../../grub-core/fs/fat.c:448:not a FAT filesystem. kern/fs.c:80:fs: error: ../../grub-core/fs/fat.c:448:not a FAT filesystem. kern/fs.c:81:fs: fat detection failed. kern/fs.c:56:fs: Detecting f2fs... kern/fs.c:77:fs: error: ../../grub-core/fs/f2fs.c:840:not a F2FS filesystem (no superblock). kern/fs.c:80:fs: error: ../../grub-core/fs/f2fs.c:840:not a F2FS filesystem (no superblock). kern/fs.c:81:fs: f2fs detection failed. kern/fs.c:56:fs: Detecting ext2... disk/efi/efidisk.c:616:efidisk: reading 0x40 sectors at the sector 0x12cc80 from hd0 disk/efi/efidisk.c:616:efidisk: reading 0x40 sectors at the sector 0x134c80 from hd0 kern/file.c:143:file: Running GRUB_FILE_FILTER_VERIFY file filter disk/efi/efidisk.c:616:efidisk: reading 0x40 sectors at the sector 0x16cec0 from hd0 disk/efi/efidisk.c:616:efidisk: reading 0x40 sectors at the sector 0x16cf00 from hd0 disk/efi/efidisk.c:616:efidisk: reading 0x40 sectors at the sector 0x16cf40 from hd0 disk/efi/efidisk.c:616:efidisk: reading 0x40 sectors at the sector 0x16cf80 from hd0 loader/i386/efi/linux.c:380:linux: nx is not supported by this kernel loader/i386/efi/linux.c:384:linux: original lh is at 0x7a8f3f00i' succeeded. loader/i386/efi/linux.c:386:linux: checking lh->boot_flaghe sector 0x16ce80 from hd0 loader/i386/efi/linux.c:393:linux: checking lh->setup_sects loader/i386/efi/linux.c:400:linux: checking lh->version loader/i386/efi/linux.c:407:linux: checking lh->handover_offset loader/i386/efi/linux.c:415:linux: checking lh->xloadflags loader/i386/efi/linux.c:443:linux: Loading kernel above 4GB is not supported loader/i386/efi/linux.c:136:linux: Trying to allocate 1 pages from 0x7fffffff loader/i386/efi/linux.c:146:linux: Allocated at 0x7c1d7000 kern/efi/mm.c:917:nx: translating set_attrs from 0x6 to 0x4000 kern/efi/mm.c:919:nx: translating clear_attrs from 0x1 to 0x22000 kern/efi/mm.c:932:nx: set +rw -x on 0x7c1d7000-0x7c1d7fff before:rw- after:rw- loader/i386/efi/linux.c:452:linux: params = 0x7c1d7000 loader/i386/efi/linux.c:457:linux: copying 119 bytes from 0x7a8f40f1 to 0x7c1d71f1 loader/i386/efi/linux.c:468:linux: new lh is at 0x7c1d7000 loader/i386/efi/linux.c:470:linux: setting up cmdline loader/i386/efi/linux.c:136:linux: Trying to allocate 1 pages from 0x7fffffff loader/i386/efi/linux.c:146:linux: Allocated at 0x7c1d6000 kern/efi/mm.c:917:nx: translating set_attrs from 0x6 to 0x4000 kern/efi/mm.c:919:nx: translating clear_attrs from 0x1 to 0x22000 kern/efi/mm.c:932:nx: set +rw -x on 0x7c1d6000-0x7c1d6fff before:rw- after:rw- loader/i386/efi/linux.c:476:linux: cmdline = 0x7c1d6000 kern/verifiers.c:212:verify: string: (hd0,gpt2)/memtest-8-upstream.efi, type: 0 loader/i386/efi/linux.c:484:linux: cmdline:BOOT_IMAGE=(hd0,gpt2)/memtest-8-upstream.efi loader/i386/efi/linux.c:485:linux: setting lh->cmd_line_ptr to 0x7c1d6000 loader/i386/efi/linux.c:498:linux: handover_offset: 0x00000010 loader/i386/efi/linux.c:510:linux: lh->pref_address: 0x100000 loader/i386/efi/linux.c:519:linux: Trying to allocate kernel mem loader/i386/efi/linux.c:535:linux: setting lh->type_of_loader = 0x06 0x100000 loader/i386/efi/linux.c:540:linux: setting lh->ext_loader_{type,ver} = {0x00,0x02} kern/file.c:229:file: Closing `(hd0,gpt2)/memtest-8-upstream.efi' ... kern/disk.c:305:disk: Closing `hd0'.ear_attrs from 0x1 to 0x22000 disk/efi/efidisk.c:551:efidisk: closing hd00-0x170fff before:rwx after:rw- kern/disk.c:319:disk: Closing `hd0' succeeded.= 0x100000 kern/file.c:237:file: Closing `(hd0,gpt2)/memtest-8-upstream.efi' succeeded. script/lexer.c:336:lexer: token 259 text [] script/lexer.c:336:lexer: token 0 text [] script/lexer.c:336:lexer: token 259 text [] script/lexer.c:336:lexer: token 0 text [] loader/efi/linux.c:348:linux: kernel_address: 0x100000 handover_offset: 0x10 params: 0x7c1d7000 loader/efi/linux.c:241:nx: coff_header 0x100475 machine 00008664 kern/efi/mm.c:871:nx: grub_get_mem_attrs called on 0x100600-0x1271ff and attrs 0x7ee74038 kern/efi/mm.c:905:nx: grub_update_mem_attrs called on 0x100600-0x1271ff +rwx - kern/efi/mm.c:871:nx: grub_get_mem_attrs called on 0x100600-0x1015ff and attrs 0x7ee740f0 loader/efi/linux.c:287:nx: permissions for section .text 0x100600 are --- kern/efi/mm.c:871:nx: grub_get_mem_attrs called on 0x127200-0x1273ff and attrs 0x7ee74038 kern/efi/mm.c:905:nx: grub_update_mem_attrs called on 0x127200-0x1273ff +rwx - kern/efi/mm.c:871:nx: grub_get_mem_attrs called on 0x127200-0x1281ff and attrs 0x7ee740f0 loader/efi/linux.c:287:nx: permissions for section .reloc 0x127200 are --- kern/efi/mm.c:871:nx: grub_get_mem_attrs called on 0x127400-0x1275ff and attrs 0x7ee74038 kern/efi/mm.c:905:nx: grub_update_mem_attrs called on 0x127400-0x1275ff +rwx - kern/efi/mm.c:871:nx: grub_get_mem_attrs called on 0x127400-0x1283ff and attrs 0x7ee740f0 loader/efi/linux.c:287:nx: permissions for section .sbat 0x127400 are --- loader/efi/linux.c:303:nx: Setting attributes for stack at 0x7ee74000-0x7ee74fff to rwx kern/efi/mm.c:917:nx: translating set_attrs from 0x7 to 0x0 kern/efi/mm.c:919:nx: translating clear_attrs from 0x0 to 0x26000 kern/efi/mm.c:932:nx: set +rwx - on 0x7ee74000-0x7ee74fff before:rw- after:rwx loader/efi/linux.c:311:nx: permissions for 0x7ee74000 are rwx PageFaultExitBoot: Page fault fixups needed (NX: 2, RW: 0). PageFaultExitBoot: The guest OS boot chain is not NX clean. PageFaultExitBoot: Applying global page table fixup (saw NX faults).
The stand-alone memtest86+ 8.00 64-bit ISO is working fine for me as a USB boot image onto EFI systems, HP and Dell, some recent, one very old, 2013-vintage. When running, it says "8.00.778cf.x64" in the lower-right corner. Here's some info on the files that I used: $ ls -l total 6296 -rw-r--r--. 1 sking sking 6209536 Nov 23 17:53 memtest.iso -rw-r--r--. 1 sking sking 235014 Dec 1 11:29 mt86plus_8.00_x86_64.iso.zip $ sha256sum * f2553defc20ad6fac95269d88e2e73635972a02d19b9a8e632302c700d651ded memtest.iso df242b91b55571d5126e8236ce7942851b7015331aaf48cfb440a8f9d2c4cc6f mt86plus_8.00_x86_64.iso.zip
(In reply to Stan King from comment #5) > The stand-alone memtest86+ 8.00 64-bit ISO is working fine for me as a USB > boot image onto EFI systems, HP and Dell, some recent, one very old, > 2013-vintage. Please also test /usr/share/memtest86+/memtest86+x64.iso. I suspect it'll work fine with the above boot chain. Based on the initial testing, I'm suspecting a boot failure in the Fedora bootloader stack. The reason the ISOs work is they are essentially bringing their own bootloader. These bootloaders are handed off to before the Fedora bootloader stack is initialized.
Indeed, the /usr/share/memtest86+/memtest86+x64.iso file from Fedora 43 works fine as a stand-alone EFI boot image from an external USB drive. Verified on newish and old HP systems, and a 5-year old Dell system.
Please test the memtest86+-8.0 in rawhide. If it doesn't work we may need to use different build target, e.g. grub-*? Unfortunately, I don't have currently EFI system handy to test.
(In reply to Jaroslav Škarvada from comment #8) > Please test the memtest86+-8.0 in rawhide. If it doesn't work we may need to > use different build target, e.g. grub-*? Unfortunately, I don't have > currently EFI system handy to test. Mr. Škarvada, I've used the dnf5 upgrade plugin to bring a test system to rawhide, but I only see the memtest86+.x86_64 7.20-3.fc43 package, and nothing of a 8.X nature. Is there something additional I need to do to acquire that package? This is the first time I've used a rawhide version, so I may be unaware of any special package update procedures required. From "rpm -qa", the packages are split roughly half-and-half between fc43 and fc44.
(In reply to Stan King from comment #9) > (In reply to Jaroslav Škarvada from comment #8) > > Please test the memtest86+-8.0 in rawhide. If it doesn't work we may need to > > use different build target, e.g. grub-*? Unfortunately, I don't have > > currently EFI system handy to test. > > Mr. Škarvada, I've used the dnf5 upgrade plugin to bring a test system to > rawhide, but I only see the memtest86+.x86_64 7.20-3.fc43 package, and > nothing of a 8.X nature. Is there something additional I need to do to > acquire that package? This is the first time I've used a rawhide version, > so I may be unaware of any special package update procedures required. From > "rpm -qa", the packages are split roughly half-and-half between fc43 and > fc44. https://koji.fedoraproject.org/koji/buildinfo?buildID=2886851 IMHO there shouldn't be distro version specific requirements, so the package should be probably also installable on f43.
Results of testing: I tried the 8.00 version now available in rawhide/fc44, and it did not work. In the 8.00 ISO distributed by www.memtest.org, there is a file with the same size, but not byte-for-byte identical with /boot/memtest86+x64.efi, so I substituted that and gave it a try. It also did not work. On this particular system, whose BIOS dates from 04/10/2019 (Hewlett-Packard K01 v03.08), the failure mode is a pause for a few seconds, then a reboot.
(In reply to Jaroslav Škarvada from comment #8) > Please test the memtest86+-8.0 in rawhide. If it doesn't work we may need to > use different build target, e.g. grub-*? Unfortunately, I don't have > currently EFI system handy to test. Jaroslav, We've confirmed this is an issue with the Fedora bootloader from F43+ being able to boot this EFI. I haven't had time to dig into it with detail so I haven't filed any bugs.
Boots: jon@fedora:~$ uname -r 6.17.13-200.fc42.x86_64 jon@fedora:~$ rpm -qa \*grub\*|sort grub2-common-2.12-32.fc42.noarch grub2-efi-ia32-2.12-32.fc42.x86_64 grub2-efi-ia32-cdboot-2.12-32.fc42.x86_64 grub2-efi-x64-2.12-32.fc42.x86_64 grub2-efi-x64-cdboot-2.12-32.fc42.x86_64 grub2-efi-x64-modules-2.12-32.fc42.noarch grub2-pc-2.12-32.fc42.x86_64 grub2-pc-modules-2.12-32.fc42.noarch grub2-tools-2.12-32.fc42.x86_64 grub2-tools-efi-2.12-32.fc42.x86_64 grub2-tools-extra-2.12-32.fc42.x86_64 grub2-tools-minimal-2.12-32.fc42.x86_64 grubby-8.40-82.fc42.x86_64 jon@fedora:~$ rpm -q memtest86+ memtest86+-7.20-2.fc42.x86_64 Doesn't boot: jon@fedora:~$ uname -r 6.17.12-300.fc43.x86_64 jon@fedora:~$ rpm -qa \*grub\*|sort grub2-common-2.12-40.fc43.noarch grub2-efi-ia32-2.12-40.fc43.x86_64 grub2-efi-ia32-cdboot-2.12-40.fc43.x86_64 grub2-efi-ia32-modules-2.12-40.fc43.noarch grub2-efi-x64-2.12-40.fc43.x86_64 grub2-efi-x64-cdboot-2.12-40.fc43.x86_64 grub2-efi-x64-modules-2.12-40.fc43.noarch grub2-pc-2.12-40.fc43.x86_64 grub2-pc-modules-2.12-40.fc43.noarch grub2-tools-2.12-40.fc43.x86_64 grub2-tools-efi-2.12-40.fc43.x86_64 grub2-tools-extra-2.12-40.fc43.x86_64 grub2-tools-minimal-2.12-40.fc43.x86_64 grubby-8.40-85.fc43.x86_64 jon@fedora:~$ rpm -q memtest86+ memtest86+-7.20-3.fc43.x86_64
Successfully boots on F43 after downgrading the bootloader stack to match F42: jon@fedora:~$ koji download-build --task-id 132733842 jon@fedora:~$ sudo dnf install grub2-common-2.12-32.fc43.noarch.rpm grub2-pc-modules-2.12-32.fc43.noarch.rpm grub2-tools-minimal-2.12-32.fc43.x86_64.rpm grub2-tools-2.12-32.fc43.x86_64.rpm grub2-tools-efi-2.12-32.fc43.x86_64.rpm grub2-tools-extra-2.12-32.fc43.x86_64.rpm grub2-tools-minimal-2.12-32.fc43.x86_64.rpm grub2-efi-ia32-2.12-32.fc43.x86_64.rpm grub2-efi-ia32-cdboot-2.12-32.fc43.x86_64.rpm grub2-efi-ia32-modules-2.12-32.fc43.noarch.rpm grub2-efi-x64-2.12-32.fc43.x86_64.rpm grub2-efi-x64-cdboot-2.12-32.fc43.x86_64.rpm grub2-efi-x64-modules-2.12-32.fc43.noarch.rpm grub2-pc-2.12-32.fc43.x86_64.rpm grub2-pc-modules-2.12-32.fc43.noarch.rpm grub2-tools-efi-2.12-32.fc43.x86_64.rpm grub2-tools-extra-2.12-32.fc43.x86_64.rpm grub2-efi-ia32-cdboot-2.12-32.fc43.x86_64.rpm grub2-efi-x64-cdboot-2.12-32.fc43.x86_64.rpm grub2-efi-x64-modules-2.12-32.fc43.noarch.rpm grub2-efi-ia32-modules-2.12-32.fc43.noarch.rpm Updating and loading repositories: Repositories loaded. Package Arch Version Reposi Size Downgrading: grub2-common noarch 1:2.12-32.fc43 @comma 6.1 MiB replacing grub2-common noarch 1:2.12-40.fc43 0e44b8 6.1 MiB grub2-efi-ia32 x86_64 1:2.12-32.fc43 @comma 5.2 MiB replacing grub2-efi-ia32 x86_64 1:2.12-40.fc43 0e44b8 5.2 MiB grub2-efi-ia32-cdboot x86_64 1:2.12-32.fc43 @comma 5.2 MiB replacing grub2-efi-ia32-cdboot x86_64 1:2.12-40.fc43 0e44b8 5.2 MiB grub2-efi-ia32-modules noarch 1:2.12-32.fc43 @comma 3.7 MiB replacing grub2-efi-ia32-modules noarch 1:2.12-40.fc43 0e44b8 3.7 MiB grub2-efi-x64 x86_64 1:2.12-32.fc43 @comma 6.1 MiB replacing grub2-efi-x64 x86_64 1:2.12-40.fc43 0e44b8 6.1 MiB grub2-efi-x64-cdboot x86_64 1:2.12-32.fc43 @comma 6.1 MiB replacing grub2-efi-x64-cdboot x86_64 1:2.12-40.fc43 0e44b8 6.1 MiB grub2-efi-x64-modules noarch 1:2.12-32.fc43 @comma 5.5 MiB replacing grub2-efi-x64-modules noarch 1:2.12-40.fc43 0e44b8 5.5 MiB grub2-pc x86_64 1:2.12-32.fc43 @comma 31.0 B replacing grub2-pc x86_64 1:2.12-40.fc43 0e44b8 31.0 B grub2-pc-modules noarch 1:2.12-32.fc43 @comma 3.2 MiB replacing grub2-pc-modules noarch 1:2.12-40.fc43 0e44b8 3.2 MiB grub2-tools x86_64 1:2.12-32.fc43 @comma 7.7 MiB replacing grub2-tools x86_64 1:2.12-40.fc43 0e44b8 7.7 MiB grub2-tools-efi x86_64 1:2.12-32.fc43 @comma 2.5 MiB replacing grub2-tools-efi x86_64 1:2.12-40.fc43 0e44b8 2.5 MiB grub2-tools-extra x86_64 1:2.12-32.fc43 @comma 5.0 MiB replacing grub2-tools-extra x86_64 1:2.12-40.fc43 0e44b8 5.0 MiB grub2-tools-minimal x86_64 1:2.12-32.fc43 @comma 3.0 MiB replacing grub2-tools-minimal x86_64 1:2.12-40.fc43 0e44b8 3.0 MiB jon@fedora:~$ rpm -qa grub\*|sort grub2-common-2.12-32.fc43.noarch grub2-efi-ia32-2.12-32.fc43.x86_64 grub2-efi-ia32-cdboot-2.12-32.fc43.x86_64 grub2-efi-ia32-modules-2.12-32.fc43.noarch grub2-efi-x64-2.12-32.fc43.x86_64 grub2-efi-x64-cdboot-2.12-32.fc43.x86_64 grub2-efi-x64-modules-2.12-32.fc43.noarch grub2-pc-2.12-32.fc43.x86_64 grub2-pc-modules-2.12-32.fc43.noarch grub2-tools-2.12-32.fc43.x86_64 grub2-tools-efi-2.12-32.fc43.x86_64 grub2-tools-extra-2.12-32.fc43.x86_64 grub2-tools-minimal-2.12-32.fc43.x86_64 grubby-8.40-85.fc43.x86_64 jon@fedora:~$ uname -r 6.17.12-300.fc43.x86_64 jon@fedora:~$ rpm -q memtest86+ memtest86+-7.20-3.fc43.x86_64
I just did a fresh install of rawhide and it fails to boot. grub2-common-2.12-48.fc44.noarch grub2-efi-x64-2.12-48.fc44.x86_64 grub2-tools-2.12-48.fc44.x86_64 grub2-tools-extra-2.12-48.fc44.x86_64 grub2-tools-minimal-2.12-48.fc44.x86_64 grubby-8.40-86.fc44.x86_64
FEDORA-2026-545bb8efe5 (memtest86+-8.00-4.fc45) has been submitted as an update to Fedora 45. https://bodhi.fedoraproject.org/updates/FEDORA-2026-545bb8efe5
FEDORA-2026-545bb8efe5 (memtest86+-8.00-4.fc45) has been pushed to the Fedora 45 stable repository. If problem still persists, please make note of it in this bug report.
Stan, I've applied an upstream patch that should address this issue and pushed to Rawhide. https://github.com/memtest86plus/memtest86plus/pull/572 If you could confirm, that would be great. If you need a F43 build, here is a scratch build with the patch applied: https://koji.fedoraproject.org/koji/taskinfo?taskID=142639052
Bug fixed in [HP ProDesk 600 G5 SFF/8597, BIOS R07 Ver. 02.24.00 11/13/2025] when updating from memtest86+-0:8.00-3.fc44.x86_64 to memtest86+-8.00-4.fc45.x86_64.rpm ( https://koji.fedoraproject.org/koji/buildinfo?buildID=2945876 ) Thanks.
I've tried it on a few systems, and it seems to work. Thanks. This fix is timely, as the recent RAM price increases may focus attention on verifying RAM presently in use. Here's a quick run-down of what I tried. They all work with the RPM from the scratch build linked in comment 18: antiquarian HP i7-3770 system from ~2014: EFI and "legacy" mode ASUS desktop with i5-11400, EFI mode HP desktop with i5-10500, EFI mode Dell laptop with i5-8365U, EFI mode
Thanks, with this update memtest86+ works on my UEFI laptop and continues to work normally on my two legacy BIOS machines, all on F43. Gave karma at https://bodhi.fedoraproject.org/updates/FEDORA-2026-38d0b9e59c .