usb/159611: [PATCH] USB stick extrememory Snippy needs quirks
Fabian Keil
fk at fabiankeil.de
Mon Aug 8 19:20:18 UTC 2011
>Number: 159611
>Category: usb
>Synopsis: [PATCH] USB stick extrememory Snippy needs quirks
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-usb
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 08 19:20:17 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Fabian Keil
>Release: HEAD
>Organization:
>Environment:
FreeBSD r500.local 9.0-BETA1 FreeBSD 9.0-BETA1 #340 r+05c19d5: Sun Aug 7 23:33:04 CEST 2011 fk at r500.local:/usr/obj/usr/src/sys/ZOEY amd64
>Description:
The extrememory Snippy (http://www.extrememory.com/index.cfm?lc=products&nc=pmenue&pageID=8#p63)
doesn't work by default:
kernel: GEOM: new disk da2
kernel: pass4 at umass-sim2 bus 2 scbus4 target 0 lun 0
kernel: pass4: <USB Mass Storage Device \001\000\000?> Removable Direct Access SCSI-0 device
kernel: pass4: Serial Number 812320100708
kernel: pass4: 40.000MB/s transfers
kernel: (da2:umass-sim2:2:0:0): SCSI status error
kernel: (da2:umass-sim2:2:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0
kernel: (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error
kernel: (da2:umass-sim2:2:0:0): SCSI status: Check Condition
kernel: (da2:umass-sim2:2:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
kernel: (da2:umass-sim2:2:0:0): Error 6, Unretryable error
kernel: da2 at umass-sim2 bus 2 scbus4 target 0 lun 0
kernel: da2: <USB Mass Storage Device \001\000\000?> Removable Direct Access SCSI-0 device
kernel: da2: Serial Number 812320100708
kernel: da2: 40.000MB/s transfers
kernel: da2: Attempt to query device size failed: NOT READY, Medium not present
kernel: (da2:umass-sim2:2:0:0): SCSI status error
kernel: (da2:umass-sim2:2:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0
kernel: (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error
kernel: (da2:umass-sim2:2:0:0): SCSI status: Check Condition
kernel: (da2:umass-sim2:2:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
kernel: (da2:umass-sim2:2:0:0): Error 6, Unretryable error
kernel: Opened disk da2 -> 6
kernel: (da2:umass-sim2:2:0:0): SCSI status error
kernel: (da2:umass-sim2:2:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0
kernel: (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error
kernel: (da2:umass-sim2:2:0:0): SCSI status: Check Condition
kernel: (da2:umass-sim2:2:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
kernel: (da2:umass-sim2:2:0:0): Error 6, Unretryable error
kernel: Opened disk da2 -> 6
kernel: (da2:umass-sim2:2:0:0): SCSI status error
kernel: (da2:umass-sim2:2:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0
kernel: (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error
kernel: (da2:umass-sim2:2:0:0): SCSI status: Check Condition
kernel: (da2:umass-sim2:2:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
kernel: (da2:umass-sim2:2:0:0): Error 6, Unretryable error
kernel: Opened disk da2 -> 6
>How-To-Repeat:
Attach the stick, check /var/log/messages, try to read or write to the stick.
>Fix:
Apply the patch which also silences error messages like the
following when using the stick as ZFS vdev:
kernel: (da0:umass-sim0:0:0:0): SCSI status error
kernel: (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0
kernel: (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
kernel: (da0:umass-sim0:0:0:0): SCSI status: Check Condition
kernel: (da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code)
kernel: (da0:umass-sim0:0:0:0): Error 22, Unretryable error
Note that even without the patch the stick seems to reliably become
usable after three resets with usbconfig (often two resets are enough),
but there doesn't seem to be a quirk for it.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-usb
mailing list