Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 1999 13:42:59 -0600
From:      "Justin T. Gibbs" <gibbs@caspian.plutotech.com>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        scsi@freebsd.org, gibbs@freebsd.org, anderson@cs.duke.edu
Subject:   Re: data corruption when using aic7890 
Message-ID:  <199909101942.NAA02899@caspian.plutotech.com>
In-Reply-To: Your message of "Tue, 07 Sep 1999 16:00:38 EDT." <14293.26481.521753.519004@grasshopper.cs.duke.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
>
>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909101942.NAA02899>