Re: missing 700 MB of RAM
From: Yinghai Lu
Date: Mon Nov 22 2010 - 18:26:45 EST
On Sun, Nov 21, 2010 at 11:02 AM, Andreas Hartmann
<andihartmann@xxxxxxxxxxxxxxx> wrote:
> Hello,
>
> I've got 8 GB RAM installed, but linux reports 7,3 GB. Where is the
> missing RAM (700 MB)?
>
> free
> total used free shared buffers cached
> Mem: 7706580 5271096 2435484 0 79232 3049120
> -/+ buffers/cache: 2142744 5563836
> Swap: 8393956 0 8393956
>
> The motherboard is a GA-MA78GM-S2H (64bit, AMD) with a on board Radeon
> HD 3200 VGA card. The card uses 256 MB of RAM - so 444 MB of RAM are
> missing. Where are they gone?
>
>
> kernel: 2.6.34.7-33-desktop (OpenSuSE 11.3)
>
> dmesg
> Linux version 2.6.34.7-33-desktop (geeko@buildhost) (gcc version 4.4.1
> [gcc-4_4-branch revision 150839] (SUSE Linux) ) #1 SMP PREEMPT
> 2010-11-09 20:08:44 +0100
> Command line:
> root=/dev/disk/by-id/scsi-SATA_WDC_WD5000AACS-_WD-WCAUF1158341-part1
> splash=silent quiet nmi_watchdog=0 iommu=noagp,memaper=0 agp=off vga=0x376
> BIOS-provided physical RAM map:
> BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
> BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
> BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
> BIOS-e820: 0000000000100000 - 00000000afde0000 (usable)
> BIOS-e820: 00000000afde0000 - 00000000afde3000 (ACPI NVS)
> BIOS-e820: 00000000afde3000 - 00000000afdf0000 (ACPI data)
> BIOS-e820: 00000000afdf0000 - 00000000afe00000 (reserved)
> BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
> BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
> BIOS-e820: 0000000100000000 - 0000000230000000 (usable)
...
> 01:05.0 VGA compatible controller: ATI Technologies Inc Radeon HD 3200
> Graphics (prog-if 00 [VGA controller])
> Subsystem: Giga-byte Technology GA-MA78GM-S2H Motherboard
> Flags: bus master, fast devsel, latency 0, IRQ 18
> Memory at d0000000 (32-bit, prefetchable) [size=256M]
> I/O ports at ee00 [size=256]
> Memory at fdfe0000 (32-bit, non-prefetchable) [size=64K]
> Memory at fde00000 (32-bit, non-prefetchable) [size=1M]
> Expansion ROM at <unassigned> [disabled]
> Capabilities: [50] Power Management version 3
> Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
> Kernel driver in use: fglrx_pci
looks like
your BIOS only mmio remapping from 0xd000000 to 0x100000000
because last e820 entry and TOM2 is 0x230000000.
so you lose memory from 0xb0000000 to 0xd0000000. that 512M?
check with your system vendor to get a BIOS update...
Yinghai
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/