[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 1GB RAM is missing.



On Sun, Oct 21, 2007 at 03:13:54PM -0700, pgega wrote:
> I tried swaping all of them in any possible order, none of sticks is
> broken.

I had the same kind of problems with my Soltek motherboard, although
32-bit one, so the following might not apply. But I guess it might be
a bios issue anyway, so you can try this. 

In my case the kernel sees 4 GB of memory, but if I just let the kernel use 
all the memory, all i/o becomes really slow. The 10 minute boot time sounds
familiar. The resolution is to limit the available memory a little. 

finpasojan3:/proc# cat /proc/mtrr
reg00: base=0x00000000 (   0MB), size=2048MB: write-back, count=1
reg01: base=0x80000000 (2048MB), size=1024MB: write-back, count=1
reg02: base=0xc0000000 (3072MB), size= 512MB: write-back, count=1
reg03: base=0xe0000000 (3584MB), size= 256MB: write-back, count=1
reg04: base=0xf0000000 (3840MB), size=  32MB: write-back, count=1
reg05: base=0xf2000000 (3872MB), size=  16MB: write-back, count=1
reg06: base=0xf5800000 (3928MB), size=   8MB: write-combining, count=2
reg07: base=0xf5000000 (3920MB), size=   8MB: write-combining, count=1

In my case it seems that the usable limit is somewhere between 3800 MB
and 3900 MB. So I set grub to limit the memory with kernel
mem-parameter. I have this in my /boot/grub/menu.lst

title           Debian GNU/Linux, kernel 2.6.18-4-686
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.18-4-686 root=/dev/hda1 ro mem=3840M 
initrd          /boot/initrd.img-2.6.18-4-686

Even if this is not the case, you can experiment with the mem-parameter
and find out the maximum usable amount of memory without taking out
the ram sticks.

Pasi



Reply to: