Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
memtest for UEFI 64bit
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Off the Wall
View previous topic :: View next topic  
Author Message
apurkrt
n00b
n00b


Joined: 26 Feb 2011
Posts: 68
Location: Czechia, Europe

PostPosted: Wed Oct 23, 2019 3:48 pm    Post subject: memtest for UEFI 64bit Reply with quote

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
View user's profile Send private message
e3k
Guru
Guru


Joined: 01 Oct 2007
Posts: 426
Location: Inner Space

PostPosted: Wed Oct 23, 2019 5:37 pm    Post subject: Reply with quote

did you try systemrescuecd? there is your memtest86 present and working i guess.
_________________
((O.o))
Back to top
View user's profile Send private message
patrix_neo
Guru
Guru


Joined: 08 Jan 2004
Posts: 519
Location: The Maldives

PostPosted: Wed Oct 23, 2019 5:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
apurkrt
n00b
n00b


Joined: 26 Feb 2011
Posts: 68
Location: Czechia, Europe

PostPosted: Wed Oct 23, 2019 6:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
e3k
Guru
Guru


Joined: 01 Oct 2007
Posts: 426
Location: Inner Space

PostPosted: Wed Oct 23, 2019 6:26 pm    Post subject: Reply with quote

yes legacy BIOS is the answer for UEFI.
_________________
((O.o))
Back to top
View user's profile Send private message
apurkrt
n00b
n00b


Joined: 26 Feb 2011
Posts: 68
Location: Czechia, Europe

PostPosted: Wed Oct 23, 2019 6:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
apurkrt
n00b
n00b


Joined: 26 Feb 2011
Posts: 68
Location: Czechia, Europe

PostPosted: Wed Oct 23, 2019 6:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
apurkrt
n00b
n00b


Joined: 26 Feb 2011
Posts: 68
Location: Czechia, Europe

PostPosted: Wed Oct 23, 2019 7:29 pm    Post subject: Reply with quote

reposted here: https://forums.gentoo.org/viewtopic-t-1103284.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Off the Wall All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum