From owner-freebsd-amd64@FreeBSD.ORG Mon Oct 13 12:40:23 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 262C21065690 for ; Mon, 13 Oct 2008 12:40:23 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA10.westchester.pa.mail.comcast.net (qmta10.westchester.pa.mail.comcast.net [76.96.62.17]) by mx1.freebsd.org (Postfix) with ESMTP id C4BC58FC0C for ; Mon, 13 Oct 2008 12:40:22 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA06.westchester.pa.mail.comcast.net ([76.96.62.51]) by QMTA10.westchester.pa.mail.comcast.net with comcast id SApu1a00R16LCl05ACgN4H; Mon, 13 Oct 2008 12:40:22 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA06.westchester.pa.mail.comcast.net with comcast id SCgL1a00J2P6wsM3SCgLsx; Mon, 13 Oct 2008 12:40:21 +0000 X-Authority-Analysis: v=1.0 c=1 a=cEdMfGylfGIA:10 a=-oiKNakfrREA:10 a=QycZ5dHgAAAA:8 a=y6pghArEQygj5ec9oL0A:9 a=AwHrvj8r8yNKgiV--6xhesnaBLIA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 33174C941C; Mon, 13 Oct 2008 05:40:20 -0700 (PDT) Date: Mon, 13 Oct 2008 05:40:20 -0700 From: Jeremy Chadwick To: Gary Jennejohn Message-ID: <20081013124020.GA18797@icarus.home.lan> References: <20081013141556.7b7a0806@ernst.jennejohn.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081013141556.7b7a0806@ernst.jennejohn.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-amd64@FreeBSD.org Subject: Re: how does the kernel go about mapping memory for amd64? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 12:40:23 -0000 On Mon, Oct 13, 2008 at 02:15:56PM +0200, Gary Jennejohn wrote: > > I have a new mother board, a Gigabyte GA-MA78GPM-DS2H, which shows > really weird behavior under FreeBSD when I have 4GB of memory and a > PCI card plugged into it. > > With an Adaptec 29160 plugged in FreeBSD sees only 3GB and there is _no_ > memory mapped above 4GB. This seems like a bug in the BIOS. > > With no PCI card plugged in FreeBSD sees memory mapped above 4GB and > almost 4GB are available. > > Note that this board has graphics in the chipset (AMD 780G) which uses UMA > (128 MB) for the video buffer. > > This behavior leads me to believe that FreeBSD is only using the memory > mapping hints provided by the BIOS and is not sizing and mapping memory > itself. > > Is that correct? You might also try freebsd-hackers for this kind of thing, as it's pretty low-level. Does Linux and/or Windows exhibit the same problem? If so, I would open up a case with Gigabyte. This should be very easily reproducible, although I would not be surprised if they ask for you to send them your Adaptec controller. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |