LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   linux bad memory protection (https://www.linuxquestions.org/questions/linux-software-2/linux-bad-memory-protection-240455/)

erikwebb 10-08-2004 11:32 PM

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.

megaspaz 10-09-2004 02:57 AM

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.

mirradric 10-09-2004 05:03 AM

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

mirradric 10-09-2004 05:05 AM

http://rick.vanrein.org/linux/badram/
Thought that I should provide you with the link.

mritch 10-09-2004 06:00 AM

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.

erikwebb 10-09-2004 03:20 PM

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!

320mb 10-09-2004 03:38 PM

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.............

mritch 10-09-2004 03:58 PM

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/.....

erikwebb 10-10-2004 12:37 AM

Oh yeah, I meant toss as in "no longer a main computer". I'll probably use it as a PVR.


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