Re: Memory problem
From: Erik Mouw
Date: Wed Apr 27 2005 - 08:21:31 EST
On Sun, Apr 24, 2005 at 04:40:50PM +0200, Froggy / Froggy Corp. wrote:
> I just see a memory problem : i have 1Gb install on my computer and only
> 275Mb are available when i take a look with "free".
> I use kernel 2.6.10, the bios tell me that i really have 1Gb (2*512
> DDR), the kernel have 4Gb option enable, so i dont understand.
>
> If someone have an idea.
>
> Thx in advance for any help,
> Regards,
>
> Here is some information :
[snip]
> -------------------------------------------------------------------------
> Linux version 2.6.10 (root@Odyssee) (gcc version 3.3.5 (Debian
> 1:3.3.5-12)) #3 S
> MP Sun Apr 24 16:00:50 CEST 2005
> BIOS-provided physical RAM map:
> BIOS-e820: 0000000000000000 - 000000000009d800 (usable)
> BIOS-e820: 000000000009d800 - 00000000000a0000 (reserved)
> BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
> BIOS-e820: 0000000000100000 - 0000000011340400 (usable)
> BIOS-e820: 0000000011340400 - 0000000011343400 (ACPI NVS)
> BIOS-e820: 0000000011343400 - 0000000011350400 (ACPI data)
> BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
The kernel takes the amount of memory the BIOS tells it to use. If you
count all memory in the "usable" sections of the RAM map, it all adds
up to 275 MB.
erik@arthur:~> bc -l
ibase=16
(((11340400 - 100000) + (9D800)) / 400 / 400
274.8662109375
Might be a BIOS bug, or the BIOS RAM tester decided only 275 MB is
useable. Try upgrading the BIOS, or reset the CMOS.
Erik
--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
-
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/