View previous topic :: View next topic |
Author |
Message |
kommissar Tux's lil' helper
Joined: 19 May 2005 Posts: 78
|
Posted: Tue Jun 21, 2005 10:14 pm Post subject: Only 883 out of 1024 MB of RAM detected... why? [solved] |
|
|
I am using the gentoo-sources-2.6.11-r11 kernel release. The amount of memory I have seems to be detected incorrectly. Both top and free are detecting only about 883 MB of RAM. I actually have 1024MB of DDR memory as two sticks of 512 (running dual channel). Below you will see that lshw correctly shows this information. Here is the output:
Code: |
praetorian ~# top
Tasks: 113 total, 1 running, 112 sleeping, 0 stopped, 0 zombie
Cpu(s): 12.3% us, 1.6% sy, 0.0% ni, 86.1% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 904804k total, 895500k used, 9304k free, 22960k buffers
Swap: 498004k total, 620k used, 497384k free, 566804k cached
praetorian ~ # free -m
total used free shared buffers cached
Mem: 883 870 13 0 22 549
-/+ buffers/cache: 298 585
Swap: 486 0 485
|
lshw, however, clearly shows I have two sticks of 512 MB ram (and they are running in dual channel). Is there any special kernel configging i have to do to get my system to detect the correct amount, what is the deal?
Code: |
>lshw
*-memory
description: System Memory
physical id: 1a
slot: System board or motherboard
size: 1GB
*-bank:0
description: DIMM SDRAM Synchronous
physical id: 0
slot: A0
size: 512MB
width: 64 bits
*-bank:1
description: DIMM [empty]
physical id: 1
slot: A1
*-bank:2
description: DIMM SDRAM Synchronous
physical id: 2
slot: A2
size: 512MB
width: 64 bits
*-bank:3
description: DIMM [empty]
physical id: 3
slot: A3
|
Last edited by kommissar on Tue Jun 21, 2005 11:02 pm; edited 1 time in total |
|
Back to top |
|
|
Corona688 Veteran
Joined: 10 Jan 2004 Posts: 1204
|
|
Back to top |
|
|
kommissar Tux's lil' helper
Joined: 19 May 2005 Posts: 78
|
Posted: Tue Jun 21, 2005 10:35 pm Post subject: |
|
|
Corona688 wrote: | It may have to do with your BIOS, and/or the AGP memory hole. |
I don't know why any BIOS related issues would cause this. I'm running an IC7 chipset with the appropriate PIIX and IC7 options enabled in the kernel. I'm not very familiar with the AGP memory hole, is 141MB of missing RAM typical? My video card has 128 MB of DDR ram... |
|
Back to top |
|
|
djpenguin Guru
Joined: 02 Sep 2004 Posts: 386
|
Posted: Tue Jun 21, 2005 10:42 pm Post subject: |
|
|
You need to enable HIGHMEM support in your kernel conf |
|
Back to top |
|
|
kommissar Tux's lil' helper
Joined: 19 May 2005 Posts: 78
|
Posted: Tue Jun 21, 2005 11:02 pm Post subject: |
|
|
djpenguin wrote: | You need to enable HIGHMEM support in your kernel conf |
Yes, after I looked at dmesg very closely i noticed this: Code: | BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data)
BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
Warning only 896MB will be used.
Use a HIGHMEM enabled kernel.
896MB LOWMEM available.
|
Enableing HIMEM did the trick, everything is detected at 1010MB now, not perfect but close enough. The reason why I did not enable HIMEM in the first place is because the first option, 4GB is misleading. I thought it was for 4GB and over not up to 4GB. |
|
Back to top |
|
|
Corona688 Veteran
Joined: 10 Jan 2004 Posts: 1204
|
Posted: Wed Jun 22, 2005 7:01 pm Post subject: |
|
|
kommissar wrote: | Corona688 wrote: | It may have to do with your BIOS, and/or the AGP memory hole. |
I don't know why any BIOS related issues would cause this. | I'm glad to be wrong in this case But it's not unheard of for the BIOS to make holes in available ram for various reasons -- slightly broken IOMMU and/or AGP support in bios, various ROM shadows, some weird 64-meg hole for OS/2, etc. _________________ Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Tue Sep 06, 2005 7:14 am Post subject: |
|
|
Moved from Kernel & Hardware to Duplicate Threads in favour of 1GB of memory but only 885 being seen? _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
|