Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Memory Testing in linux
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Twink
Apprentice
Apprentice


Joined: 06 Dec 2002
Posts: 178
Location: New Zealand

PostPosted: Fri Apr 16, 2004 4:43 am    Post subject: Memory Testing in linux Reply with quote

I was just wondering if anyone had a nice memory tester or something that I could use. This box does not have a cd drive or floppy which I would prefer to leave that way if possible (as it would mean shutting down another machine) basically I'm trying to track what I believe to be a hardware fault that's causing odd kernel panics.
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Fri Apr 16, 2004 4:45 am    Post subject: Reply with quote

memtest86 comes to mind, but I think u have to boot to it.. you could try writing memtest86 to a bootable usb thumb drive (if your bios supports booting from usb-hdd)

other than that I am not sure..
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Fri Apr 16, 2004 7:40 am    Post subject: Reply with quote

memtest86 is it, you just emerge it and add the entry to your grub.conf, reboot and test.
Code:
title=Memtest86
root (hd0,1)
kernel (hd0,1)/boot/memtest86/memtest.bin
Back to top
View user's profile Send private message
Twink
Apprentice
Apprentice


Joined: 06 Dec 2002
Posts: 178
Location: New Zealand

PostPosted: Fri Apr 16, 2004 11:30 pm    Post subject: Reply with quote

Malakin wrote:
memtest86 is it, you just emerge it and add the entry to your grub.conf, reboot and test.
Code:
title=Memtest86
root (hd0,1)
kernel (hd0,1)/boot/memtest86/memtest.bin


thanks =D exactly what I need
Back to top
View user's profile Send private message
Twink
Apprentice
Apprentice


Joined: 06 Dec 2002
Posts: 178
Location: New Zealand

PostPosted: Sat Apr 17, 2004 11:22 am    Post subject: Reply with quote

errors detected by this program aren't neccessarily ram ones are they? can they be processor/mobo related? as I dont really wanna replace the ram on this pc just to find I'm still having problems (as I'm using sd-ram on this board but obviously if its the mobo then I'd get one with ddr...)

basically the symptoms are kernel panics when emerging (usually the extraction and never the downloading phase) memtest did find problems so I moved the stick to another slot and they went (ran 2 times without problems) then later in the day I ran again and found some.
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Sat Apr 17, 2004 1:08 pm    Post subject: Reply with quote

it's usually a memory problem.

either the memory is faulty, or your system is too highly overclocked and so there are random errors.

If u have multiple sticks of memory, try taking the out and trying one at a time.

if you are overclocking, set fsb etc back to defaults and test again - if it is still showing errors then the ram is probably faulty.

however lastly make sure the ram is running at the correct CAS latencies (memtest will tell u what it's running at)

if you have a faulty mainbaord or cpu, then access to the memory if often damaged so it would also show up as faulty memory, but it could be your board / cpu.

u need to swap things out and deduce what's causing the problem
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Sat Apr 17, 2004 6:47 pm    Post subject: Reply with quote

If they're memory errors you will tend to see the exact same errors on every run.

An overheating cpu can also cause errors but they will tend to be more random and you might get none on a cooler day and lots on warmer day etc...

Motherboard problems creating errors in memtest would be possible but fairly rare.

It's probably an overheating cpu in your case.
Back to top
View user's profile Send private message
Twink
Apprentice
Apprentice


Joined: 06 Dec 2002
Posts: 178
Location: New Zealand

PostPosted: Sun Apr 18, 2004 4:23 am    Post subject: Reply with quote

I'm thinking that it shouldn't be a heat problem it doesn't seem to get over 40 degrees so I presume it is ok. However I did just notice a common message in the kernel panic having to do with cpu idle and ACPI, so I've disabled ACPI and will see how it goes.

That along with setting bios to "PnP OS installed" to yes seems to have improved it alot got alot further into the xfree compile (yeah I want to move to Xorg sometime, but emerge -U world insists on xfree)

or not it seems to die still, just not at the same place.
Back to top
View user's profile Send private message
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Sun Apr 18, 2004 5:24 am    Post subject: Reply with quote

40C is really low, are you sure you're reading the right temp and it's correct? What cpu is it?
Back to top
View user's profile Send private message
KingTaco
Developer
Developer


Joined: 22 Aug 2003
Posts: 207
Location: Bay Area, CA

PostPosted: Sun Apr 18, 2004 5:34 am    Post subject: Reply with quote

Twink wrote:
I'm thinking that it shouldn't be a heat problem it doesn't seem to get over 40 degrees so I presume it is ok. However I did just notice a common message in the kernel panic having to do with cpu idle and ACPI, so I've disabled ACPI and will see how it goes.

That along with setting bios to "PnP OS installed" to yes seems to have improved it alot got alot further into the xfree compile (yeah I want to move to Xorg sometime, but emerge -U world insists on xfree)

or not it seems to die still, just not at the same place.


to get around the xfree dependency and use x.org, just do a
Code:
# emerge --inject x11-base/xfree-4.3.0-r5
and then you won't have that issue anymore.
_________________
Explaining the obvious to the oblivious.
Adopt an unanswered post today -- https://forums.gentoo.org/search.php?search_id=unanswered
Back to top
View user's profile Send private message
Twink
Apprentice
Apprentice


Joined: 06 Dec 2002
Posts: 178
Location: New Zealand

PostPosted: Sun Apr 18, 2004 7:42 am    Post subject: Reply with quote

Malakin wrote:
40C is really low, are you sure you're reading the right temp and it's correct? What cpu is it?


40C isn' t low when you're talking celcius =D I keep forgetting other countries and their crazy farenhiet (sp) measurements. Its a Althon 1Ghz
Back to top
View user's profile Send private message
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Sun Apr 18, 2004 7:54 am    Post subject: Reply with quote

Quote:
40C isn' t low when you're talking celcius =D I keep forgetting other countries and their crazy farenhiet (sp) measurements. Its a Althon 1Ghz
I should of clarified, 40C is quite low. Most new cpu's idle around 46-58 although the sensors on some boards read a little off.
Back to top
View user's profile Send private message
Twink
Apprentice
Apprentice


Joined: 06 Dec 2002
Posts: 178
Location: New Zealand

PostPosted: Tue Apr 20, 2004 10:55 am    Post subject: Reply with quote

i just remembered that my mate has some old sd-ram of mine that he doesn't need anymore 8) so guess I'll get that back for a few days and see if that fixed my problem, if not guess its fork out for ddr ram and use my other mobo that's been lying around.
Back to top
View user's profile Send private message
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Tue Apr 20, 2004 6:10 pm    Post subject: Reply with quote

Quote:
if not guess its fork out for ddr ram and use my other mobo that's been lying around.
ouch, bad time to buy ram. It's almost doubled in price since early January....
Back to top
View user's profile Send private message
Twink
Apprentice
Apprentice


Joined: 06 Dec 2002
Posts: 178
Location: New Zealand

PostPosted: Thu Apr 22, 2004 12:08 pm    Post subject: Reply with quote

yep appears to be the ram, took out the 512 module and put in a 128 and its stable and compiling everything fine. I might experiment with having both modules in to see if its still stable.
Back to top
View user's profile Send private message
dwn
n00b
n00b


Joined: 23 Dec 2003
Posts: 24

PostPosted: Thu Apr 22, 2004 2:05 pm    Post subject: Reply with quote

this may interest you guys:
http://rick.vanrein.org/linux/badram/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum