sys-apps/memtest86-bin will only install a "UEFI" something. Even if it installs a file in /etc/grub.d, grub will ignore it on non-uefi systems. This ticket is for requesting the same kind of ebuild for non-uefi systems. Rationale: There's no memtest86 working on almost all my computers. Not only recent ones (ddr4/uefi), but also old ones : both sys-apps/memtest86 and sys-apps/memtest86+ will either not start (black or blue empty screen), crash (start then the computer reboot), or misbehave (report tons of wrong errors). Apparently this is due to some bad interaction with recent gcc, and there are plenty of related bugs in bgo. But whatever. I did this by hand, and this works: * download the binary from http://memtest.org/#downiso * install in /boot/memtest86+-5.31b.bin * add a file /etc/grub.d/39_memtest86+_orzel with content as specified at the end * restart grub-mkconfig Basically, i would like sys-apps/memtest86-bin to automatize this. content of /etc/grub.d/39_memtest86+_orzel: -------------------- #!/bin/sh . /usr/share/grub/grub-mkconfig_lib memtest=/boot/memtest86+-5.31b.bin if [ -f "${memtest}" ]; then gettext_printf "Found memtest86+ image: %s\n" "${memtest}" >&2 device="$("${grub_probe}" --target=device "${memtest}")" path="$(make_system_path_relative_to_its_root "${memtest}")" cat <<EOF menuentry 'Memtest86+' { EOF prepare_grub_to_access_device "${device}" | grub_add_tab cat <<EOF linux16 "${path}" } EOF fi -------------------- Reproducible: Always
From https://www.memtest86.com/download.htm : "IMPORTANT: MemTest86 V9 images support only UEFI boot. On machines that don't support UEFI, MemTest86 will not boot. Please download the older V4 BIOS release of MemTest86 instead." This v4 release is available already as sys-apps/memtest86. The memtest86+ binary you mention is a completely different memtest implementation, currently packaged as sys-apps/memtest86+. You should open bugs against that package, to fix the current source builds and/or optionally use the prebuilt one from upstream.
(In reply to Ben Kohler from comment #1) > The memtest86+ binary you mention is a completely different memtest > implementation, currently packaged as sys-apps/memtest86+. You should open > bugs against that package, to fix the current source builds and/or > optionally use the prebuilt one from upstream. Err, the non-bin package you mention has been broken for years on gentoo, hence the need for a binary version. (?)
I understand that, but this binary YOU have linked would not be part of my memtest86-bin package. It would either be part of the existing sys-apps/memtest86+ package or a new sys-apps/memtest86+-bin. My memtest86-bin package is for the Passmark non-free Memtest86 (from Memtest86.com).
I see, indeed. Actually i want anything official that allows me to test my ram.
Well I did close a bug on memtest86+ for runtime breakage with gcc >=8 so that may already work for you now. Can you try sys-apps/memtest86+-5.31b-r1 ? I can look into adding a binary flag on memtest86+ as well.
I did some tests with sys-apps/memtest86+-5.31b-r1 and indeed, it works. No more need for the binary then. Thanks !