LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-31-2010, 07:57 AM   #1
ivri
LQ Newbie
 
Registered: Oct 2009
Location: Vancouver, Canada
Distribution: slackware 12.2
Posts: 13

Rep: Reputation: 0
Question SMP Memory Diagnostic for Linux


I have downloaded the BradyTech SMP Memory
stand-alone bootable memory diagnostic. Download at

http://members.shaw.ca/yehudi2/memtest86-3.5.tar

"C" Source Code plus Makefile is included, + binary

"memtest.bin"

which is stand-alone bootable memory diagnostic,
that can be installed onto a boot floppy as follows

dd if=memtest.bin of=/dev/fd0

or "memtest.bin" can be configured in /etc/lilo.conf
as a Lilo section for a stand-alone bootable image.

Seeing as I do not have an SMP machine available
I would like to know if the SMP code works. Could
someone with a "Core X" machine, "X" > "1" please try
it and post whether the diagnostic correctly detects the
number of CPUs present, and proceeds to test correctly?

Last edited by ivri; 01-31-2010 at 08:10 AM. Reason: Clarification.
 
Old 02-02-2010, 08:15 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

I really don't think anyone will take you up on this. Basically security will be the issue. Trust!

No one will openly trust at this level for a test request of this type. I for one would not but paranoia is good. Especially with things happening on the Internet & social engineering.

Maybe the use of a school, University or College system would be possible as a test bed.

 
Old 02-02-2010, 08:35 AM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Yes, that is a problem. The source is there, but I'd have to look through it before I trust booting this.
 
Old 02-02-2010, 12:41 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

I agree 'H'. Really don't want to spend time searching through code today.

 
Old 02-02-2010, 11:47 PM   #5
ivri
LQ Newbie
 
Registered: Oct 2009
Location: Vancouver, Canada
Distribution: slackware 12.2
Posts: 13

Original Poster
Rep: Reputation: 0
Lightbulb SMP Memory Diagnostic - Trust (אמונה)

If you don't trust the "SMP" go to "config.h" and
comment out the line referring to "#define SMP"
then rebuild the diagnostic as follows:

cd ./memtest86-3.5
make clean
make install

Check the date/time stamp on the following file

memtest.bin

to ensure that you have just "built" it under Linux.
You can make a bootable floppy disk as follows

dd if=memtest.bin of=/dev/fd0

You can make a bootable partition for LiLo by doing

cp -v memtest.bin /boot/memtest.bin

Then configure an additional Linux partition with

/sbin/liloconfig

Finally manually edit this new partition in the file

/etc/lilo.conf

to have parameters

img = /boot/memtest.bin
label = memtest
root = /dev/"whatever" - Whatever is root partition
read-only

and install the new "LiLo" by typing

/sbin/lilo

Please note that I included the "memtest.bin"
ready-to-boot image as a convenience, in case
people did not have Linux. Usually people with
older operating systems can read "tar" archives,
so I did not "bzip2" this archive before I
uploaded it to the reflector as

http://members.shaw.ca/yehudi2/memtest86-3.5.tar

People without Linux (i.e. "DOS" users) should
still be able to extract "memtest.bin" even though
they are unable to build it from the "C" sources.

Last edited by ivri; 02-02-2010 at 11:52 PM. Reason: Clarification
 
  


Reply

Tags
bootable, diagnostics, memory, smp, standalone


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
Unable to get a core-dump of a child process on Linux 2.6.5-7.316-smp #1 SMP system ravisan Linux - General 2 07-28-2023 11:09 AM
Maximum memory handled by kernel Linux version 2.6.8-3-686-smp sinister1 Linux - General 9 11-12-2007 07:03 PM
RHEL AS4 SMP boot very slow with 4GB memory ipanzhu Red Hat 2 10-30-2007 10:35 PM
diagnostic linux laptop computer_tom Linux - General 3 03-11-2007 12:54 AM
Best Linux PC System Diagnostic Software rvijay Linux - Software 2 11-14-2005 11:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:46 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration