From owner-freebsd-scsi Wed Sep 15 1:36:40 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from gatekeeper.tsc.tdk.com (gatekeeper.tsc.tdk.com [207.113.159.21]) by hub.freebsd.org (Postfix) with ESMTP id 370ED151A1 for ; Wed, 15 Sep 1999 01:36:38 -0700 (PDT) (envelope-from gdonl@tsc.tdk.com) Received: from sunrise.gv.tsc.tdk.com (root@sunrise.gv.tsc.tdk.com [192.168.241.191]) by gatekeeper.tsc.tdk.com (8.8.8/8.8.8) with ESMTP id BAA08984; Wed, 15 Sep 1999 01:36:33 -0700 (PDT) (envelope-from gdonl@tsc.tdk.com) Received: from salsa.gv.tsc.tdk.com (salsa.gv.tsc.tdk.com [192.168.241.194]) by sunrise.gv.tsc.tdk.com (8.8.5/8.8.5) with ESMTP id BAA19973; Wed, 15 Sep 1999 01:36:32 -0700 (PDT) Received: (from gdonl@localhost) by salsa.gv.tsc.tdk.com (8.8.5/8.8.5) id BAA17105; Wed, 15 Sep 1999 01:36:31 -0700 (PDT) From: Don Lewis Message-Id: <199909150836.BAA17105@salsa.gv.tsc.tdk.com> Date: Wed, 15 Sep 1999 01:36:31 -0700 In-Reply-To: Matthew Jacob "Re: data corruption when using aic7890" (Sep 15, 1:21am) X-Mailer: Mail User's Shell (7.2.6 alpha(3) 7/19/95) To: mjacob@feral.com, Don Lewis Subject: Re: data corruption when using aic7890 Cc: Andrew Gallatin , "Justin T. Gibbs" , scsi@FreeBSD.ORG, anderson@cs.duke.edu Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sep 15, 1:21am, Matthew Jacob wrote: } Subject: Re: data corruption when using aic7890 } } > I wonder if it might be botching PCI MWI transactions. Is there a way } > to get this beast to just use plain PCI Memory Write transactions (with } > the obvious performance penalty)? } } Umm- can't you clear the INVAL bit in the PCI command register? See } ahc_pci_attach where it enables BUS mastering.. Yeah, I forgot that this was a standard bit in the PCI command register. According to the PCI spec it should already default to being off after reset (unless the BIOS is enabling it). It looks like the driver currently doesn't touch it. It would be an interesting experiment to see what this bit is set to and to turn it off it is on. Maybe this can even be done from the BIOS setup ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message