FreeBSD reports incorrect amount of memory

perryh at pluto.rain.com perryh at pluto.rain.com
Wed Jun 22 02:36:50 UTC 2011


"Dieter BSD" <dieterbsd at engineer.com> wrote:

> Machine has been running FreeBSD/amd64 with 2 GiB of memory.
> I just installed a 2nd 2 GiB of memory for 4 GiB total.
> FreeBSD thinks it now has 32 GiB ???
>
> FreeBSD 8.2-RELEASE #22: Tue Jun ??7 12:37:21 PDT 2011
> CPU: AMD Athlon(tm) 64 Processor 3000+ (1808.34-MHz K8-class CPU)
> real memory ??= 34359738368 (32768 MB)
> avail memory = 3614437376 (3446 MB)

It seems to be only the "real memory" value, and not the "avail
memory", that's out of touch with reality.

Wild guess dept:  Your new 2 GiB has gotten mapped as [30,32) GiB
rather than as [2,4) GiB, and "real memory" is reporting the first
unpopulated address above the highest installed range.


More information about the freebsd-questions mailing list