From owner-freebsd-scsi@FreeBSD.ORG Thu Jan 31 22:24:01 2008 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5375A16A420 for ; Thu, 31 Jan 2008 22:24:01 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout3.freenet.de (mout3.freenet.de [IPv6:2001:748:100:40::2:5]) by mx1.freebsd.org (Postfix) with ESMTP id 26EA913C45D for ; Thu, 31 Jan 2008 22:24:01 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.16] (helo=6.mx.freenet.de) by mout3.freenet.de with esmtpa (Exim 4.68) (envelope-from ) id 1JKhp9-0004qm-Gd; Thu, 31 Jan 2008 23:23:59 +0100 Received: from x0f97.x.pppool.de ([89.59.15.151]:56545 helo=peedub.jennejohn.org) by 6.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.68 #9) id 1JKhp9-0000N9-8J; Thu, 31 Jan 2008 23:23:59 +0100 Date: Thu, 31 Jan 2008 23:23:58 +0100 From: Gary Jennejohn To: Scott Long Message-ID: <20080131232358.6cc55327@peedub.jennejohn.org> In-Reply-To: <47A2248D.2050203@samsco.org> References: <20080130104615.717f3ff2@peedub.jennejohn.org> <47A20AA6.2020506@samsco.org> <20080131203636.71b7c4d8@peedub.jennejohn.org> <47A2248D.2050203@samsco.org> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.10.14; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@freebsd.org Subject: Re: data corruption with ahc driver and 4GB of memory using a FBSD-8 64-bit installation? X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jan 2008 22:24:01 -0000 On Thu, 31 Jan 2008 12:42:05 -0700 Scott Long wrote: > Gary Jennejohn wrote: > > Well, the thing which I find confusing is that the 32-bit installation > > works without any problems. I would expect the 64-bit installation to > > work with 4GB, if anything does. > > > > Does the 32-bit version use bounce buffers? > > > > I'll try poking around some, but the 64-bit install is my (money earning) > > work station and I can't afford to trash it, so I'm sort of unwilling to > > risk it. And I don't have any spare SCSI disks to use for testing. Well, > > I suppose I could sacrifice the 32-bit disk. It's not so important. > > > > Any hints on where to start looking? > > > > Even with only 4GB of physical RAM, the motherboard will remap part of > that RAM to be above the 4GB barrier. So running in 64-bit mode with > only 4GB of RAM will still exercise the >4GB bugs. Let me think on > where to point you for debugging... The ahc cards don't normally use > bounce buffers; they are designed to handle up to 2^39 bytes of RAM > directly. > Ah yes, I remember seeing something about the card using 39 bits for addresses. And you're correct, part of the memory was mapped from 0x100000000 to 0x11ffeffff. I was thinking about getting the Adaptec 29320LPE, which is a PCIe x1 card. Think that would have problems with 4GB? That would be the ahd driver, I believe. --- Gary Jennejohn