Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jul 2009 23:03:15 +0200
From:      Dimitry Andric <dimitry@andric.com>
To:        Amza Marian <tech@unixteacher.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: hw.realmem in stable.
Message-ID:  <4A526693.5020401@andric.com>
In-Reply-To: <42650195230C4DE4B7816F944EB3B464@workstation>
References:  <0475D596F44442839D969C59B5E93F84@workstation>	<alpine.BSO.1.00.0907062240390.13690@isl-s-02.htw-saarland.de> <42650195230C4DE4B7816F944EB3B464@workstation>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A526693.5020401>