Subject: kern/8300: ustarfs error recovery is broken
To: None <>
From: Bill Sommerfeld <>
List: netbsd-bugs
Date: 08/31/1999 11:05:51
>Number:         8300
>Category:       kern
>Synopsis:       ustarfs error recovery is broken
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 31 11:05:00 1999
>Originator:     Bill Sommerfeld
>Release:        199908xx

my alpha boot floppy had read "warnings": 

Warning, unexpected short transfer 8192/18432
Warning, unexpected short transfer 8192/10240

(!#%$^$ cheap media.  well, I did get it in the mail from AOL...)

it appears that ustarfs's error recovery code adjusts the destination
pointer and length after a failure, but doesn't adjust the disk

	try to boot alpha from bad floppy.  watch it appear to read
successfully, and then crump early in boot.

(untested, hypothetical): 
At the end of the loop in ustarfs_cylinder_read, add a 

"seek2 += xfercount;"