LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Memory and Processor question (https://www.linuxquestions.org/questions/debian-26/memory-and-processor-question-448377/)

Drunkalot 05-25-2006 06:13 AM

Memory and Processor question
 
I've a computer with 2 processors and 2Gb of ram..

I Installed the debian 3.1r2 and it only recognizes one processor and 900 Mb of RAM...

Do i need to recompile the kernel or it has and other kernel package or configuration that i can do????




Thx...

acid_kewpie 05-25-2006 06:36 AM

not sure about the ram, that should be fine, but the cpu side, you'd need to enable SMP on the kernel. most distro's contain an smp and non-smp kernels for you, so you shouldn't need to mess with much.

Dutch Master 05-25-2006 07:25 AM

The kernel also needs to have support for large amounts of RAM. Dunno if enabling SMP also gives you the remaining 1100 MB of RAM, but it doesn't hurt to try :) I have the same problem with only 100 MB missing. Good luck!

Regards, Dutch Master

marozsas 05-25-2006 08:00 AM

I am not sure how is in debian, but in Fedora, RH, RHEL, and SuSE, there is a file /boot/config-whatever. This is the configuration file used to build your kernel.

You need to have enabled in this config file:
Code:

$ grep -i highmem /boot/config-whatever
CONFIG_HIGHMEM=y
CONFIG_HIGHMEM4G=y

in the config file, to have a kernel which recognizes memory from 1G to 4G.

Dutch Master 05-25-2006 08:16 AM

This might help: link

farslayer 05-25-2006 09:27 AM

You didn't specify which build of Debian so I am going to assume Debain Stable, Depending on what kernel you want..

If you are runningg the 2.4 kernel it would be
apt-get install kernel-image-2.4-686-smp

or if you are running the 2.6 kernel
apt-get install kernel-image-2.6-686-smp


IF the system still does not detect the 2GB of RAM with the 2.6 SMP kernel installed (I believe it will) you may need to recompile the kernel to enable high memory support. In 2.6 the value you need to modify is found in [ Processor type and features -> High memory support ]. Set it 4GB.


All times are GMT -5. The time now is 10:16 AM.