From owner-freebsd-hackers Sun Jun 2 21:23:32 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA02224 for hackers-outgoing; Sun, 2 Jun 1996 21:23:32 -0700 (PDT) Received: from mail.barrnet.net (mail.barrnet.net [131.119.246.7]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA02212; Sun, 2 Jun 1996 21:23:24 -0700 (PDT) Received: from Root.COM (implode.Root.COM [198.145.90.17]) by mail.barrnet.net (8.7.5/MAIL-RELAY-LEN) with ESMTP id VAA01471; Sun, 2 Jun 1996 21:23:22 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by Root.COM (8.7.5/8.6.5) with SMTP id VAA00278; Sun, 2 Jun 1996 21:22:23 -0700 (PDT) Message-Id: <199606030422.VAA00278@Root.COM> X-Authentication-Warning: implode.Root.COM: Host localhost [127.0.0.1] didn't use HELO protocol To: Bruce Evans cc: deborah@microunity.com, gusw@zedat.fu-berlin.de, freebsd-hackers@freebsd.org, gibbs@freebsd.org Subject: Re: Adaptec 2940 U makes fatal bus resets! In-reply-to: Your message of "Mon, 03 Jun 1996 13:52:44 +1000." <199606030352.NAA22079@godzilla.zeta.org.au> From: David Greenman Reply-To: davidg@Root.COM Date: Sun, 02 Jun 1996 21:22:22 -0700 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >>void >>ahc_scb_timeout(unit, ahc, scb) >>... > >> timeout(ahc_timeout, (caddr_t)scb, ( TOFACT * 2 * hz)); > >2 seconds was already a lot. The fatal problem is probably in poor handling >of SCSI errors. It seems conceivable that certain types of failures that require a recalibrate, or certain types of SCSI devices (like CDROM drives) that need to spin up first could trigger an unnecessary timeout with it set to only 2 seconds. It should probably be increased to at least 10 seconds, but I'll defer to whatever Justin thinks is needed. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project