hw.realmem in stable.

Dimitry Andric dimitry at andric.com
Mon Jul 6 21:03:18 UTC 2009


On 2009-07-06 22:57, Amza Marian wrote:
> I have the kernel compiled with PAE option but anyway, the system report 
> only 600 MB ram
...
> hw.realmem: 603979776
...
> lsg ~ # grep memory /var/run/dmesg.boot
> real memory  = 4898947072 (4672 MB)
> avail memory = 4117958656 (3927 MB)

This looks like a wraparound issue, your realmem doesn't fit into a
32-bit integer:

4,672 MB - 2^32 = 4,898,947,072 - 4,294,967,296 = 603,979,776


More information about the freebsd-stable mailing list