From owner-freebsd-stable Tue May 26 18:58:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA13665 for freebsd-stable-outgoing; Tue, 26 May 1998 18:58:23 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA13649 for ; Tue, 26 May 1998 18:58:15 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id RAA02519; Tue, 26 May 1998 17:52:42 -0700 (PDT) Message-Id: <199805270052.RAA02519@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Michael Robinson cc: mike@smith.net.au, freebsd-stable@FreeBSD.ORG Subject: Re: Bug in wd driver In-reply-to: Your message of "Wed, 27 May 1998 08:27:16 +0800." <199805270027.IAA10055@public.bta.net.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 26 May 1998 17:52:42 -0700 From: Mike Smith Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk > > Mike Smith writes: > >Actually, an interrupt timeout is not a "recoverable hardware fault". > >This is a basic failure in the driver:controller protocol on the part > >of the drive. > > If this is a basic failure, why does the driver continue to function > normally for other processes, and for access to other sectors of the > same partition, at the same time it has succumbed to a non-recoverable > error? Because the firmware fails soft (perhaps resets, perhaps traps and restarts). > If an interrupt times out, it is the responsibility of the driver to > detect the timeout, and return an error to the requesting system call. > This did not happen, so I reported a bug. I'll grant you that a more graceful failure is called for. bad144 is not really applicable, inasmuch as it's not adequate for many uses. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message