LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
 
Search this Thread
Old 10-04-2006, 01:59 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,902

Rep: Reputation: 73
Big RAM


Why do some default kernels not support large ram capacity? I noticed than when I have over 1GB of RAM on a workstation or server and the kernel will only display 886MB's of RAM. I know for a fact that it has 2 GB of RAM so I get very confused. Is there a reason for this? I know in the past upgrading to a more recent / testing kernel will resolve this.

Any input?
 
Old 10-04-2006, 02:16 PM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
If I'm correct, you need to enable a specific kernel module (if that's the right word) to be able to install more memory than some small amount (like support over 4G of ram). It increases kernel size, and my logic is that if something is not needed, it shouldn't be in the kernel.
 
Old 10-04-2006, 03:28 PM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,902

Original Poster
Rep: Reputation: 73
I notice that many can't even detect 1GB of RAM. Is that normal?
 
Old 10-04-2006, 04:44 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 64
Quote:
Originally Posted by Carlwill
I notice that many can't even detect 1GB of RAM. Is that normal?
Yes it is on a 32bit machine you need to patch the kernel with what is called I believe the lomem patch this allows a 32bit machine to access the full 1gb as low memory or if needed a kernel with HIGHMEM enabled in the kernel config for > 1gb memory.
 
Old 10-04-2006, 07:27 PM   #5
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,902

Original Poster
Rep: Reputation: 73
How exactly do you "patch" a kernel to support this?
 
Old 10-04-2006, 08:03 PM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 64
Quote:
Originally Posted by Carlwill
How exactly do you "patch" a kernel to support this?
Same way you patch any kernel get the patch that applies to the source version you are using then change into the kernel source directory and patch -p1 < /path/to/patch/file then configure and compile the kernel preferable using the kernel-package method since I see you use Debian. A real easy way to get the support is to look for the Con Kolivas patches when using older kernel as I believe it (lomem patch) is included in the mainline kernel now. Did a quick search apparently it is a config option in the HIGHMEM section to use 1gb as low memory from at least 2.6.16 according to this page.
 
  


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
Big O, Big Omega, and Big Theta oulevon Programming 7 05-26-2010 07:18 AM
Configuring LiLO Error 'Initial RAM disk.... and is too big to fit between 4M-15M..' elliotfuller Linux - General 1 09-07-2005 11:22 PM
Big, big hard drive in a little, little tablet... pengyou Linux - Laptop and Netbook 6 10-18-2004 03:44 AM
Installing RH 9 with RAID 5 --Big, big Problem!!! rhonneil Linux - Software 2 09-25-2003 08:13 PM
big BIG javascript & loading time luigi Programming 3 09-10-2001 03:53 AM


All times are GMT -5. The time now is 06:26 AM.

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