What | Removed | Added |
---|---|---|
Status | NEW | CONFIRMED |
CC | jthumshirn@suse.com | |
Flags | needinfo?(yarra@mail.ru) | needinfo?(jthumshirn@suse.com) |
Johannes, could you have a look at this? The SD driver seems to have a problem with a device returning ASC 0x29. I could work around this in the storage driver, but I think the device, although unusual, acts correctly. Power on had indeed occurred. So this should be handled at a generic level. [ 797.120216] *** thread sleeping [ 797.120279] scsi 6:0:0:0: Direct-Access Linux File-CD Gadget 0310 PQ: 0 ANSI: 2 [ 797.120823] *** thread awakened [ 797.120836] Command TEST_UNIT_READY (6 bytes) [ 797.120841] bytes: [ 797.120846] 00 00 00 00 00 00 [ 797.120862] Bulk Command S 0x43425355 T 0x2 L 0 F 0 Trg 0 LUN 0 CL 6 [ 797.120867] xfer 31 bytes [ 797.121108] sd 6:0:0:0: Attached scsi generic sg3 type 0 [ 797.121445] Status code 0; transferred 31/31 [ 797.121450] -- transfer complete [ 797.121454] Bulk command transfer result=0 [ 797.121457] Attempting to get CSW... [ 797.121461] xfer 13 bytes [ 797.121562] Status code 0; transferred 13/13 [ 797.121565] -- transfer complete [ 797.121569] Bulk status result = 0 [ 797.121574] Bulk Status S 0x53425355 T 0x2 R 0 Stat 0x1 [ 797.121578] -- transport indicates command failure [ 797.121582] Issuing auto-REQUEST_SENSE [ 797.121590] Bulk Command S 0x43425355 T 0x3 L 18 F 128 Trg 0 LUN 0 CL 6 [ 797.121593] xfer 31 bytes [ 797.121686] Status code 0; transferred 31/31 [ 797.121690] -- transfer complete [ 797.121693] Bulk command transfer result=0 [ 797.121698] xfer 18 bytes, 1 entries [ 797.121815] Status code 0; transferred 18/18 [ 797.121818] -- transfer complete [ 797.121822] Bulk data transfer result 0x0 [ 797.121826] Attempting to get CSW... [ 797.121829] xfer 13 bytes [ 797.121937] Status code 0; transferred 13/13 [ 797.121941] -- transfer complete [ 797.121944] Bulk status result = 0 [ 797.121949] Bulk Status S 0x53425355 T 0x3 R 0 Stat 0x0 [ 797.121954] -- Result from auto-sense is 0 [ 797.121959] -- code: 0x70, key: 0x6, ASC: 0x29, ASCQ: 0x0 [ 797.121965] Unit Attention: [ 797.121969] Power on, reset, or bus device reset occurred [ 797.121974] scsi cmd done, result=0x2 [ 797.121986] *** thread sleeping [ 797.122056] *** thread awakened [ 797.122085] Bad LUN (0:1) [ 797.122091] scsi cmd done, result=0x40000 [ 797.122103] *** thread sleeping [ 797.122153] *** thread awakened