LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Less physical memory? (https://www.linuxquestions.org/questions/debian-26/less-physical-memory-345335/)

ariek 07-21-2005 07:56 AM

Less physical memory?
 
Hi,

Config:
- Asus P4S800-MX
- Celeron 2.4Ghz
- 2Gb DDR/2*1024 (-64Mb shared video) total 1984Mb

I have Debian Sarge installed with the linux26 option with Grub.

The system displays less than 1Gb of memory with free/top. However, when I check the amount of RAM in Grub, it seems to show nearly 2Gb.

I remember that Lilo has the mem= option. Is this an option in Grub as well?

Can anyone please tell me how I can use all of my dearly paid memory?


Thanx

Matir 07-21-2005 09:04 AM

You'd need your kernel configured with CONFIG_HIGHMEM4G to take advantage of >1GB of RAM.

ariek 07-21-2005 09:51 AM

Thanks a lot for your answer. Hopefully I will have some time today to test this. Do you know if this is mentioned in the Debian Sarge installation document?

ariek 07-21-2005 01:24 PM

I have changed /boot/config-2.6.8-2-386 with the following:

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

Nothing changed. Should this be enough, or do I have to compile my own kernel?

Thanx for your help so far.

harken 07-21-2005 01:46 PM

Yes, you must recompile your kernel for the changes to take place. In case you're not familiar with kernel compiling, ask back here or do a google search for "Compiling a 2.6 kernel" which should get you plenty of hits.

Matir 07-21-2005 02:23 PM

Yes, unless debian distributes a kernel with highmem support enabled by default.


All times are GMT -5. The time now is 04:49 AM.