View previous topic :: View next topic |
Author |
Message |
apurkrt n00b

Joined: 26 Feb 2011 Posts: 68 Location: Czechia, Europe
|
Posted: Wed Oct 23, 2019 3:48 pm Post subject: memtest for UEFI 64bit |
|
|
Hi, is there something like memtest86+ working well with UEFI?
I tried sys-apps/memtest86+-5.01-r4, but it hangs after 5 seconds (and the memories are 100% ok, I have no problems whatsoever with the system, no crashes, no hangups)
I created usb stick in grub i386-pc legacy mode - the usb was created with
Code: | grub-install --target=i386-pc --boot-directory=/run/media/foo/bar/boot/ /dev/sdX |
I copied memtest.bin to /run/media/foo/bar/boot/, added an entry for it in grub.cfg
Code: | menuentry 'Memtest86+' {
linux16 "/boot/memtest.bin"
} |
Booted in i386-pc legacy mode. And it starts the test, but it hangs after a short while. Also it detects my DDR4 memory as DDR3.
When I boot with linux16 from x86_64-efi grub with linux16, I see nothing, just hear the beeps (probably because memtest run in text mode, and uefi boots in graphical mode).
So anybody knows of a good alternative to memtest86+ working well with UEFI?
Last edited by apurkrt on Wed Oct 23, 2019 6:58 pm; edited 1 time in total |
|
Back to top |
|
 |
e3k Guru


Joined: 01 Oct 2007 Posts: 423 Location: Inner Space
|
Posted: Wed Oct 23, 2019 5:37 pm Post subject: |
|
|
did you try systemrescuecd? there is your memtest86 present and working i guess. _________________ ((O.o)) |
|
Back to top |
|
 |
patrix_neo Guru


Joined: 08 Jan 2004 Posts: 519 Location: The Maldives
|
Posted: Wed Oct 23, 2019 5:50 pm Post subject: |
|
|
memtest+ seems to be for 32 bit and up. How you can have those mems in a 16-bit mode and at the same time have UEFI-board...
The strangeness just befudels me.
Have you tried to ask this question in a more apropriate forum?
Either way, how did an install of memtest go without a + as an emerge requrement?
Finally, there might be corrupt writes to the memory modules not showing up when just doing reads. _________________ Life is a fog where some thinks to know where to go
To make an error is human, letting it be is the error.
Deus Vult |
|
Back to top |
|
 |
apurkrt n00b

Joined: 26 Feb 2011 Posts: 68 Location: Czechia, Europe
|
Posted: Wed Oct 23, 2019 6:16 pm Post subject: |
|
|
e3k wrote: | did you try systemrescuecd? there is your memtest86 present and working i guess. |
Thank you, actually memtest from systemrescuecd works. You have to boot the usb stick in legacy (BIOS) mode, then the option for memtest shows up. And the memtest does not hang. Do not know the reason.
Fwiw, for legacy (BIOS) booting, systemrescuecd uses syslinux, not grub. |
|
Back to top |
|
 |
e3k Guru


Joined: 01 Oct 2007 Posts: 423 Location: Inner Space
|
Posted: Wed Oct 23, 2019 6:26 pm Post subject: |
|
|
yes legacy BIOS is the answer for UEFI. _________________ ((O.o)) |
|
Back to top |
|
 |
apurkrt n00b

Joined: 26 Feb 2011 Posts: 68 Location: Czechia, Europe
|
Posted: Wed Oct 23, 2019 6:27 pm Post subject: |
|
|
patrix_neo wrote: | memtest+ seems to be for 32 bit and up. How you can have those mems in a 16-bit mode and at the same time have UEFI-board...
The strangeness just befudels me. |
I do not get the "linux16" either, it is just what /etc/grub.d/39_memtest86 produces... (and it always been that way, I used memtest before - always wondered why is it linux16) |
|
Back to top |
|
 |
apurkrt n00b

Joined: 26 Feb 2011 Posts: 68 Location: Czechia, Europe
|
Posted: Wed Oct 23, 2019 6:57 pm Post subject: |
|
|
After some more fiddling:
1) The memtest binary from sysrescuecd works with grub (booted in BIOS i386-pc mode). It is the same version as what is in portage (5.01), so the fact that the binary compiled by me hangs means something is wrong with the compilation.
2) sys-apps/memtest86 (without the plus at the end) does not work at all - it shows some garbled characters after booting.
Anyway I will try to ask in "Kernel & Hardware" |
|
Back to top |
|
 |
apurkrt n00b

Joined: 26 Feb 2011 Posts: 68 Location: Czechia, Europe
|
|
Back to top |
|
 |
|