Detecting increased RAM in Debian Sarge

Meng Cheah meng-D1t3LT1mScs at public.gmane.org
Thu Feb 22 01:50:54 UTC 2007


Lennart Sorensen wrote:

>On Wed, Feb 21, 2007 at 04:43:28PM -0500, Meng Cheah wrote:
>  
>
>>I have a dualboot desktop (Windows XP/Debian Sarge).
>>The motherboard is an Asus K8N with 3 memory slots.
>>I had two 512 memory chips in the first 2 slots.
>>I added a 1G memory chip to the 3rd slot this morning.
>>All chips are Kingston PC3200.
>>
>>The BIOS detects 2 G RAM.
>>Windows XP detects 2 G RAM.
>>Knoppix 5.1.1 detects 2 G RAM.
>>
>>free, top, dmesg and /proc/meminfo on Knoppix displays 2 G RAM.
>>But free, top, dmesg and /proc/meminfo on Sarge still displays 1 G RAM.
>>
>>I switched the 1 G chip to the first slot and the two 512 M chips to the 
>>second and third slots.
>>Same results. Bios, XP and Knoppix displays 2 G RAM while Sarge displays 
>>1 G RAM.
>>
>>How do I make my system detect all 2 G RAM?
>>    
>>
>
>Which kernel are you running?  Remember it used to be common for linux
>kernels to only support 900MB ram since anything else required himem
>support.  All newer kernels tend to have support for 4GB (I think most
>2.6 kernels in debian do for example, but 2.4 certainly didn't).
>
>-
>  
>
Hi Steve and Lennart

Thanks for the help.

I did some googling and found the section below in the 
/boot/config-2.6.8-2-386 file.
I guess I have to recompile my kernel with CONFIG_NOHIGHMEM=n and 
CONFIG_HIGHMEM4G=y.

#
# Firmware Drivers
#
CONFIG_EDD=m
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
CONFIG_MATH_EMULATION=y
CONFIG_MTRR=y
# CONFIG_EFI is not set
# CONFIG_REGPARM is not set

#
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list