From owner-freebsd-scsi@FreeBSD.ORG Wed Jan 30 10:00:47 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 ED6E216A418 for ; Wed, 30 Jan 2008 10:00:47 +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 829A713C44B for ; Wed, 30 Jan 2008 10:00:47 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.14] (helo=4.mx.freenet.de) by mout3.freenet.de with esmtpa (Exim 4.68) (envelope-from ) id 1JK9kL-0003SY-AT for freebsd-scsi@freebsd.org; Wed, 30 Jan 2008 11:00:45 +0100 Received: from rb3a0.r.pppool.de ([89.54.179.160]:56007 helo=peedub.jennejohn.org) by 4.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.68 #9) id 1JK9kL-0000mo-1S for freebsd-scsi@freebsd.org; Wed, 30 Jan 2008 11:00:45 +0100 Date: Wed, 30 Jan 2008 10:46:15 +0100 From: Gary Jennejohn To: freebsd-scsi@freebsd.org Message-ID: <20080130104615.717f3ff2@peedub.jennejohn.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 Subject: 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: Wed, 30 Jan 2008 10:00:48 -0000 I think $(subject) says it all. I have a Gigabyte AM2 mobo with an AMD64 X2 CPU installed. The SCIS set up looks lie this: 29160N <--> da0 <--> da1 da0 has a 32-bit installation of FBSD-8 da1 has a 64-bit installtion of FBSD-8 If I install 4GB of memory (4 DIMMs) in the system I see the following behavior: a) booting from da0 works just fine and I can access both disks without any problem. b) booting from da1 results in (apparent) data errors such that /bin/sh dies with SIGILL and /rescue/sh dies with SIGSEGV. c) trying to do an installation of a snapshot of FBSD-8 to a SCSI disk results in various problems, among others a kernel panic in ffs_balloc during newfs. d) an installation to a SATA disk succeeds and the system runs just fine. With only 3GB of memory everything works. Of course, I'd really like to be able to use the entire 4GB. And I want to keep my SCSI disks. I suspect that ahc has some sort of problem in 64-bit mode. However, I'm not certain whether the 32-bit installation works with 4GB simply because the ahc driver uses bounce buffers. Has anybody else seen this? Can anyone confirm that ahc does indeed have an error with 4GB and a 64-bit installation? BTW please put me in the Cc because I'm not subscribed to this ML. --- Gary Jennejohn