Subject: kern/32245: EIO from disk failures never propagates to userland.
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <perry@piermont.com>
List: netbsd-bugs
Date: 12/04/2005 23:30:00
>Number: 32245
>Category: kern
>Synopsis: EIO from disk failures never propagates to userland.
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 04 23:30:00 +0000 2005
>Originator: Perry E. Metzger
>Release: NetBSD 3.99.11
>Organization:
>Environment:
System: NetBSD 3.99.11
Architecture: i386
Machine: i386
>Description:
If you have a hard error on a disk drive, you get a zero
length read instead of an EIO.
It appears, from what I can tell, that there is a bug in
kern_physio:physio_done() that is causing this. b_error is never
properly copied up during error conditions.
>How-To-Repeat:
>Fix:
>Unformatted: