Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-28-2012, 11:03 AM
|
#1
|
|
LQ Newbie
Registered: Mar 2006
Posts: 20
Rep:
|
4GB RAM shows only 3GB on a 3.2.0 686-pae kernel (using LMDE)
Hey guys
It's not a new one. I did quite some research but can't find any related thread about this, sorry if it's only a simple one~
I can get only 3GB out of 4GB of my RAM.
I'm listing down the things I found on my machine:
* CPU supports PAE:
Quote:
$ cat /proc/cpuinfo | grep pae
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon bts aperfmperf pni monitor vmx est tm2 xtpr pdcm dtherm
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon bts aperfmperf pni monitor vmx est tm2 xtpr pdcm dtherm
|
* RAM 4GB recognized by motherboard:
Quote:
$ sudo dmidecode -t 17
# dmidecode 2.11
SMBIOS 2.4 present.
Handle 0x002A, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0029
Error Information Handle: No Error
Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: SODIMM
Set: None
Locator: DIMM 1
Bank Locator: Bank 0/1
Type: DDR2
Type Detail: Synchronous
Speed: Unknown
Manufacturer: Not Specified
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Handle 0x002B, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0029
Error Information Handle: No Error
Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: SODIMM
Set: None
Locator: DIMM 2
Bank Locator: Bank 2/3
Type: DDR2
Type Detail: Synchronous
Speed: Unknown
Manufacturer: Not Specified
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
|
* And with a PAE kernel:
Quote:
$ uname -r
3.2.0-4-686-pae
|
* Only 3GB available to OS:
Quote:
$ head /proc/meminfo
MemTotal: 3105568 kB
MemFree: 2316728 kB
Buffers: 53312 kB
Cached: 401400 kB
SwapCached: 0 kB
Active: 396072 kB
Inactive: 348084 kB
Active(anon): 290036 kB
Inactive(anon): 45596 kB
Active(file): 106036 kB
|
Thanks
Last edited by azurvii; 12-28-2012 at 11:11 AM.
|
|
|
|
12-28-2012, 11:12 AM
|
#2
|
|
Member
Registered: Jan 2012
Distribution: Slackware
Posts: 690
Rep: 
|
dmidecode only shows that the motherboard recognizes the RAM modules, not that it is able to effectively use that memory.
Some of the addressing space between 3 and 4 gigabytes is always occupied by system resources like the PCI bus and the BIOS. The video card also uses some of this memory area for an "aperture", where blocks of video card memory can be mapped in and out as needed.
In order to make use of 4 gigabytes of physical RAM, the chipset must be able to remap physical memory in the 3-4G area to an area above 4G. Not all chipsets are able to do this.
Look for a BIOS setting that activates memory remapping. If no such option exists on your system, I'm afraid you're out of luck.
|
|
|
|
12-28-2012, 11:15 AM
|
#3
|
|
Senior Member
Registered: Dec 2007
Distribution: Mepis, Centos
Posts: 4,680
|
It is possible the BIOS, chipset or motherboard does not support a full 4GB and there is nothing you can do about it. The fact that the motherboard can recognize 4GB via DMI info does not imply the motherboard can use 4GB.
It is possible there is a "memory remap" or other option in BIOS setup that must be enabled in order to support a full 4GB. Reboot into the BIOS menu and look around for anything that looks like it might enable "memory remap" or some similar name or anything else related to extra ram.
|
|
|
1 members found this post helpful.
|
12-28-2012, 11:58 AM
|
#4
|
|
LQ Newbie
Registered: Mar 2006
Posts: 20
Original Poster
Rep:
|
Thanks dudes for the hints
This Thinkpad X60 supports up to 2x2=4GB as stated in their specs.
I saw the RAM mapping in dmesg:
Code:
$ !dmesg
dmesg | head -20
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.2.0-4-686-pae (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-12) ) #1 SMP Debian 3.2.32-1
[ 0.000000] Disabled fast string operations
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
[ 0.000000] BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000d2000 - 00000000000d4000 (reserved)
[ 0.000000] BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 00000000bf6d0000 (usable)
[ 0.000000] BIOS-e820: 00000000bf6d0000 - 00000000bf6df000 (ACPI data)
[ 0.000000] BIOS-e820: 00000000bf6df000 - 00000000bf700000 (ACPI NVS)
[ 0.000000] BIOS-e820: 00000000bf700000 - 00000000c0000000 (reserved)
[ 0.000000] BIOS-e820: 00000000f0000000 - 00000000f4000000 (reserved)
[ 0.000000] BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
[ 0.000000] BIOS-e820: 00000000fed00000 - 00000000fed00400 (reserved)
[ 0.000000] BIOS-e820: 00000000fed14000 - 00000000fed1a000 (reserved)
[ 0.000000] BIOS-e820: 00000000fed1c000 - 00000000fed90000 (reserved)
[ 0.000000] BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[ 0.000000] BIOS-e820: 00000000ff800000 - 0000000100000000 (reserved)
Indeed after roughly 3GB it's been reserved. I dug in BIOS but didn't see any remapping options. I'll try to do a pending BIOS upgrade later to see.
Thanks
|
|
|
|
12-28-2012, 12:06 PM
|
#5
|
|
Member
Registered: Jan 2012
Distribution: Slackware
Posts: 690
Rep: 
|
This thread seems to confirm that a 3Gb chipset limitation exists on the x60.
|
|
|
1 members found this post helpful.
|
12-28-2012, 12:08 PM
|
#6
|
|
Senior Member
Registered: Dec 2007
Distribution: Mepis, Centos
Posts: 4,680
|
Quote:
Originally Posted by azurvii
This Thinkpad X60 supports up to 2x2=4GB as stated in their specs.
|
Typically such a claim in the specs of a computer are a lie.
Most systems that claim to support a max of 4GB have no remapping option and thus support much less than 4GB.
By apparently blaming that 3GB limit on Windows XP, that spec appears to be an even more vicious lie than the typical ones.
There are some systems in which 32-bit XP is limited to 3GB while PAE Linux can use more. But this does not appear to be one of those systems. It appears that all OS's are limited to the same 3GB.
Last edited by johnsfine; 12-28-2012 at 12:13 PM.
|
|
|
|
12-28-2012, 03:04 PM
|
#7
|
|
Member
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 766
Rep: 
|
forget it ...
Last edited by ukiuki; 12-28-2012 at 04:37 PM.
|
|
|
|
12-28-2012, 03:33 PM
|
#8
|
|
Senior Member
Registered: Dec 2007
Distribution: Mepis, Centos
Posts: 4,680
|
Quote:
Originally Posted by ukiuki
have you tried to compile your own kernel?
Try to boot with a live cd for 64bits(if your system is capable) to check if it is reading 4gb.
|
All that is a waste of time. The dmesg output in post #4 is conclusive. Unless the motherboard/BIOS issue could be corrected, there is nothing any OS could do.
Quote:
|
When the machine start do you see the bios reading 4gb of ram?
|
Irrelevant. Most BIOS's displays that info based on DMI info. The fact that the BIOS can read the ram's dmi info does not mean the ram can be used.
Quote:
|
The 1st thing to know is if the motherboard can manage 4gb,
|
That does seem to be the question.
Quote:
|
looks like it can, it normally goes with even numbers, 2gb, 4gb, 8gb, 16gb, etc, etc. I don't remember any mobo that goes with tops 3gb
|
You are seriously misinformed.
Last edited by johnsfine; 12-28-2012 at 03:34 PM.
|
|
|
|
12-28-2012, 04:37 PM
|
#9
|
|
Member
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 766
Rep: 
|
Quote:
Originally Posted by johnsfine
You are seriously misinformed.
|
Just ignore me then. Have a nice day.
Regards
|
|
|
|
12-29-2012, 01:08 AM
|
#10
|
|
LQ Newbie
Registered: Mar 2006
Posts: 20
Original Poster
Rep:
|
Quote:
Originally Posted by Ser Olmy
This thread seems to confirm that a 3Gb chipset limitation exists on the x60.
|
Thanks guys, it seems it's the case.
I just updated the BIOS, but nowhere I can find an option related to remapping memory.
So, there is no way to override the BIOS' mapping settings when loading the kernel?
I'm totally fine with 3GB but I am actually expecting after taking over the control from BIOS, the kernel should be configurable.
|
|
|
|
12-29-2012, 08:14 AM
|
#11
|
|
Member
Registered: Jan 2012
Distribution: Slackware
Posts: 690
Rep: 
|
Quote:
Originally Posted by azurvii
So, there is no way to override the BIOS' mapping settings when loading the kernel?
I'm totally fine with 3GB but I am actually expecting after taking over the control from BIOS, the kernel should be configurable.
|
There would have to be a setting to override first. This is a physical/electrical limitation of the Intel 945GM chipset. If the chipset can't remap RAM in the 3G-4G area to appear above 4G, there's little the Linux kernel (or the BIOS) can do about it.
|
|
|
1 members found this post helpful.
|
12-29-2012, 11:55 PM
|
#12
|
|
LQ Newbie
Registered: Mar 2006
Posts: 20
Original Poster
Rep:
|
Thanks Ser Olmy
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:04 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|