Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

memtestx86+ not working [solved]

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
13 posts • Page 1 of 1
Author
Message
alienjon
Veteran
Veteran
User avatar
Posts: 1740
Joined: Wed Feb 09, 2005 4:37 pm

memtestx86+ not working [solved]

  • Quote

Post by alienjon » Fri Oct 02, 2015 12:30 am

I emerged vanilla memtest86+ (USE="-floppy -serial"). I reboot and both memtest entries lead the computer to hang until I hard reset. I looked around the web but can't find the same problem. Any thoughts on a fix (or how to test/debug)?
Last edited by alienjon on Thu Oct 08, 2015 1:42 am, edited 1 time in total.
Top
TheLexx
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 137
Joined: Sun Dec 04, 2005 1:21 am
Location: Austin Tx

  • Quote

Post by TheLexx » Sun Oct 04, 2015 3:18 am

Can you run memtest from a CD-rom or other image? Do you only have the problem when you install it from Gentoo?
Top
alienjon
Veteran
Veteran
User avatar
Posts: 1740
Joined: Wed Feb 09, 2005 4:37 pm

  • Quote

Post by alienjon » Tue Oct 06, 2015 11:14 am

TheLexx wrote:Can you run Memtest from a CDROM or other image?
Sorry for my delayed reply to this. I'm honestly not sure. I downloaded a memtest86 iso (not a + version, but I see that the latest memtest86's should work on my system) and tried creating a bootable USB. The drive comes up in my UEFI screen, but not as a UEFI device. Booting from it gives me a blank screen with a blinking curser. As this is the same behavior I get from Gentoo (sans the blinking cursor, however) I'm going to let it sit for a day and see if it pops up with anything. I expected some form of graphical or textual interface at least reporting the start of the process, but maybe it "just runs"? I thought I saw screenshots somewhere, though, so I expect this isn't the case. In any event, I'm going to look into other methods of making a UEFI bootable iso image.
Top
TheLexx
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 137
Joined: Sun Dec 04, 2005 1:21 am
Location: Austin Tx

  • Quote

Post by TheLexx » Tue Oct 06, 2015 8:51 pm

I've only messed with memtest+. Memtest starts the test instantly. It takes only moments to load memtest into the computer, then it starts. If you wish to run a test other than the normal sequence you first have to stop the running test.

memtest+ is loaded into the computer the similar to the way the old 16-bit versions of Linux kernel is loaded into the machine. Many live versions of Linux contain memtest on there iso image so that you can boot Linux or boot memtest. I would try one of those first. If You can boot Linux from the image, but the same image fails when you try to boot memtest I suspect, that version of memtest is not compatible with your hardware.

I assume that you are using grub2 to boot your machine. If you mount the iso image, you should be able to find the memtest "kernel". In the versions I have it is usually called memtest.bin. You can copy the memtest kernel to the same directory that you keep your Linux kernel on and then just boot memtest instead of your kernel.

To boot from the command line grub you will need to know the location of the memtest "kernel" say for example "(ThisLocation)/memtest.bin" you will prepare it with the command "linux16 (ThisLocation)/memtest.bin" then type the command "boot" to boot.
Top
alienjon
Veteran
Veteran
User avatar
Posts: 1740
Joined: Wed Feb 09, 2005 4:37 pm

  • Quote

Post by alienjon » Tue Oct 06, 2015 9:05 pm

I am using grub2. I installed memtest86+ to come up in my boot menu. As with the USB and memtest86, however, selecting the option brings me to a blank screen (nothing indicating that the test is loaded, running, or progressing in anyway). The only difference is that the USB has the blinking cursor. Is this normal behavior? It seems odd to me to not have any indication that the test at least started. I may try to install an ubuntu install disk, as I think those include memtest (or knoppix)
Top
Roman_Gruber
Advocate
Advocate
Posts: 3854
Joined: Tue Oct 03, 2006 8:43 am
Location: Austro Bavaria

  • Quote

Post by Roman_Gruber » Tue Oct 06, 2015 9:06 pm

when you just need memtest, i think sysrescue-cd comes with that too. emerge sysresc... and burn it to a disc. that should be the fastest way.
Top
TheLexx
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 137
Joined: Sun Dec 04, 2005 1:21 am
Location: Austin Tx

  • Quote

Post by TheLexx » Tue Oct 06, 2015 10:25 pm

alienjon wrote:I am using grub2. I installed memtest86+ to come up in my boot menu. As with the USB and memtest86, however, selecting the option brings me to a blank screen (nothing indicating that the test is loaded, running, or progressing in anyway). The only difference is that the USB has the blinking cursor. Is this normal behavior? It seems odd to me to not have any indication that the test at least started. I may try to install an ubuntu install disk, as I think those include memtest (or knoppix)

Memtest did not start. It crashed!

Unless you get something that looks like this https://upload.wikimedia.org/wikipedia/ ... enshot.png within a few seconds it did not work. I suggest you try memtest86 on a different computer just to get the feel of memtest.

My only thought is that memtest64 is incompatible with your hardware. Try Googling your motherboard model or laptop model and memtest64 to see what is up.

I was hoping that if you tried to use grub in Command Line Mode, you might have gotten an error message before grub tried to load memtest. If you get an error message that might give me something to work with. If there is no error message then there is not anything I can grab onto. Just Google your mobo with memtest.

