LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 09-18-2006, 07:01 PM   #1
kitkit201
LQ Newbie
 
Registered: Sep 2006
Posts: 6

Rep: Reputation: 0
Cannot get RedHat 2.1 AS to recognize more than 4gb of Ram..


Hi folks-

First post! (hurrah!)

Well, I just put in 5gb of Ram in a database server, (and during POST, my server recognizes that) but I am having trouble getting RedHat 2.1 AS to recongnize the ram.

I found out that I had to use the enterprise kernel so I instaleld that "kernel-enterprise-2.4.9-e.34.i686.rpm" via rpm -ivh and rebooted and selected the enterprise kernel upon the GRUB screen.

Here is how my grub.conf looks like..
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/cciss/c0d0p3
#          initrd /initrd-version.img
#boot=/dev/cciss/c0d0
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.9-e.34enterprise)
        root (hd0,0)
        kernel /vmlinuz-2.4.9-e.34enterprise ro root=/dev/cciss/c0d0p3 mem=5120M
        initrd /initrd-2.4.9-e.34enterprise.img
title Red Hat Linux (2.4.9-34enterprise)
        root (hd0,0)
        kernel /vmlinuz-2.4.9-34enterprise ro root=/dev/cciss/c0d0p3 mem=5120M
title Red Hat Linux Advanced Server (2.4.9-e.34smp)
        root (hd0,0)
        kernel /vmlinuz-2.4.9-e.34smp ro root=/dev/cciss/c0d0p3 mem=5120M
        initrd /initrd-2.4.9-e.34smp.img
title Red Hat Linux Advanced Server-up (2.4.9-e.34)
        root (hd0,0)
        kernel /vmlinuz-2.4.9-e.34 ro root=/dev/cciss/c0d0p3 mem=5120M
        initrd /initrd-2.4.9-e.34.img
Right now, when I do a free -m I only get less than 4gb of ram showing..
Code:
[root@dhq-db1 root]# free -m
             total       used       free     shared    buffers     cached
Mem:          3889       2623       1265        205         77       1985
-/+ buffers/cache:        560       3328
Swap:         2047          0       2047
[root@dhq-db1 root]#
Any reason why I can't see the last gigabyte of ram? I could understand that about 200mb is allocated to PCI devices and what not, but whats gives?

Thanks
Wilson
 
Old 09-18-2006, 10:20 PM   #2
kutty_prasad
Member
 
Registered: Sep 2006
Location: Bangalore,India
Distribution: RHEL,Fedora, CentOS, Slackware 12 & wrestling with LFS
Posts: 86

Rep: Reputation: 16
Did you try using hugemem kernel?.

Last edited by kutty_prasad; 09-18-2006 at 11:43 PM.
 
Old 09-19-2006, 06:14 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 260Reputation: 260Reputation: 260
Change the 4G line:

CONFIG_HIGHMEM4G=y

To look like this in your kernel .config file:

CONFIG_HIGHMEM=y

Then recompile the kernel.
 
Old 09-19-2006, 08:36 AM   #4
kitkit201
LQ Newbie
 
Registered: Sep 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by trickykid
Change the 4G line:

CONFIG_HIGHMEM4G=y

To look like this in your kernel .config file:

CONFIG_HIGHMEM=y

Then recompile the kernel.
Sorry, I'm pretty green when it comes to all this stuff. Can someone tell me step by step where this kernel .config file is at and how do I recompile the kernel if I am installing it via rpm?

Thanks
Wilson
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
3.6GB RAM instead of 4GB ??? masterross Slackware 11 09-04-2008 08:07 AM
REDHAT 9 SMP and more than 4GB RAM dukeoflinux Linux - Hardware 4 08-22-2007 10:33 PM
utilize 4gb of ram cynick Linux - General 2 04-20-2006 11:42 AM
4GB RAM not showing eddie0uk Linux - Hardware 5 03-12-2005 07:08 AM
upgrading ram to 1.5G, redhat linux ES 3.0 doesn't recognize?? Manjit Linux - Hardware 0 08-19-2004 06:28 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 02:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration