LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-09-2012, 06:00 AM   #1
mburu
LQ Newbie
 
Registered: Jul 2007
Posts: 18

Rep: Reputation: 0
CentOS 6.2 (32 bit) with 4 GB physical ram, reports 3.36GB


Hi

Just installed CentOS 6.2 (32 bit) on a PC with 4GB ram but it only recognizes 3.36GB. Now I read about PAE which is in older CentOS versions enabling the system to use more physical RAM.

The question is how do I make the installation recognize and utilize the entire 4GB?

dmidecode shows 4GB

Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 4 GB
Error Information Handle: Not Provided
Number Of Devices: 4

[root# cat /etc/redhat-release
CentOS release 6.2 (Final)
[root# uname -a
Linux *** 2.6.32-220.23.1.el6.i686 #1 SMP Mon Jun 18 16:56:21 BST 2012 i686 i686 i386 GNU/Linux


Rgds
Mburu
 
Old 07-09-2012, 06:18 AM   #2
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 mburu View Post
I read about PAE which is in older CentOS versions
I haven't used CentOS 6 myself, so I don't know for sure, but do you have some reason for saying "older versions"? Do you think CentOS 6.2 doesn't offer a PAE kernel?

The PAE kernel should be a package you can install with Yum.

Quote:
dmidecode shows 4GB
dmidecode can see and report ram even if the motherboard can't really use that much ram.

Quote:
Maximum Capacity: 4 GB
Typically that phrase is a lie. If the motherboard is limited to 3 and a small fraction GB, it typically reports the max capacity as 4GB.

So maybe a PAE kernel will make no difference (if so, a 64 bit kernel also wouldn't change the 3.36GB limit).

Installing the PAE kernel may be the easiest way to find out whether the motherboard is responsible for the 3.36GB limit.

But you could also find out whether PAE would help before installing that kernel. See my other posts on this topic, such as:

http://www.linuxquestions.org/questi...5/#post4471420

Last edited by johnsfine; 07-09-2012 at 06:22 AM.
 
Old 07-09-2012, 06:39 AM   #3
mburu
LQ Newbie
 
Registered: Jul 2007
Posts: 18

Original Poster
Rep: Reputation: 0
By previous versions I mean like CentOS 5.8 in which "yum install kernel-pae" is available but not in 6.2

I have physically asserted the RAM is 4GB plus below is my lshw output on memory

Quote:
*-memory:0
description: System Memory
physical id: 36
slot: System board or motherboard
*-bank:0
description: DIMM DDR2 Synchronous 667 MHz (1.5 ns)
product: ..................
vendor: JEDEC ID:2C 00 00 00 00 00 00 00
physical id: 0
serial: B8B00B87
slot: XMM1
size: 2GiB
width: 64 bits
clock: 667MHz (1.5ns)
*-bank:1
description: DIMM DDR2 Synchronous 533 MHz (1.9 ns)
product: 64T64000HU3.7A
vendor: JEDEC ID:C1 00 00 00 00 00 00 00
physical id: 1
serial: 26A11206
slot: XMM2
size: 512MiB
width: 64 bits
clock: 533MHz (1.9ns)
*-bank:2
description: DIMM DDR2 Synchronous 533 MHz (1.9 ns)
product: NT512T64U88A0BY-37
vendor: JEDEC ID:7F 7F 7F 0B 00 00 00 00
physical id: 2
serial: 343A9866
slot: XMM3
size: 512MiB
width: 64 bits
clock: 533MHz (1.9ns)
*-bank:3
description: DIMM DDR2 Synchronous 667 MHz (1.5 ns)
product: HYMP512U64CP8-Y5
vendor: JEDEC ID:AD 00 00 00 00 00 00 00
physical id: 3
serial: 11400000
slot: XMM4
size: 1GiB
width: 64 bits
clock: 667MHz (1.5ns)
 
Old 07-09-2012, 06:53 AM   #4
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 mburu View Post
I have physically asserted the RAM is 4GB plus below is my lshw output on memory
That is the same dmidecode info, simply reported by a different tool. The BIOS also uses that same dmi info when reporting installed memory.

None of that tells you whether the motherboard actually supports that much memory. If the max ram supported by the motherboard is 3.36GB, that means you can plug in 4GB and dmi info will tell you that you have 4GB, and the BIOS will tell you there is 4GB, but the BIOS will tell the OS there is only 3.36GB.

If the PAE kernel is harder to get for Centos 6, that is an extra reason to use the dmesg method I described in other threads to find out whether PAE would do any good.

Edit: I just did a google search "centos 6" "pae kernel" and the answer seems to be that Centos has not dropped the PAE kernel, it has dropped the non PAE kernel, so the one you already have is probably PAE.

It is possible there is a BIOS menu choice (often called memory remap enable) to allow more than 3.36GB to be used. But it is likely a hardware restriction of the motherboard and you are stuck with the 3.36GB limit.

Last edited by johnsfine; 07-09-2012 at 06:59 AM.
 
Old 07-09-2012, 07:01 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885
Please post the output of
Code:
zcat /proc/config.gz | grep -i pae
If it shows that you already have PAE enabled then there are two possibilities:
1. This is a hardware limitation that usually is found on mainboards that support a maximum of 4GB RAM and therefore don't offer memory remapping.
2. Your hardware can support more than 4GB of RAM, but memory remapping is disabled in the BIOS.
 
Old 07-09-2012, 07:15 AM   #6
mburu
LQ Newbie
 
Registered: Jul 2007
Posts: 18

Original Poster
Rep: Reputation: 0
True 6.2 is pae enabled by default,,,,,

@TobiSGD
Quote:
# zcat /proc/config.gz | grep -i pae
gzip: /proc/config.gz: No such file or directory
 
Old 07-09-2012, 12:17 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,692

Rep: Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582
http://www.centos.org/modules/newbb/...ime=1341839130

At least we agree.
 
Old 07-09-2012, 01:42 PM   #8
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Would this mainboard have integrated graphics ?
Check your BIOS.
 
Old 07-14-2012, 04:55 AM   #9
mburu
LQ Newbie
 
Registered: Jul 2007
Posts: 18

Original Poster
Rep: Reputation: 0
Seems I have to investigate the motherboard itesf or forget the 4Gb all together.
 
  


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
Address more than 4 GB of RAM to 32 bit CentOS (5.6) Steve_Aug Linux - Hardware 12 09-19-2011 10:08 AM
Determine Physical RAM size skistner Linux - Hardware 18 02-22-2010 12:57 PM
dmidecode reports 128MG RAM Module Rupertt Linux - Hardware 1 02-24-2009 11:42 AM
P 501 Total ram and physical ram Ammad Linux - Hardware 2 02-20-2008 01:00 AM
Size of physical RAM bkankur Linux - General 3 07-21-2006 05:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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