[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: I want all my 4GB!!!



On Wed, Jul 22, 2009 at 12:23:13PM +0400, James Brown wrote:
> ~$ dmesg | grep BIOS
> [    0.000000] BIOS-provided physical RAM map:
> [    0.000000]  BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
> [    0.000000]  BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
> [    0.000000]  BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
> [    0.000000]  BIOS-e820: 0000000000100000 - 00000000bf680000 (usable)
> [    0.000000]  BIOS-e820: 00000000bf680000 - 00000000bf700000 (ACPI NVS)
> [    0.000000]  BIOS-e820: 00000000bf700000 - 00000000c0000000 (reserved)
> [    0.000000]  BIOS-e820: 00000000e0000000 - 00000000f0000000 (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: 00000000ff000000 - 0000000100000000 (reserved)

So the last address reported by your bios is 4GB (0000000100000000)
at the end of a reserved area.  The last address of usable memory is
00000000bf680000 which is 3211264000 bytes, so your system does not
remap memory and hence anything covered by PCI devices is simply lost
and can not be used at all.  The hardware is either simply not capable of
remapping memory (this is true for many intel chipsets) or the BIOS didn't
make the chipset do remapping (sometimes there is a bios option for it).

> [    0.000000] ACPI: BIOS bug: multiple APIC/MADT found, using 0
> [    0.000000]   early res: 0 [0-fff] BIOS data page
> [    0.000000]   early res: 4 [9f800-fffff] BIOS reserved
> [    0.004000] Calgary: detecting Calgary via BIOS EBDA area
> [    0.264998] ACPI: BIOS _OSI(Linux) query ignored via DMI

So unless your bios has an option for memory remapping, there is no way
to make the rest of memory useable, and you will only get about 3.2GB
out of your 4GB.  Of course if the video steals some of that 3.2GB,
you get whatever is left.

-- 
Len Sorensen


Reply to: