Created attachment 235655 [details] Kernel dmesg output attached Transcend TS-RDF8K Card Reader I USB card reader which having 4 partition not detecting properly , This could be common issue where multi partition reader is not working .. da1 at umass-sim0 bus 0 scbus3 target 0 lun 0 da1: <Generic MassStorageClass 1210> Removable Direct Access SPC-4 SCSI device da1: Serial Number 000000001210 da1: 400.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present da1: quirks=0x2<NO_6_BYTE> da2 at umass-sim0 bus 0 scbus3 target 0 lun 1 da2: <Generic MassStorageClass 1210> Removable Direct Access SPC-4 SCSI device da2: Serial Number 000000001210 da2: 400.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present da2: quirks=0x2<NO_6_BYTE> da3 at umass-sim0 bus 0 scbus3 target 0 lun 2 da3: <Generic MassStorageClass 1210> Removable Direct Access SPC-4 SCSI device da3: Serial Number 000000001210 da3: 400.000MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present da3: quirks=0x2<NO_6_BYTE> da4 at umass-sim0 bus 0 scbus3 target 0 lun 3 da4: <Generic MassStorageClass 1210> Removable Direct Access SPC-4 SCSI device da4: Serial Number 000000001210 da4: 400.000MB/s transfers da4: Attempt to query device size failed: NOT READY, Medium not present da4: quirks=0x2<NO_6_BYTE> da5 at umass-sim0 bus 0 scbus3 target 0 lun 4 da5: <Generic MassStorageClass 1210> Removable Direct Access SPC-4 SCSI device da5: Serial Number 000000001210 da5: 400.000MB/s transfers da5: 942MB (1930240 512 byte sectors) da5: quirks=0x2<NO_6_BYTE> pid 972 (gvfs-udisks2-volume), jid 0, uid 0: exited on signal 5 (core dumped) pid 973 (gvfsd-network), jid 0, uid 0: exited on signal 5 (core dumped) pid 974 (gvfsd-network), jid 0, uid 0: exited on signal 5 (core dumped) (da5:umass-sim0:0:0:4): READ(10). CDB: 28 00 00 1d 73 fe 00 00 01 00 (da5:umass-sim0:0:0:4): CAM status: SCSI Status Error (da5:umass-sim0:0:0:4): SCSI status: Check Condition (da5:umass-sim0:0:0:4): SCSI sense: NOT READY asc:3a,0 (Medium not present) (da5:umass-sim0:0:0:4): Error 6, Unretryable error (da5:umass-sim0:0:0:4): READ(10). CDB: 28 00 00 00 00 01 00 00 01 00 (da5:umass-sim0:0:0:4): CAM status: SCSI Status Error (da5:umass-sim0:0:0:4): SCSI status: Check Condition (da5:umass-sim0:0:0:4): SCSI sense: NOT READY asc:3a,0 (Medium not present) (da5:umass-sim0:0:0:4): Error 6, Unretryable error (da5:umass-sim0:0:0:4): READ(10). CDB: 28 00 00 1d 73 ff 00 00 01 00 (da5:umass-sim0:0:0:4): CAM status: SCSI Status Error (da5:umass-sim0:0:0:4): SCSI status: Check Condition (da5:umass-sim0:0:0:4): SCSI sense: NOT READY asc:3a,0 (Medium not present) (da5:umass-sim0:0:0:4): Error 6, Unretryable error pid 911 (bsdisks), jid 0, uid 0: exited on signal 10 (core dumped) (da5:umass-sim0:0:0:4): READ(10). CDB: 28 00 01 da cb fe 00 00 01 00 (da5:umass-sim0:0:0:4): CAM status: SCSI Status Error (da5:umass-sim0:0:0:4): SCSI status: Check Condition (da5:umass-sim0:0:0:4): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da5:umass-sim0:0:0:4): Error 22, Unretryable error (da5:umass-sim0:0:0:4): READ(10). CDB: 28 00 01 da cb ff 00 00 01 00 (da5:umass-sim0:0:0:4): CAM status: SCSI Status Error (da5:umass-sim0:0:0:4): SCSI status: Check Condition (da5:umass-sim0:0:0:4): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da5:umass-sim0:0:0:4): Error 22, Unretryable error (da5:umass-sim0:0:0:4): READ(10). CDB: 28 00 01 da cb fe 00 00 01 00 (da5:umass-sim0:0:0:4): CAM status: SCSI Status Error (da5:umass-sim0:0:0:4): SCSI status: Check Condition (da5:umass-sim0:0:0:4): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da5:umass-sim0:0:0:4): Error 22, Unretryable error (da5:umass-sim0:0:0:4): READ(10). CDB: 28 00 01 da cb ff 00 00 01 00 (da5:umass-sim0:0:0:4): CAM status: SCSI Status Error (da5:umass-sim0:0:0:4): SCSI status: Check Condition (da5:umass-sim0:0:0:4): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da5:umass-sim0:0:0:4): Error 22, Unretryable error (da5:umass-sim0:0:0:4): READ(10). CDB: 28 00 01 da cb ff 00 00 01 00 (da5:umass-sim0:0:0:4): CAM status: SCSI Status Error (da5:umass-sim0:0:0:4): SCSI status: Check Condition (da5:umass-sim0:0:0:4): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da5:umass-sim0:0:0:4): Error 22, Unretryable error (da5:umass-sim0:0:0:4): READ(10). CDB: 28 00 01 da cb c1 00 00 04 00 (da5:umass-sim0:0:0:4): CAM status: SCSI Status Error (da5:umass-sim0:0:0:4): SCSI status: Check Condition (da5:umass-sim0:0:0:4): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da5:umass-sim0:0:0:4): Error 22, Unretryable error (da5:umass-sim0:0:0:4): READ(10). CDB: 28 00 01 da cb ff 00 00 01 00
*** Bug 265597 has been marked as a duplicate of this bug. ***
Hi Team Let me know if any thing is needed more.
Hi Team Please update .
> da5: 942MB (1930240 512 byte sectors) Apparently the capacity is invalid, maybe off-by-one? Try this: usbconfig -d ugenX.Y add_quirk UQ_MSC_READ_CAP_OFFBY1 Then re-plug the device. --HPS
Thank you so much Hans , after including this 1 minute improvement shown in the hot swap . I am just curious How to decide which quirk is needed for the device is this specific to class driver ? if there is some info handy please share
Also it is still giving the previous log but 1 min fast Aug 30 09:44:21 WTF4EE08CF1A53 kernel: <334.708515> ugen0.4: <Generic USB Storage vid:0x05e3 pid:0x0748> at usbus0 Aug 30 09:44:21 WTF4EE08CF1A53 kernel: <334.710123> umass0 on uhub0 Aug 30 09:44:21 WTF4EE08CF1A53 kernel: <334.710223> umass0: <Generic USB Storage, class 0/0, rev 3.10/12.10, addr 4> on usbus0 Aug 30 09:44:21 WTF4EE08CF1A53 kernel: <334.710234> umass0: SCSI over Bulk-Only; quirks = 0xe000 Aug 30 09:44:21 WTF4EE08CF1A53 kernel: <334.711042> umass0:3:0: Attached to scbus3 Aug 30 09:44:21 WTF4EE08CF1A53 kernel: <334.717450> (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 00 00 Aug 30 09:44:21 WTF4EE08CF1A53 kernel: <334.717458> (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error Aug 30 09:44:21 WTF4EE08CF1A53 kernel: <334.717464> (probe0:umass-sim0:0:0:0): SCSI status: Check Condition Aug 30 09:44:21 WTF4EE08CF1A53 kernel: <334.717470> (probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) Aug 30 09:44:21 WTF4EE08CF1A53 kernel: <334.717482> (probe0:umass-sim0:0:0:0): Error 6, Unretryable error Aug 30 09:44:22 WTF4EE08CF1A53 kernel: <334.729412> da0 at umass-sim0 bus 0 scbus3 target 0 lun 0