Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 1998 17:52:42 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Michael Robinson <robinson@public.bta.net.cn>
Cc:        mike@smith.net.au, freebsd-stable@FreeBSD.ORG
Subject:   Re: Bug in wd driver 
Message-ID:  <199805270052.RAA02519@dingo.cdrom.com>
In-Reply-To: Your message of "Wed, 27 May 1998 08:27:16 %2B0800." <199805270027.IAA10055@public.bta.net.cn> 

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



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