From owner-aic7xxx Tue Jul 21 07:21:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA28758 for aic7xxx-outgoing; Tue, 21 Jul 1998 07:21:41 -0700 (PDT) (envelope-from owner-aic7xxx@FreeBSD.ORG) Received: from einstein.phy.duke.edu (root@einstein.phy.duke.edu [152.3.182.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA28751 for ; Tue, 21 Jul 1998 07:21:39 -0700 (PDT) (envelope-from rgb@phy.duke.edu) Received: from ganesh.phy.duke.edu (rgb@ganesh.phy.duke.edu [152.3.183.52]) by einstein.phy.duke.edu (8.8.8/8.8.8) with ESMTP id KAA06113; Tue, 21 Jul 1998 10:21:21 -0400 (EDT) Received: from localhost (rgb@localhost) by ganesh.phy.duke.edu (8.8.5/8.8.5) with SMTP id KAA11046; Tue, 21 Jul 1998 10:21:18 -0400 X-Authentication-Warning: ganesh.phy.duke.edu: rgb owned process doing -bs Date: Tue, 21 Jul 1998 10:21:18 -0400 (EDT) From: "Robert G. Brown" To: "Patrick W. Bryant" cc: aic7xxx Mailing List Subject: Re: 5.1.0-pre2-to-pre3 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-aic7xxx@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 17 Jul 1998, Patrick W. Bryant wrote: > On Fri, 17 Jul 1998, Robert G. Brown wrote: > > > The aic7890 is onboard on a Dell Poweredge dual PII. With 5.1.0pre3 > > built into the kernel, I get > > Robert, do you have SMP enabled in your kernel? No, I did all the debugging yesterday with a UP kernel, just to remove that source of uncertainty from the result. Since I've used aic7xxx drivers for years SMP, though, I don't think that they have terrible problems with the 2.0.X spinlock. Are you getting up to the timeout problem now? I enclose below the patch for the one tiny change that I made, although it probably has the wrong line numbers (I made the diff relative to aic7xxx.c.orig, which was probably the unpatched 5.0.18 or 19). rgb Robert G. Brown http://www.phy.duke.edu/~rgb/ Duke University Dept. of Physics, Box 90305 Durham, N.C. 27708-0305 Phone: 1-919-660-2567 Fax: 919-660-2525 email:rgb@phy.duke.edu %< Snip Snip ================================================== --- linux/drivers/scsi/aic7xxx.c.orig Mon Jul 20 18:03:27 1998 +++ linux/drivers/scsi/aic7xxx.c Mon Jul 20 18:03:55 1998 @@ -1811,7 +1811,7 @@ downloaded++; } - aic_outb(p, FASTMODE|FASTMODE|PERRORDIS, SEQCTL); + aic_outb(p, FASTMODE|FAILDIS|PERRORDIS, SEQCTL); aic_outb(p, 0, SEQADDR0); aic_outb(p, 0, SEQADDR1); if (aic7xxx_verbose & VERBOSE_PROBE) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe aic7xxx" in the body of the message