From owner-freebsd-questions@FreeBSD.ORG Sat Sep 20 12:38:55 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53A871065672 for ; Sat, 20 Sep 2008 12:38:55 +0000 (UTC) (envelope-from fahadullah@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id 213BD8FC15 for ; Sat, 20 Sep 2008 12:38:55 +0000 (UTC) (envelope-from fahadullah@gmail.com) Received: by wa-out-1112.google.com with SMTP id j4so522989wah.3 for ; Sat, 20 Sep 2008 05:38:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:mime-version:content-type:x-google-sender-auth; bh=qX7zoQMZvt1w+EXZOVlOpOeq+jHtSECoCG6fblsgcrM=; b=xSWTkDiOnQR1VWf8g9W8m+Ld0bUPh3oNXUpoxFf8MkFuN33ijRF1EK0kENBKDRKHO1 vizrxvPeLG3qfv3iwA/2Le3gnfVwaF7kJVsYUvmL5LR8o06QAYtRKyISHl/qrniVk0zg ZxGO4TMLr55QAVapeRmps+2Ko8NRy48QbW5ZE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :x-google-sender-auth; b=AaMNfnOz73NdxPXGrXOQhSyGYpPdLH+kLxf6UGvRPh3kfmvus/W5H8ZZK/HTvCMzoW CmXo+qfAl3Rc5G9uIlPIKCEiiHwTu+qBUcVNfpMyl4x7BW+J6xOSNNC7qgUvvIgfK/yb cZtnt2vSh8McnHCGivE6M349doxkHZBjv0EMY= Received: by 10.114.211.1 with SMTP id j1mr1611342wag.103.1221912625971; Sat, 20 Sep 2008 05:10:25 -0700 (PDT) Received: by 10.115.73.7 with HTTP; Sat, 20 Sep 2008 05:10:25 -0700 (PDT) Message-ID: Date: Sat, 20 Sep 2008 05:10:25 -0700 From: questions Sender: fahadullah@gmail.com To: freebsd-questions@freebsd.org MIME-Version: 1.0 X-Google-Sender-Auth: 28a4a2aafb05af87 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Suspicious physical memory map from BIOS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2008 12:38:55 -0000 Hi, I have some problem with physical memory being getting reported incorrectly on Freebsd 6.3. I have 4GB of RAM installed but BIOS call actually returns following usable physical memory map - base address = 0, length = 640K base address = 1M, length = 2.5G base address = 4G, length = 5.5G How am I getting this third segment? Also, in function getmemsize() in machdep.c, why the variable 'Maxmem' is set to 'Maxmem*4' when hw.physmem and the highest page number obtained from physical memory map don't match? Any help with this would be wonderful. Thanks, Fahad