LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-26-2008, 05:27 PM   #1
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Why does Ubuntu 8.04 only see 3.5GB instead of 4GB? Yes, PAE is enabled


When I was using CentOS 5.1 x86, it had no problems seeing all 4GB of memory. With the new Ubuntu 8.04 x86, it only shows 3.5GB free. I loaded the /boot/config-`uname` in menuconfig and the default configuration shows that 4GB memory support is enabled, along with PAE. So what gives? Why only 3.5GB?
 
Old 04-26-2008, 07:31 PM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
This is probably not what you want to hear but with 4GB of RAM it would make sense to install the 64 bit version. It really doesn't make much of a difference anymore. I'm sure that you know what you are doing, it just seems a bit counterintuitive.

And yes, it does look as if PAE is enabled as 3.5GB is already more than the default kernel will support. Did you try the linux-server kernel?
 
Old 04-26-2008, 10:05 PM   #3
Smedley
Registered User
 
Registered: Apr 2008
Distribution: Slackware
Posts: 74

Rep: Reputation: 15
I have recompiled my kernel for 64GB of RAM and I can see all 4GB now.
 
Old 04-27-2008, 12:49 AM   #4
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by Smedley View Post
I have recompiled my kernel for 64GB of RAM and I can see all 4GB now.
Thanks! I will recompile my kernel with the 64GB option. I just found it odd since the original Ubuntu config file already shows 4GB memory support with PAE. On my old CentOS 5.1 32-bit system, I also had it on 4GB memory support with PAE and it saw all 4GB.
 
Old 04-28-2008, 01:27 AM   #5
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
I gave up on Ubuntu 8.04 because I could not compile the kernel. I got all these errors, and I am not familiar with compiling a Debian/Ubuntu based distro.

So, I decided to try Fedora 8 and I had the same problem with Fedora 8 only seeing 3.5GB instead of all 4! I am going back to CentOS 5.1. It was fun while it lasted, I think ...
 
Old 04-28-2008, 01:31 AM   #6
Smedley
Registered User
 
Registered: Apr 2008
Distribution: Slackware
Posts: 74

Rep: Reputation: 15
Quote:
Originally Posted by Micro420 View Post
I gave up on Ubuntu 8.04 because I could not compile the kernel. I got all these errors, and I am not familiar with compiling a Debian/Ubuntu based distro.

So, I decided to try Fedora 8 and I had the same problem with Fedora 8 only seeing 3.5GB instead of all 4! I am going back to CentOS 5.1. It was fun while it lasted, I think ...
Bummer, that's what I like Slackware, you can do anything with it.
 
Old 04-28-2008, 11:00 AM   #7
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by Smedley View Post
Bummer, that's what I like Slackware, you can do anything with it.
Never tried Slackware. I couldn't even download Slackware. When you go to Slackware.com, there is no download section. Very odd!

As for being able to do it all, I'm sure there was a way to compile a kernel in Ubuntu since I did read many "how-to's" online. I kept getting some kind of asm.c error when issuing the 'make' command. Never experienced problems compiling kernels in CentOS. CentOS is so straight forward: make, make modules, make modules_install, make install. Done! None of this apt-get huh wtf lib1337 followed by a dpkg -i -v -a -z -l -1 -b -c --comment=-blah --huh /root rm -rf kernel-2.9.999 stuff followed by a sudo fakeroot kernel-2.9.999 --comment=more options /aaaaa

Last edited by Micro420; 04-28-2008 at 11:01 AM.
 
Old 04-28-2008, 03:43 PM   #8
Smedley
Registered User
 
Registered: Apr 2008
Distribution: Slackware
Posts: 74

Rep: Reputation: 15
Quote:
Originally Posted by Micro420 View Post
Never tried Slackware. I couldn't even download Slackware. When you go to Slackware.com, there is no download section. Very odd!
Here it is, the section is called Get Slack:

http://slackware.com/getslack/

Pick a mirror close to you........Happy Slacking
 
Old 06-06-2008, 10:16 PM   #9
JReinis
LQ Newbie
 
Registered: Jun 2008
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by Smedley View Post
I have recompiled my kernel for 64GB of RAM and I can see all 4GB now.
How did you make it?
Any step-by-steps?
Is there Ubuntu 8.04 LTS Desktop?
Thx.

Last edited by JReinis; 06-06-2008 at 10:21 PM.
 
  


Reply



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
4GB bios shows as 3.5GB in 64bit fedora? terran2k Fedora 5 12-26-2007 01:41 AM
KERNEL PANIC: Cannot execute a PAE-enabled kernel on a PAE-less CPU! ovais370 Linux - Laptop and Netbook 7 10-13-2007 05:49 PM
Ubuntu: no go with PAE jay73 Linux - General 0 08-20-2007 10:16 AM
Ubuntu doesn't boot with LAN Adapter enabled aaargh486 Linux - Hardware 4 06-28-2007 02:43 PM
USB not enabled using latest Ubuntu monocongo Linux - Hardware 0 02-15-2007 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:00 PM.

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