LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 04-07-2010, 12:34 PM   #1
tdnnash25
Member
 
Registered: Apr 2009
Posts: 63

Rep: Reputation: 15
Question memtest86 from within OS?


I need to check RAM on a server located in a data center several hundred miles away. So, I can't just walk over and boot to CD to run memtest86. Is it safe to run this while booted into the OS? Does anyone know of a knoppix pxe boot image? I can network boot to something...I just don't know what to network boot to. Any help would be appreciated.
 
Old 04-07-2010, 12:51 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,599

Rep: Reputation: 516Reputation: 516Reputation: 516Reputation: 516Reputation: 516Reputation: 516
No, that's impossible.
 
Old 04-07-2010, 01:03 PM   #3
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543
As of kernel 2.6.26 there is some sort of Memtest86 type of memory tester that you can build right into the kernel (see section 1.9 at the link). If you read about it, it claims to be "simpler and less capable" than the 'real' Memtest86 that you use standalone, but maybe better than nothing at all?

As for running Memtest86 (the standalone binary) from within a running OS, it would not work, and if it *did* work, it would not be giving you the full story anyhow: based on what I know about how it works, it itself is the only thing loaded into memory when it is running, and it relocates itself from place to place so that it can test the memory it is occupying. Makes sense that trying to do a thorough memory test, *while* an OS is booted & running, is not ideal, and would either crash the OS or skip the occupied areas of memory -- neither or which is useful

Running the `file` command on my memtest86 binary, tells me that it is a "Linux x86 kernel" -- so it isn't like your average 'application' that you can just fire up.

Maybe enable the 'memtest' option in your kernel though, if possible (requires rebuilding the kernel probably, or upgrading it, so still perhaps not practical for you).

Sasha
 
Old 04-07-2010, 05:10 PM   #4
nonamenobody
Member
 
Registered: Oct 2002
Posts: 138

Rep: Reputation: 22
Even with a PXE image, you would still need remote console access - I would be surprised if you could ssh into Memtest86. If you have console access, it may well be possible to put the Memtest86 image somewhere on your drive and use grub to boot it (you could boot it without console access, but you wouldn't see the results).
 
  


Reply

Tags
ram


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Memtest86 v.165 help..? siawash Linux - Hardware 3 11-25-2007 07:52 AM
Memtest86 v.165 siawash Linux - Hardware 0 11-21-2007 06:59 PM
Are Memtest86 and Memtest86+ best for checking memory MQMan Linux - Hardware 4 09-14-2007 10:17 PM
Can't use floppy for memtest86 Boby Linux - Newbie 2 11-21-2004 10:13 AM
memtest86 v1.20 runtime? evilop Linux - Software 2 09-26-2004 12:02 AM


All times are GMT -5. The time now is 11:30 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration