About

Welcome to Panela, Matt Harrison's take on mostly Open Source, Linux, Python, innovation in those areas, other buzzwords and Dick Proenneke. It comes complete with the illustrations as needed. Note the opinions expressed here are merely my opinions and not the opinions of my employer.

about Matt

Calendar

««Nov 2009»»
SMTWTFS
1234567
8910
11
12
1314
151617
18
192021
22232425262728
2930

Mailing List

My RSS Feeds








Bad memory? Ubuntu (memtest86) to the rescue...

posted 2006.07.28 Fri
My gentoo desktop machine has been acting flakey recently. Apps stop responding, network inconsistent. Sounds like a hardware problem. So I figured I would check my memory. Memtest86 to the rescue. Thanks to Ubuntu I had a live cd with memtest86 on it. Actually I had 5 of them. So I put one in the machine and let memtest crank away for two days....

Commercial interlude. (No I don't work for Ubuntu.) It is cool that Ubuntu sent me 5 cds for free. And stickers as well. (Though my laptop running ubuntu still has some issues). So use Ubuntu if you aren't willing to run Gentoo)

Back to our (ir-)regularly scheduled program.

Turns out the memory error was at 422.7M (of a 512M module). Good, if it were in the first couple of megs things might be a little more complicated. But I'm happy the error is towards the end of my memory (chances are 50% that it will be). So I added mem=420 to my grub options and I'm happily running now (error free, albeit with 20% less memory). But at least now I can boot to a stable environment if I want to install the badram kernel patches and make my kernel ignore only the bad bits of ram. (Sure wish that patch was included in the gentoo-kernel....)

tags:            

links: digg this    del.icio.us    reddit




1. rush3k left...
2006.07.28 Fri 8:07 am

Funny weird. I ran memtest while installing Ubuntu's Dapper Drake a few days ago and it was reporting vast amounts of my 512Megs of memory bad. I wasn't sure if to fault the memtest of my mem chips, I went with the former.


2. Matt left...
2006.07.28 Fri 8:20 am

Interesting. Either the badmem or badram patches website had a similar story. They had a bad piece of memory, ran memtest and somehow the memory fixed itself.... Isn't hardware fun? Nothing like those non-deterministic errors!


3. Steve Dibb left...
2006.07.28 Fri 9:48 am :: http://www.wonkabar.org/

Generally speaking, gentoo-sources only carries a very lightweight list of patches and stuff added on by Gentoo devs. Anything experimental usually isn't in the tree. There's always mm-sources though, that might have it.

See http://dev.gentoo.org/~dsd/genpatches/faq.htm


4. Student Management Guy left...
2006.09.01 Fri 11:57 pm :: http://tuggle.it

Two days?! Is that normal? I was recently troubleshooting a mem issue, found this program and let it run for 3 hours, then decided the RAM was probably good. Maybe I should crank at it again.


5. Matt left...
2006.09.06 Wed 9:14 am

SMG- It ran for 58 hours and found 20 errors. The same test failed on different passes. If you are having hardware issues, I would probably run it overnight...


6. A.B.Leal left...
2008.06.19 Thu 9:57 am

This may also help:

http://kerneltrap.org/mailarchive/linux-kernel/2008/3/13/1153824

Shows how to use a stock kernel option for mapping out bad RAM

(found when looking for workarounds for bad memtest86+ news on a laptop - your blog was google-top-dog for " memtest linux bad mem ", but I had to dig further)


7. Andrew Roazen left...
2008.11.22 Sat 9:23 am

Thanks for the advice: a Mythbuntu box I just built from old parts had flashing caps/scroll and your solution targeted the problem (and its solution) right away.