Device needs the NO_RC16 quirk: da0 at umass-sim0 bus 0 scbus4 target 0 lun 0 da0: <ADATA USB Flash Drive 1.00> Removable Direct Access SCSI-6 device da0: Serial Number 1411216542340002 da0: 40.000MB/s transfers da0: 120842MB (247484416 512 byte sectors: 255H 63S/T 15405C) 247484415 512 da0: quirks=0x2<NO_6_BYTE> (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 0e c0 4f ff 00 00 01 00 (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI status: Check Condition (da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da0:umass-sim0:0:0:0): Error 22, Unretryable error (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 0e c0 4f ff 00 00 01 00 (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI status: Check Condition (da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da0:umass-sim0:0:0:0): Error 22, Unretryable error (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 0e c0 4f ff 00 00 01 00 (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI status: Check Condition (da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da0:umass-sim0:0:0:0): Error 22, Unretryable error After adding the quirk to scsi_da.c, we now have the correct size: da0: <ADATA USB Flash Drive 1.00> Removable Direct Access SCSI-6 device da0: Serial Number 1411216542340002 da0: 40.000MB/s transfers da0: 120586MB (246960128 512 byte sectors: 255H 63S/T 15372C) da0: quirks=0x12<NO_6_BYTE,NO_RC16> Fix: Add DA_Q_NO_RC16 quirk to CAM layer for this device. Patch attached with submission follows: How-To-Repeat: Problem occurs any time said flash drive is used. Two sticks of the same make and model exhibit this behavior.
Responsible Changed From-To: freebsd-bugs->freebsd-usb reclassify.
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped