LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-11-2009, 08:42 PM   #1
BeacoN
Member
 
Registered: Nov 2008
Distribution: Linux Mint
Posts: 56

Rep: Reputation: 17
Linux Mint reading RAM wrong?


Hey fellow LINUX heads....
I recently upgraded my RAM from 2 2gb sticks to 4 2gb sticks=8gb.
I have a Gigabyte mobo...GA-MA78GM-US2H, says it supports up to 16gb RAM and bios DOES reflect that I have 8gb installed.
However, when I cat /proc/meminfo these are the first two lines....
MemTotal: 3354744 kB
MemFree: 2776292 kB
saying Mint is using only about 3 gb, right? Any ideas to what's wrong?
 
Old 07-11-2009, 08:53 PM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Are you using 32bit? The 32bit address limit is about 3.5GB(effective). You can switch to a PAE kernel or switch to 64bit.
 
Old 07-11-2009, 11:06 PM   #3
BeacoN
Member
 
Registered: Nov 2008
Distribution: Linux Mint
Posts: 56

Original Poster
Rep: Reputation: 17
Thanks Laslow,

I had just found online where this is true. A guy at the Micro Center told me 32bit operating systems can have up to 32 or 64 gigs of RAM, apparently he was wrong. (it's okay, I still love you Micro Center!).

I am downloading 64 bit debian and centos as I type, what 64 bit version would you suggest?
 
Old 07-11-2009, 11:40 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Choosing a distro is a little like choosing underwear. It all depends on how it fits you. That being said, I use Centos 64bit (32bit on older machines). There is certainly nothing wrong with Debian either.
 
Old 07-12-2009, 12:00 AM   #5
BeacoN
Member
 
Registered: Nov 2008
Distribution: Linux Mint
Posts: 56

Original Poster
Rep: Reputation: 17
comfy

Lazlow, thank you for sharing your underwear.
 
Old 07-12-2009, 07:39 AM   #6
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by BeacoN View Post
Any ideas to what's wrong?
Either you are not using a PAE kernel, or you have a BIOS setting wrong.

If you aren't using a PAE kernel, the easiest solution is to switch to one. Reinstalling the 64-bit build of your distribution might be better, but it is certainly harder.

If you have a BIOS setting wrong, a 64 bit Linux would make no difference. For either PAE or 64 bit to see the memory, you need the BIOS to map the memory correctly.

So first find out if it is a BIOS problem. If it hasn't been so long since the last boot that the dmesg log has overflowed, you can find the physical RAM map by
Code:
dmesg | less
On one of my systems, it looks like this.
Code:
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 00000000bfe8ac00 (usable)
 BIOS-e820: 00000000bfe8ac00 - 00000000bfe8cc00 (ACPI NVS)
 BIOS-e820: 00000000bfe8cc00 - 00000000bfe8ec00 (ACPI data)
 BIOS-e820: 00000000bfe8ec00 - 00000000c0000000 (reserved)
 BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
 BIOS-e820: 00000000fec00000 - 00000000fed00400 (reserved)
 BIOS-e820: 00000000fed20000 - 00000000feda0000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fef00000 (reserved)
 BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
 BIOS-e820: 0000000100000000 - 00000001fc000000 (usable)
Notice the last line of mine. It shows the ram mapped above 4GB (0000000100000000 represents 4GB). If you have no ram mapped above 4GB, the BIOS has some setting incorrect and no OS can use more than 3 point something GB of ram.

Quote:
Originally Posted by BeacoN View Post
A guy at the Micro Center told me 32bit operating systems can have up to 32 or 64 gigs of RAM, apparently he was wrong. (it's okay, I still love you Micro Center!).
The guy at Micro Center got that right (very impressive. That's way beyond the knowledge you would expect for someone working in a computer store.)

I expect your existing distribution has a package for a PAE kernel you can download and install. Doing so would be much simpler than reinstalling the whole distribution.

Quote:
I am downloading 64 bit debian and centos as I type, what 64 bit version would you suggest?
In your other thread, someone said Mint has 64 bit (it's been long enough since I tried Mint, I wasn't sure, but I think the Mint I tried was 64 bit). So why are you switching from Mint?

Anyway, Centos would be a poor choice. Stick with some Debian based distribution (Mint, or Mepis, or Ubuntu or Debian itself).

Quote:
Originally Posted by lazlow View Post
It all depends on how it fits you. That being said, I use Centos 64bit (32bit on older machines). There is certainly nothing wrong with Debian either.
Once a beginner is used to Mint, switching to a distribution in the Red Hat family would have lots of confusing differences for no benefit.

Even more significant, Centos is a server distribution. I've installed Centos a few times and I use it at work. Its install process very much assumes you are setting up an enterprise server rather than a home system.

An experience Linux user can blast right past the Debian vs. Red Hat differences and past any assumptions made by the installer, and configure almost any Linux distribution into whatever he wants.

But a beginner is just going to follow the flow laid out by whoever put together the distribution and would get totally lost trying to reach a Home Linux system from the Centos installer.

Last edited by johnsfine; 07-12-2009 at 07:54 AM.
 
Old 07-12-2009, 07:46 AM   #7
fpmurphy
Member
 
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 299

Rep: Reputation: 62
Or you have a CPU that does not support PAE
 
Old 07-12-2009, 08:03 AM   #8
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by fpmurphy View Post
Or you have a CPU that does not support PAE
Read the first post.

Quote:
Originally Posted by BeacoN View Post
bios DOES reflect that I have 8gb installed.
So the CPU does support PAE.
 
Old 07-12-2009, 01:23 PM   #9
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
In the first post he says that the bios has recognized the entire 8gb, so I really doubt this is a bios issue.

As far as Centos being a poor choice, I would disagree with that. The install setup is virtually identical to Fedora's (C5 was based on FC6) and very few people would call Fedora a "sever only" distro.
 
Old 07-12-2009, 04:03 PM   #10
Colonel Schell
LQ Newbie
 
Registered: Jul 2009
Location: Central Ohio
Distribution: Ubuntu, Mint, and Slackware
Posts: 23

Rep: Reputation: 16
What about the 64-bit Mint distro?

There is a version of Mint for 64-bit architecture: it's listed as "amd-64" but, as we all know, that's just shorthand, if you're using an Intel CPU, folks. It's supposed to be friendly even to the Core 2 Duo family, as rumour would have it.

Apparently it started two versions ago, but see this thread if you want the details:
http://www.linuxmint.com/blog/?p=389.

Hope this helps.
 
Old 07-12-2009, 08:46 PM   #11
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by lazlow View Post
In the first post he says that the bios has recognized the entire 8gb, so I really doubt this is a bios issue.
Look at a bunch of the similar threads in LQ (threads where the initial issue is that Linux doesn't see all the ram). You should find several in which the problem is discovered to be some BIOS setting (OS install mode, or disable memory remap, etc.). Then notice that before the BIOS setting was corrected, the BIOS was seeing all the ram and reporting it to the user at boot time, but not reporting it to Linux in the physical memory map.

I'm not guessing whether the problem is in the BIOS (vs. a non PAE 32 bit kernel). There is no need to guess, because you can check in dmesg and find out for sure.
 
Old 07-12-2009, 09:48 PM   #12
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
johnsfine

If you look, the very few threads that do actually involve a bios issues with greater than 4gb ram were 1st generation boards. 1st generation boards did not support 2Gb sticks.
 
  


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
Newbie with Mint/ Linux needs to install Clam AV in Mint after 4 Wdws Trogan attack BAKEAPPLEFARM Linux Mint 6 03-24-2010 08:38 PM
Newbie with Mint/ Linux would like to iinstall WINE on Mint so found no help for this BAKEAPPLEFARM Linux Mint 4 05-08-2009 08:33 AM
How do I replace Linux Mint with Suse 11.0 on PC with Win XP Mint and Ubuntu? jremsen Linux - Software 4 02-15-2009 06:54 AM
re installation of grub in Linux mint after installing xp over mint sampad.sarangi General 1 01-15-2008 05:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:22 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