LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
LinkBack Search this Thread
Old 10-13-2006, 03:01 AM   #1
surajc
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Rep: Reputation: 0
Unhappy Do not seem to be able to use more than 1GB RAM


Hi all,

We currently use 2.4.20 kernel, (the normal RH 9). We have a PC with 4GB RAM. When RH was installed, we got three kernels options to boot up with - uniprocessor, SMP and bigmem kernels. BTW, we use a 3.0GHZ Pentium Xeon Dual Core processor. Now, my questions are:

1. What are the differences between the three kernels

2. Though when we do cat /proc/meminfo and see all the 4GB RAM, we are not able to use them. Our software runs both from kernel space and someone the user space, but mainly on the kernel space, and for some reason, we want to use only the UP kernel. Is there a way to change something on the UP kernel to make use of all the 4GB RAM on the box?

Thanks a lot.
 
Old 10-13-2006, 03:12 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
You cannot access more than 1GB of RAM because your kernel is too old perhaps?

You do know that RH9 is very legacy - to get the most out of your hardware you should consider a more up-to-date distro. If you like the RedHat way, you may like Fedora Core ... this will be much much easier than upgrading RH9.
 
Old 10-13-2006, 03:24 AM   #3
surajc
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Arrow Yeah, its legacy stuff, but still, RH 9 is to be used...

Thanks for the reply Simon.

Yeah, we do know that RH 9 is legacy stuff, but currently we are bound to use that for some strange reason, which I currently do not know. We wanted to know that if RH 9 UP kernel allows to usemore than 1 GB address spaces, or do we have to use the SMP kernel or the bigmem kernel?

Thanks,
Suraj
 
Old 10-13-2006, 05:19 AM   #4
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
You have to use the bigmem kernel. Chances are the configs won't be too different if all 3 shipped with the distro so I doubt you'd notice any differences other than all your memory being used correctly
 
Old 10-13-2006, 10:16 AM   #5
surajc
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Original Poster
Rep: Reputation: 0
So, UP kernel can use only 1GB RAM?

So, what you mean is that, the UP kernel can use only one GB RAM, though it can list out all the 4GB available?

I thought the bigmem kernel is required only if more than 4GB memory was used.

What about the SMP kernel? How much memory can it use?
 
Old 10-13-2006, 05:56 PM   #6
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
I have no idea about what the kernels actually support, I don't have the distro in front of me to have a look....

The default memory options in a vanilla kernel won't read more than 1GB, I've never been in the position to have a problem with that so I don't know what it'll show if you have more than what is supported. I'm just basing my comments on the fact that you are having problems with your memory not being used, ergo use the bigmem kernel.

If you want any more detailed information than that you're going to need to either look into it yourself by looking in /boot or /usr/src for kernel configs, booting each kernel individually and checking /proc/config.gz or looking in the Redhat documentation. For RH9 there probably won't be any docs left on the Redhat site in which case you go to the person who made the decision to use an out of date distro and inform them it is now their job to find the problem.
 
Old 10-13-2006, 08:55 PM   #7
surajc
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks a lot!

I think this is quite enough information for me. The reason why we haven't quite gone to the latest kernel is it requires lot of porting effort. It is currently being done, but it is going to take a while. Until then, we are trying to live with what is available.

Anyway, thanks again.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sarge + 1GB RAM how? KaraK Debian 9 01-07-2005 08:00 PM
1Gb or Ram - Do I need Swap? Riddick Suse/Novell 8 11-10-2004 05:44 AM
Mandrake problem with 1GB RAM vandervagos Mandriva 3 11-16-2003 11:44 AM
Installing/Using Linux with 1GB of RAM HELP Carcustomz2002 Linux - Software 6 10-21-2003 01:10 PM
1GB ram support for suse 9.0 thegreatgatsby Linux - Distributions 5 10-15-2003 12:22 PM


All times are GMT -5. The time now is 08:50 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration