LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-08-2004, 11:32 PM   #1
erikwebb
LQ Newbie
 
Registered: Oct 2004
Location: Georgia Tech
Posts: 13

Rep: Reputation: 0
linux bad memory protection


My parents' computer kept crashing a few weeks ago, so I ran MemTest86 to see if memory was the problem. There were multiple errors, but I figured they could deal with the frequent reboots and such. So anyway....about a week ago their hard drive crashed as well, so I took one of my old hard drives pre-installed with Linux and swapped it in to give them a little taste of Linux. Despite the bad memory, Linux has not crashed since I powered on the computer for the first time.

A long story short....does Linux somehow flag bad sectors in memory and pretend that they do not exist? I have not read about this anwhere, but this is the only conclusion that I can draw from what has happened.
 
Old 10-09-2004, 02:57 AM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
maybe it's not bad memory after all, just your parent's hard drive going bad. or could be that you had bad sectors on your parent's hard drive and they never ran scandisk to flag the bad sectors. if your memory goes bad, linux isn't any different than windows, and most likely would exhibit the same instability. i could be wrong though, but i still think since the hard drive died, it most likely was a hard drive going bad.
 
Old 10-09-2004, 05:03 AM   #3
mirradric
Member
 
Registered: May 2004
Location: Singapore
Distribution: Debian woody and debian sarge
Posts: 188

Rep: Reputation: 31
Re: linux bad memory protection

Quote:
Originally posted by erikwebb
A long story short....does Linux somehow flag bad sectors in memory and pretend that they do not exist? I have not read about this anwhere, but this is the only conclusion that I can draw from what has happened. [/B]
You are right. Linux can do that together with memtest86 and BadRam. Some of the errors are very specific and may not cause instablitiy depending on the way the memory is used
 
Old 10-09-2004, 05:05 AM   #4
mirradric
Member
 
Registered: May 2004
Location: Singapore
Distribution: Debian woody and debian sarge
Posts: 188

Rep: Reputation: 31
http://rick.vanrein.org/linux/badram/
Thought that I should provide you with the link.
 
Old 10-09-2004, 06:00 AM   #5
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
if memtest gives you failing patterns (run it for one/two days) you'll need to patch your kernel. iirc the last one is for 2.4.24
i ran an old pc successfully for a time with the bad ram patch. however, i found the layout of these patterns quite tricky. i posted a solution here on LQ and at LG. search for "badram pattern".
to be sure it actually is a faulty rammodule do a few kernel compilations and find in the root and check for kernel oopses in your /var/log/messages.

sl mritch.
 
Old 10-09-2004, 03:20 PM   #6
erikwebb
LQ Newbie
 
Registered: Oct 2004
Location: Georgia Tech
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks everyone, I'm replacing their computer soon, I was just curious about if this protection existed. It's an old Athlon 1400, so it's "going the way of the dodo" soon. Thanks all for the information, I guess this is just one more reason to love Linux!
 
Old 10-09-2004, 03:38 PM   #7
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Quote:
Originally posted by erikwebb
It's an old Athlon 1400, so it's "going the way of the dodo" soon.
dont toss that old box.........turn it into a hardware firewall for your parents internet connection.............
 
Old 10-09-2004, 03:58 PM   #8
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
even a hardware firewall is absolute overkill....

i would be glad to own one of these ;-) ..but let's say i'm quite ok with my celeron@533 running like wild with debian...

sl mritch.

btw. a p133 is working bravely as my squid/dns/mail/apache/samba/nfs/mrtg/.....
 
Old 10-10-2004, 12:37 AM   #9
erikwebb
LQ Newbie
 
Registered: Oct 2004
Location: Georgia Tech
Posts: 13

Original Poster
Rep: Reputation: 0
Oh yeah, I meant toss as in "no longer a main computer". I'll probably use it as a PVR.
 
  


Reply



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
dying dvd+rw? bad memory? (seperate issues) tommyj27 Linux - Hardware 1 04-06-2005 01:26 PM
SAX2 has bad memory?? hollovoid7 SUSE / openSUSE 0 01-24-2005 07:31 AM
USB 2.0 memory stick mount: wrong fs type, bad option, bad superblock on /dev/sda1, o olivier.riff Linux - Hardware 2 11-12-2003 08:11 AM
unable to install / bad memory stupidclese Linux - Newbie 1 08-01-2003 09:52 AM
Curse my bad memory digital bots Slackware 6 07-23-2002 08:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:08 PM.

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