From owner-freebsd-bugs Mon Jan 22 05:49:59 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA11979 for bugs-outgoing; Mon, 22 Jan 1996 05:49:59 -0800 (PST) Received: from localhost.cdrom.com (localhost.cdrom.com [127.0.0.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id FAA11970 Mon, 22 Jan 1996 05:49:57 -0800 (PST) Message-Id: <199601221349.FAA11970@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: Host localhost.cdrom.com [127.0.0.1] didn't use HELO protocol To: Peter Dufault cc: wirth@zerberus.hai.siemens.co.at (Helmut Wirth), freebsd-bugs@freebsd.org Subject: Re: Bug with NCR810 driver: Corrections, Additions and a Solution, see previous message In-reply-to: Your message of "Mon, 22 Jan 1996 07:33:56 EST." <199601221233.HAA09921@hda.com> Date: Mon, 22 Jan 1996 05:49:57 -0800 From: "Justin T. Gibbs" Sender: owner-bugs@freebsd.org Precedence: bulk >Yes, this is a problem that I have on my "fix" list. The retry code >pretty much just slams the disk with retries in the interrupt >routine without delays. > >You can try this "untested yet compiles" fix that should delay >1s between retries. An there was much rejoicing! Bruce will I'm sure correct me if I'm wrong, but I don't think that timeout() works during 100% of the boot phase. I'm certainly a proponent of having it work since the aic7xxx driver uses it during boot as well. I think we'll have to tune your callback function so it knows the type of error. According to several people at Adaptec, you should wait 5-10sec for targets that return BUSY status. For other types of errors 1sec should be fine. >-- >Peter Dufault Real Time Machine Control and Simulation >HD Associates, Inc. Voice: 508 433 6936 >dufault@hda.com Fax: 508 433 5267 -- Justin T. Gibbs =========================================== FreeBSD: Turning PCs into workstations ===========================================