Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Freeze under mem load with 2GB RAM but not 1GB [SOLVED]
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
bk0
Apprentice
Apprentice


Joined: 04 Jan 2004
Posts: 266

PostPosted: Sun Jun 10, 2007 12:40 pm    Post subject: Freeze under mem load with 2GB RAM but not 1GB [SOLVED] Reply with quote

On my amd64 system (athlon x2 4200, asus m2a-vm mobo) my system consistently freezes when I put 2GB ram in it but the freeze disappears when I remove the second 1GB stick. Both modules pass an overnight memtest86 run with zero errors. Switching the modules around doesn't make a difference (ie, having one or the other in makes the machine run fine, with both installed it freezes) nor does running it in single or dual channel mode.

It freezes every time under memory load (ie, when I launch a big java app like azureus) not CPU load. If I only run very minimal applications it will run indefinitely but within a few seconds of starting a big app it will hard freeze every time. Like I said, removing a 1GB stick fixes the problem. I've replaced EVERY component in this machine including the power supply, so I'm confident it isn't a hardware problem.

My questions are:

1) I can consistently trigger the freeze in X but with that I can't see console output, is there any way to persistently save kernel crash messages/dumps so I can get a clue of the cause?

2) Assuming it's a kernel crash, what different options should I enable/disable? I have PREEMPT with PREEMPT-BKL. I do not have console framebuffer enabled. I AM using fglrx with kernel 2.6.21-gentoo-r2 (Radeon Xpress 1250)


Last edited by bk0 on Mon Jul 02, 2007 11:10 am; edited 1 time in total
Back to top
View user's profile Send private message
msalerno
Veteran
Veteran


Joined: 17 Dec 2002
Posts: 1338
Location: Sweating in South Florida

PostPosted: Sun Jun 10, 2007 3:53 pm    Post subject: Reply with quote

Do you have the high memory support enabled in your kernel?
Back to top
View user's profile Send private message
bk0
Apprentice
Apprentice


Joined: 04 Jan 2004
Posts: 266

PostPosted: Sun Jun 10, 2007 4:02 pm    Post subject: Reply with quote

There is no HIGHMEM option that I can find, I'm assuming because it's 64bit (amd64).
Back to top
View user's profile Send private message
msalerno
Veteran
Veteran


Joined: 17 Dec 2002
Posts: 1338
Location: Sweating in South Florida

PostPosted: Sun Jun 10, 2007 4:06 pm    Post subject: Reply with quote

DOH! You are correct sir.

Check out the kernel hacking section of the kernel. There's an option named "Magic SysRq key"

From the Kernel wrote:
Magic SysRq key

CONFIG_MAGIC_SYSRQ:

If you say Y here, you will have some control over the system even
if the system crashes for example during kernel debugging (e.g., you
will be able to flush the buffer cache to disk, reboot the system
immediately or dump some status information). This is accomplished
by pressing various keys while holding SysRq (Alt+PrintScreen). It
also works on a serial console (on PC hardware at least), if you
send a BREAK and then within 5 seconds a command keypress. The
keys are documented in <file:Documentation/sysrq.txt>. Don't say Y
unless you really know what this hack does.
Back to top
View user's profile Send private message
mattst88
Developer
Developer


Joined: 28 Oct 2004
Posts: 423

PostPosted: Sat Jun 23, 2007 2:36 pm    Post subject: Reply with quote

I had a problem very similar to this with my Abit NV8 and Sempron 2800. For some reason, when using two sticks of memory (1GB each) I would get random hardlocks. Each stick passes all memtests when alone. Through posting on some other forums, I heard somewhat of a rumor that some AMD64 memory controllers are unstable with two sticks of a 1GB.

I was never able to work it out. I sold one of the sticks to my brother and went about my business with only 1GB.
Back to top
View user's profile Send private message
paulisdead
Guru
Guru


Joined: 10 Apr 2002
Posts: 510
Location: Seattle, WA

PostPosted: Sun Jun 24, 2007 2:10 am    Post subject: Reply with quote

might just be an incompatiblity with your chipset or BIOS. You update your bios yet? Also check your RAM timings and maybe try 2T timing and see if that helps.

Are you using any high end memory that the manufacturer suggests using higher voltages to operate at the advertised speed?

Some mobos just don't like certain types of memory. I had one set of RAM that would pass memtest86+ all I wanted but would bomb out during compiles, switched to different RAM and worked perfectly. Perhaps there's a local PC shop with a good return policy, so you can buy the ram, try it, and return it if you have the same issue. Just be sure to get a different brand of RAM. It might even be a good idea to check your mobo's manufacturers recommended memory modules.
_________________
"we should make it a law that all geeks have dates" - Linus
Back to top
View user's profile Send private message
bk0
Apprentice
Apprentice


Joined: 04 Jan 2004
Posts: 266

PostPosted: Sun Jul 01, 2007 7:02 pm    Post subject: Reply with quote

Manually bumping up the DRAM voltage in the BIOS to 1.9v seems to have fixed the problem (*fingers crossed*). Previously I had it set at 'auto', the economy Patriot RAM I have is listed as 1.8v but apparently needs a little more (or more likely there's some mobo/BIOS bug).

Thanks for the suggestions, I'm glad I don't need to buy new RAM.
Back to top
View user's profile Send private message
bammbamm808
Guru
Guru


Joined: 08 Dec 2002
Posts: 548
Location: Hawaii

PostPosted: Mon Jul 02, 2007 2:57 am    Post subject: Reply with quote

bk0 wrote:
economy Patriot RAM


There ya go. Next time purchase decent components and save yourself the headaches. Especially don't skimp on RAM.
_________________
MSI MAG B550 Tomahawk
Ryzen 3900x
32Gb Samsung B-die (16GB dual rank x2) DDR4 @ 3200MHz, cl14
Geforce RTX 2070S 8GB
Samsung m.2 NVME pcie-3.0
Etc....
Back to top
View user's profile Send private message
-Craig-
Guru
Guru


Joined: 03 Jun 2004
Posts: 333

PostPosted: Sun Nov 04, 2007 4:57 pm    Post subject: Reply with quote

Same Mobo, same RAM, same problem over here.
I hope increasing the voltage also helps here.
Back to top
View user's profile Send private message
-Craig-
Guru
Guru


Joined: 03 Jun 2004
Posts: 333

PostPosted: Sat Nov 08, 2008 2:02 am    Post subject: Reply with quote

Yes, fixed it.
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