General
cancel
Showing results for 
Search instead for 
Did you mean: 

Linux RedHat 7.2 - Adding Memory -

SOLVED
Go to solution
Francisco Mancardi_1
Frequent Advisor

Linux RedHat 7.2 - Adding Memory -

I'am running RH 7.2 on a IBM X235, and I've
added 2GB of ram.
at bios level I see 3GB and it's right, but
if i run free at command line, I've got the
old quantity of mem (1GB).

There some step I missed ?

Thanks a lot

Francisco
6 REPLIES
Martin P.J. Zinser
Honored Contributor
Solution

Re: Linux RedHat 7.2 - Adding Memory -

Hello Francisco,

your Kernel might not support that much memory.

In the toplevel of your source tree the follwoing command might help

grep GB .config

The file also might be loacted in your /boot
together with the Kernel and named slightly different (like vmlinuz.config).

If you find something like

CONFIG_1GB=y

your Kernel does not support "large" memory and you either need to recompile or download another Kernel from RedHat.

Greetings, Martin
Huc_1
Honored Contributor

Re: Linux RedHat 7.2 - Adding Memory -

Normaly it should be able to see up to 4Gb by default. That is if you have CONFIG_HIGHMEM4G=y
in your kernel (have a look in your .config file).

Also check to first page of dmesg like follows.

#dmesg | more

there on the first page of dmesg you should see what the system say's it see and if there are some error's reported.


Hope it help you

J-P
Smile I will feel the difference
Stuart Browne
Honored Contributor

Re: Linux RedHat 7.2 - Adding Memory -

Dig out the Enterprise level or 'Bigmem' kernel for RH7.2.

or compile your own.

As has been said, it has to do with the kernel memory flag.

Most machines don't have such large amounts of memory, so by default RH use a kernel tweaked for smaller memory amounts.
One long-haired git at your service...
Kodjo Agbenu
Honored Contributor

Re: Linux RedHat 7.2 - Adding Memory -

Hi Francisco,

As my collegue said, the standard kernel shipped with RH7.2 is compiled without the bigmem options.

First, you have to upgrade your kernel with either a 'smp' or a 'enterprise' version.

Download the kernel binaries here :

ftp://fr2.rpmfind.net/linux/redhat/updates/7.2/en/os/i686/

Good luck.

Kodjo
Learn and explain...
Francisco Mancardi_1
Frequent Advisor

Re: Linux RedHat 7.2 - Adding Memory -

I thank you all very much for your help.
I'm now a new questions regarding kernel update:

I've downloaded
kernel-bigmem-2.4.20-24.7.i686.rpm

I can't find the corresponding
kernel-headers and kernel-utils.

How can I know the right version to use
of these rpm?

thanks again
Stuart Browne
Honored Contributor

Re: Linux RedHat 7.2 - Adding Memory -

There aren't special kernel-source, kernel-utils or other packages to go with the bigmem and enterprise kernels.

The only things in the kernel packages are the kernel's (and related files) themselves.

Install it (not upgrade or freshen), and away you go.
One long-haired git at your service...