From owner-freebsd-stable@FreeBSD.ORG Mon Jul 6 21:03:18 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 049171065670 for ; Mon, 6 Jul 2009 21:03:18 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id BD3228FC16 for ; Mon, 6 Jul 2009 21:03:17 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from [IPv6:2001:7b8:3a7:0:bdb1:b6a5:88be:cfe9] (unknown [IPv6:2001:7b8:3a7:0:bdb1:b6a5:88be:cfe9]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id D52CD5C59; Mon, 6 Jul 2009 23:03:16 +0200 (CEST) Message-ID: <4A526693.5020401@andric.com> Date: Mon, 06 Jul 2009 23:03:15 +0200 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.1pre) Gecko/20090705 Shredder/3.0b3pre MIME-Version: 1.0 To: Amza Marian References: <0475D596F44442839D969C59B5E93F84@workstation> <42650195230C4DE4B7816F944EB3B464@workstation> In-Reply-To: <42650195230C4DE4B7816F944EB3B464@workstation> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: hw.realmem in stable. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jul 2009 21:03:18 -0000 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