From owner-freebsd-scsi Fri Sep 10 12:42:40 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from caspian.plutotech.com (caspian.plutotech.com [206.168.67.80]) by hub.freebsd.org (Postfix) with ESMTP id 41A8E15DA7; Fri, 10 Sep 1999 12:42:38 -0700 (PDT) (envelope-from gibbs@caspian.plutotech.com) Received: from caspian.plutotech.com (localhost [127.0.0.1]) by caspian.plutotech.com (8.9.3/8.9.1) with ESMTP id NAA02899; Fri, 10 Sep 1999 13:42:59 -0600 (MDT) (envelope-from gibbs@caspian.plutotech.com) Message-Id: <199909101942.NAA02899@caspian.plutotech.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Andrew Gallatin Cc: scsi@freebsd.org, gibbs@freebsd.org, anderson@cs.duke.edu Subject: Re: data corruption when using aic7890 In-reply-to: Your message of "Tue, 07 Sep 1999 16:00:38 EDT." <14293.26481.521753.519004@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 10 Sep 1999 13:42:59 -0600 From: "Justin T. Gibbs" Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >Hi, > >I have a bunch of ASUS P2B-LS motherboards with on-board AIC7890 U2 >controllers. I'm running a kernel with rev 1.20 of >src/sys/pci/ahc_pci.c (eg, after the CACHETHEN fix). Can you see if this has any effect on your problem? This is the setting left over from the BIOS on my systems here. I would expect the best performance to be a setting of RD_DFTHRSH_MIN|WR_DFTHRSH_100 but lets try this first. -- Justin ==== //depot/FreeBSD-current/src/sys/pci/ahc_pci.c#22 - /usr/src/sys/pci/ahc_pci.c ==== *** /tmp/tmp.2882.0 Fri Sep 10 13:36:27 1999 --- /usr/src/sys/pci/ahc_pci.c Fri Sep 10 13:35:34 1999 *************** *** 826,832 **** * and 75% on ULTRA2 controllers. */ if ((ahc->features & AHC_ULTRA2) != 0) { ! ahc_outb(ahc, DFF_THRSH, RD_DFTHRSH_75|WR_DFTHRSH_75); } else { ahc_outb(ahc, DSPCISTATUS, DFTHRSH_100); } --- 826,832 ---- * and 75% on ULTRA2 controllers. */ if ((ahc->features & AHC_ULTRA2) != 0) { ! ahc_outb(ahc, DFF_THRSH, RD_DFTHRSH_MIN|WR_DFTHRSH_MIN); } else { ahc_outb(ahc, DSPCISTATUS, DFTHRSH_100); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message