Bug 200737

Summary: panic writing to usb disk
Product: Base System Reporter: walter
Component: usbAssignee: freebsd-usb mailing list <usb>
Status: New ---    
Severity: Affects Some People    
Priority: ---    
Version: 10.1-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Panic screen none

Description walter 2015-06-09 17:26:53 UTC
Created attachment 157575 [details]
Panic screen

WD 2TB SATA disk in a USB dock.
The dock is detected as:

Jun  9 16:13:47 sandokan kernel: da0 at umass-sim0 bus 0 scbus13 target 0 lun 0
Jun  9 16:13:47 sandokan kernel: da0: <asmedia ASMT1153e 0> Fixed Direct Access SPC-4 SCSI device
Jun  9 16:13:47 sandokan kernel: da0: Serial Number 123456789596
Jun  9 16:13:47 sandokan kernel: da0: 40.000MB/s transfers
Jun  9 16:13:47 sandokan kernel: da0: 1907729MB (3907029168 512 byte sectors: 255H 63S/T 243201C)
Jun  9 16:13:47 sandokan kernel: da0: quirks=0x2<NO_6_BYTE>

Trying to rsync a directory tree to it, yields after a while a panic (see screen shots).
For the benefit of the search engine here is the transcript:

READ(10) CDB: 28 00 cc 23 44 40 00 00 40 00
CAM Status: Scsi Status Error
SCSI status: check condition
SCSI sense: medium error asc:11,0 (Unrecovered read error)
Error 5: unretryable error 
[...]
g_vfs_done(): label/odeon.eli[WRITE(offset=..., legnth=...)]error = 5
Panic: cannot reassign paging buffer