PS. whether it is the grub config file or the CLI you have to use linux16 NOT linux to load the memtest "kernel"
Top
alienjon
Veteran
Veteran
User avatar
Posts: 1740
Joined: Wed Feb 09, 2005 4:37 pm

  • Quote

Post by alienjon » Wed Oct 07, 2015 1:09 am

tw04l124 wrote:when you just need memtest, i think sysrescue-cd comes with that too. emerge sysresc... and burn it to a disc. that should be the fastest way.
Not in the portage tree. Is it in an overlay?
TheLexx wrote:Memtest did not start. It crashed!

Unless you get something that looks like this https://upload.wikimedia.org/wikipedia/ ... enshot.png within a few seconds it did not work. I suggest you try memtest86 on a different computer just to get the feel of memtest.

My only thought is that memtest64 is incompatible with your hardware. Try Googling your motherboard model or laptop model and memtest64 to see what is up.
Definitely doesn't look like that. I've now tried reinstalling the img on the flash drive (and tried both memtest86 and memtest86+) with the same results. I'll try on my laptop when I have the chance (though the laptop has Kubuntu and memtest is already on it).
TheLexx wrote:I was hoping that if you tried to use grub in Command Line Mode, you might have gotten an error message before grub tried to load memtest. If you get an error message that might give me something to work with. If there is no error message then there is not anything I can grab onto. Just Google your mobo with memtest.

PS. whether it is the grub config file or the CLI you have to use linux16 NOT linux to load the memtest "kernel"
My grub.cfg uses linux16 and not linux (I did double check) for both the memtest86 and memtest86+ entries. Interestingly, when I try to boot from the CLI I get an actual crash followed by a reboot. No message is displayed, only a moment of black screen before the monitor flickers (as though the monitor goes from no signal to receiving a signal - I expect this is exactly what's happening) and then the computer restarts.

My motherboard is an Asus P8P67 PRO. Funny enough the search I've done so far has shown people with implicit success in running memtest86 (other RAM problems and people reporting the memtest results). I suspect that isn't the problem.

I have noticed in my bios that the USB drive doesn't come up as a UEFI device. Could this be related to what's going on? Could my making the USB drive not me UEFI compatible and could the portage Memtest86/Memtest86+ not be UEFI compatible either?
Top
alienjon
Veteran
Veteran
User avatar
Posts: 1740
Joined: Wed Feb 09, 2005 4:37 pm

  • Quote

Post by alienjon » Wed Oct 07, 2015 1:15 am

Could my making the USB drive not me UEFI compatible and could the portage Memtest86/Memtest86+ not be UEFI compatible either?
This was it. I did a search for UEFI memtest86 and found a different download (on the main memtest86 site, not memtest86+). I installed this image to the USB disk and can now boot from it. The gentoo ebuild and the downloads I had grabbed are NOT UEFI compatible. Not sure how to get the ebuild to work in this manner, but I'm thinking of just using the downloaded .bin and setting it up in grub.
Top
TheLexx
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 137
Joined: Sun Dec 04, 2005 1:21 am
Location: Austin Tx

  • Quote

Post by TheLexx » Wed Oct 07, 2015 5:46 am

alienjon wrote:...but I'm thinking of just using the downloaded .bin and setting it up in grub.
That is what I did, I just copied it over from a live cd to my HD. I use a compleately custom grub2 config file, so I'm not sure how you would do it with a standard grub2 script.
Top
Roman_Gruber
Advocate
Advocate
Posts: 3854
Joined: Tue Oct 03, 2006 8:43 am
Location: Austro Bavaria

  • Quote

Post by Roman_Gruber » Wed Oct 07, 2015 8:22 am

same as downloading from the homepage the iso.

the iso is in the distfiles and in /usr/share/systemrescue....

Code: Select all

[I] app-admin/systemrescuecd-x86
     Available versions:  
     (4.4.1) (~)4.4.1^m
     (4.5.0) (~)4.5.0^m
     (4.5.1) (~)4.5.1^m
     (4.5.2) (~)4.5.2^m
     (4.5.3) (~)4.5.3^m
     (4.5.4) (~)4.5.4^m
     (4.6.0) (~)4.6.0^m
     Installed versions:  4.6.0(4.6.0)^m(14:45:55 03.10.2015)
     Homepage:            http://www.sysresccd.org/
     Description:         The .iso image of SystemRescueCD rescue disk, x86 (+ amd64) variant

Top
alienjon
Veteran
Veteran
User avatar
Posts: 1740
Joined: Wed Feb 09, 2005 4:37 pm

  • Quote

Post by alienjon » Thu Oct 08, 2015 1:41 am

tw04|124: Ahh, I took your prior post literally and searched for sysrescue and nt systemrescue.

TheLexx: I may try an ebuild of this and file a bug. I imagine this must come up for others as well and it'd be nice to have a working UEFI install.

I'm going to consider this thread [solved]. Memtest86 is now running seemingly well. According to the output - as of this writing - I'm 91% into pass 3/4 and minutes shy of 23 hours into the full test (32gb of RAM, so I expected it to take a while). Thanks everyone!
Top
alienjon
Veteran
Veteran
User avatar
Posts: 1740
Joined: Wed Feb 09, 2005 4:37 pm

  • Quote

Post by alienjon » Thu Oct 08, 2015 10:40 pm

Test complete a little shy of 40 hours. It passed all 48 tests run, but 4 of those warnings (notes) did pop up. I'll try rerunning the test after swapping out the D stick.
Top
Post Reply

13 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic