On Sat, Jul 14, 2012 at 16:20:12 -0400, Alan Stern wrote: ... > The usbmon trace doesn't show any reason for the write failures; the > second bug interferes before the device can report a reason. Working > around that other bug isn't quite so easy as the first -- it requires a > kernel patch (below). With that patch in place, maybe the usbmon trace > will give a little more information. > > Alan Stern I tried the patch with and without the usb_storage 400 quirk, no luck. Also, now with usb2 read/write speeds are 17/5 MB/s (advertized 85/40 for the card), with usb3 read speed 28 MB/s. [ 1471.076159] usb 4-2: new SuperSpeed USB device number 9 using xhci_hcd [ 1471.087876] usb 4-2: Parent hub missing LPM exit latency info. Power management will be impacted. [ 1471.088699] usb 4-2: skipped 1 descriptor after endpoint [ 1471.088702] usb 4-2: skipped 1 descriptor after endpoint [ 1471.088990] usb 4-2: default language 0x0409 [ 1471.090005] usb 4-2: udev 9, busnum 4, minor = 392 [ 1471.090009] usb 4-2: New USB device found, idVendor=8564, idProduct=4000 [ 1471.090011] usb 4-2: New USB device strings: Mfr=3, Product=4, SerialNumber=5 [ 1471.090014] usb 4-2: Product: GL3220 [ 1471.090017] usb 4-2: Manufacturer: Genesys [ 1471.090019] usb 4-2: SerialNumber: 000001272 [ 1471.090189] usb 4-2: usb_probe_device [ 1471.090192] usb 4-2: configuration #1 chosen from 1 choice [ 1471.090819] usb 4-2: Successful Endpoint Configure command [ 1471.091071] usb 4-2: adding 4-2:1.0 (config #1, interface 0) [ 1471.091173] usb-storage 4-2:1.0: usb_probe_interface [ 1471.091176] usb-storage 4-2:1.0: usb_probe_interface - got id [ 1471.091205] usb-storage 4-2:1.0: Quirks match for vid 8564 pid 4000: 4400 [ 1471.091222] scsi13 : usb-storage 4-2:1.0 [ 1472.092293] scsi 13:0:0:0: Direct-Access Generic STORAGE DEVICE TS07 PQ: 0 ANSI: 0 [ 1472.092776] scsi 13:0:0:1: Direct-Access Generic STORAGE DEVICE TS07 PQ: 0 ANSI: 0 [ 1472.093217] scsi 13:0:0:2: Direct-Access Generic STORAGE DEVICE TS07 PQ: 0 ANSI: 0 [ 1472.094132] sd 13:0:0:0: Attached scsi generic sg4 type 0 [ 1472.094650] sd 13:0:0:1: Attached scsi generic sg5 type 0 [ 1472.095068] sd 13:0:0:2: Attached scsi generic sg6 type 0 [ 1472.464215] sd 13:0:0:1: [sde] 15759360 512-byte logical blocks: (8.06 GB/7.51 GiB) [ 1472.465300] sd 13:0:0:1: [sde] Write Protect is off [ 1472.465303] sd 13:0:0:1: [sde] Mode Sense: 0b 00 00 08 [ 1472.465533] sd 13:0:0:2: [sdf] Attached SCSI removable disk [ 1472.465768] sd 13:0:0:0: [sdd] Attached SCSI removable disk [ 1472.466388] sd 13:0:0:1: [sde] No Caching mode page present [ 1472.466389] sd 13:0:0:1: [sde] Assuming drive cache: write through [ 1472.468906] sd 13:0:0:1: [sde] No Caching mode page present [ 1472.468908] sd 13:0:0:1: [sde] Assuming drive cache: write through [ 1472.469507] sde: sde1 [ 1472.472710] sd 13:0:0:1: [sde] No Caching mode page present [ 1472.472712] sd 13:0:0:1: [sde] Assuming drive cache: write through [ 1472.472714] sd 13:0:0:1: [sde] Attached SCSI removable disk [ 1587.846775] usb 4-2: Device not responding to set address. [ 1592.240999] usb 4-2: Device not responding to set address. [ 1592.440914] usb 4-2: device not accepting address 9, error -71 [ 1596.736906] usb 4-2: Device not responding to set address. [ 1601.131600] usb 4-2: Device not responding to set address. [ 1601.331509] usb 4-2: device not accepting address 9, error -71 [ 1605.627504] usb 4-2: Device not responding to set address. [ 1610.022194] usb 4-2: Device not responding to set address. [ 1610.222108] usb 4-2: device not accepting address 9, error -71 [ 1614.518100] usb 4-2: Device not responding to set address. [ 1618.912794] usb 4-2: Device not responding to set address. [ 1619.112703] usb 4-2: device not accepting address 9, error -71 [ 1619.112709] hub 4-0:1.0: logical disconnect on port 2 [ 1619.112724] hub 4-0:1.0: state 7 ports 2 chg 0004 evt 0000 [ 1619.112753] hub 4-0:1.0: port 2, status 0203, change 0000, 5.0 Gb/s [ 1619.112758] sd 13:0:0:1: Device offlined - not ready after error recovery [ 1619.112761] usb 4-2: USB disconnect, device number 9 [ 1619.112765] usb 4-2: unregistering device [ 1619.112768] usb 4-2: unregistering interface 4-2:1.0 [ 1619.112774] sd 13:0:0:1: [sde] Unhandled error code [ 1619.112777] sd 13:0:0:1: [sde] [ 1619.112780] Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK [ 1619.112782] sd 13:0:0:1: [sde] CDB: [ 1619.112784] Write(10): 2a 00 00 00 20 9b 00 00 40 00 [ 1619.112798] end_request: I/O error, dev sde, sector 8347 [ 1619.112800] Buffer I/O error on device sde1, logical block 155 [ 1619.112801] lost page write due to I/O error on sde1 [ 1619.112803] Buffer I/O error on device sde1, logical block 156 [ 1619.112804] lost page write due to I/O error on sde1 [ 1619.112805] Buffer I/O error on device sde1, logical block 157 [ 1619.112806] lost page write due to I/O error on sde1 [ 1619.112807] Buffer I/O error on device sde1, logical block 158 [ 1619.112808] lost page write due to I/O error on sde1 [ 1619.112809] Buffer I/O error on device sde1, logical block 159 [ 1619.112810] lost page write due to I/O error on sde1 [ 1619.112813] Buffer I/O error on device sde1, logical block 160 [ 1619.112813] lost page write due to I/O error on sde1 [ 1619.112815] Buffer I/O error on device sde1, logical block 161 [ 1619.112815] lost page write due to I/O error on sde1 [ 1619.112817] Buffer I/O error on device sde1, logical block 162 [ 1619.112817] lost page write due to I/O error on sde1 [ 1619.112819] Buffer I/O error on device sde1, logical block 163 [ 1619.112819] lost page write due to I/O error on sde1 [ 1619.112821] Buffer I/O error on device sde1, logical block 164 [ 1619.112821] lost page write due to I/O error on sde1 [ 1619.112857] sd 13:0:0:1: rejecting I/O to offline device [ 1619.112859] sd 13:0:0:1: killing request [ 1619.112876] sd 13:0:0:1: rejecting I/O to offline device [ 1619.112877] sd 13:0:0:1: [sde] killing request [ 1619.112888] sd 13:0:0:1: [sde] Unhandled error code [ 1619.112889] sd 13:0:0:1: [sde] [ 1619.112890] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK [ 1619.112891] sd 13:0:0:1: [sde] CDB: [ 1619.112892] Write(10): 2a 00 00 00 20 db 00 00 40 00 [ 1619.112896] end_request: I/O error, dev sde, sector 8411 [ 1619.112936] sd 13:0:0:1: rejecting I/O to offline device [ 1619.112944] FAT-fs (sde1): FAT read failed (blocknr 1180) [ 1619.112978] sd 13:0:0:1: rejecting I/O to offline device [ 1619.112991] FAT-fs (sde1): FAT read failed (blocknr 1180) [ 1619.113326] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113357] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113383] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113408] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113433] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113457] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113481] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113506] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113532] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113556] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113579] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113603] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113628] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113651] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113675] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113678] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113683] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113707] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113732] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113756] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113779] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113803] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113825] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113847] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113870] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113892] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113916] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113938] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113961] sd 13:0:0:1: rejecting I/O to offline device [ 1619.113985] sd 13:0:0:1: rejecting I/O to offline device [ 1619.114008] sd 13:0:0:1: rejecting I/O to offline device [ 1619.114031] sd 13:0:0:1: rejecting I/O to offline device [ 1619.114054] sd 13:0:0:1: rejecting I/O to offline device [ 1619.114057] sd 13:0:0:1: rejecting I/O to offline device [ 1619.114061] sd 13:0:0:1: rejecting I/O to offline device [ 1619.114068] sd 13:0:0:1: rejecting I/O to offline device [ 1619.114075] sd 13:0:0:1: rejecting I/O to offline device [ 1619.114082] sd 13:0:0:1: rejecting I/O to offline device [ 1619.114089] sd 13:0:0:1: rejecting I/O to offline device [ 1619.114095] sd 13:0:0:1: rejecting I/O to offline device [ 1619.114102] sd 13:0:0:1: rejecting I/O to offline device [ 1619.114109] sd 13:0:0:1: rejecting I/O to offline device [ 1619.114115] sd 13:0:0:1: rejecting I/O to offline device [ 1619.114122] sd 13:0:0:1: rejecting I/O to offline device [ 1619.120230] FAT-fs (sde1): bread failed in fat_clusters_flush [ 1619.120242] FAT-fs (sde1): unable to read inode block for updating (i_pos 491779) [ 1619.128285] usb 4-2: usb_disable_device nuking all URBs [ 1619.128291] xhci_hcd 0000:03:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8803db1b4500 [ 1619.128293] xhci_hcd 0000:03:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8803db1b4540 [ 1623.425554] usb 4-2: Device not responding to set address. [ 1627.819376] usb 4-2: Device not responding to set address. [ 1628.019285] usb 4-2: device not accepting address 10, error -71 [ 1632.316135] usb 4-2: Device not responding to set address. [ 1634.095539] FAT-fs (sde1): FAT read failed (blocknr 32) [ 1636.709973] usb 4-2: Device not responding to set address. [ 1636.909885] usb 4-2: device not accepting address 11, error -71 [ 1641.206726] usb 4-2: Device not responding to set address. [ 1645.600569] usb 4-2: Device not responding to set address. [ 1645.800482] usb 4-2: device not accepting address 12, error -71 [ 1650.097326] usb 4-2: Device not responding to set address. [ 1654.491168] usb 4-2: Device not responding to set address. [ 1654.691079] usb 4-2: device not accepting address 13, error -71 [ 1654.691117] hub 4-0:1.0: unable to enumerate USB device on port 2 [ 1669.007035] FAT-fs (sde1): FAT read failed (blocknr 32) ffff8803a23fbc00 1653143266 C Bo:4:009:2 -104 5120 > ffff88037913f240 1653143292 S Co:4:001:0 s 23 03 0004 0002 0000 0 ffff88037913f240 1653143306 C Co:4:001:0 0 0 ffff88037913f240 1653194085 S Ci:4:001:0 s a3 00 0000 0002 0004 4 < ffff88037913f240 1653194094 C Ci:4:001:0 0 4 = 03021000 ffff880378953480 1653245694 S Co:4:001:0 s 23 01 0014 0002 0000 0 ffff880378953480 1653245706 C Co:4:001:0 0 0 ffff880377a7e180 1662042100 S Co:4:001:0 s 23 03 0004 0002 0000 0 ffff880377a7e180 1662042115 C Co:4:001:0 0 0 ffff880377a7e3c0 1662093087 S Ci:4:001:0 s a3 00 0000 0002 0004 4 < ffff880377a7e3c0 1662093097 C Ci:4:001:0 0 4 = 03021000 ffff880377a7e000 1662144131 S Co:4:001:0 s 23 01 0014 0002 0000 0 ffff880377a7e000 1662144143 C Co:4:001:0 0 0 ffff8803a1c82f00 1670941099 S Co:4:001:0 s 23 03 0004 0002 0000 0 ffff8803a1c82f00 1670941113 C Co:4:001:0 0 0 ffff8803a1c82f00 1670992086 S Ci:4:001:0 s a3 00 0000 0002 0004 4 < ffff8803a1c82f00 1670992096 C Ci:4:001:0 0 4 = 03021000 ffff8803a1c82f00 1671043130 S Co:4:001:0 s 23 01 0014 0002 0000 0 ffff8803a1c82f00 1671043141 C Co:4:001:0 0 0 ffff8803a1c82c00 1679840101 S Co:4:001:0 s 23 03 0004 0002 0000 0 ffff8803a1c82c00 1679840116 C Co:4:001:0 0 0 ffff8803a1c82c00 1679891085 S Ci:4:001:0 s a3 00 0000 0002 0004 4 < ffff8803a1c82c00 1679891094 C Ci:4:001:0 0 4 = 03021000 ffff8803a1c82c00 1679942130 S Co:4:001:0 s 23 01 0014 0002 0000 0 ffff8803a1c82c00 1679942139 C Co:4:001:0 0 0 ffff880378703180 1688739116 S Ci:4:001:0 s a3 00 0000 0002 0004 4 < ffff880378703180 1688739129 C Ci:4:001:0 0 4 = 03020000 ffff88037865a900 1688756442 S Co:4:001:0 s 23 03 0004 0002 0000 0 ffff88037865a900 1688756454 C Co:4:001:0 0 0 ffff88037865a600 1688807089 S Ci:4:001:0 s a3 00 0000 0002 0004 4 < ffff88037865a600 1688807102 C Ci:4:001:0 0 4 = 03021000 ffff88036dca5780 1688858089 S Co:4:001:0 s 23 01 0014 0002 0000 0 ffff88036dca5780 1688858101 C Co:4:001:0 0 0 > Index: usb-3.5/drivers/usb/storage/unusual_devs.h > =================================================================== > --- usb-3.5.orig/drivers/usb/storage/unusual_devs.h > +++ usb-3.5/drivers/usb/storage/unusual_devs.h > @@ -2011,6 +2011,13 @@ UNUSUAL_DEV( 0x4146, 0xba01, 0x0100, 0x > "Micro Mini 1GB", > USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ), > > +/* Reported by Sami Farin <hvtaifwkbgefbaei@xxxxxxxxx> */ > +UNUSUAL_DEV( 0x8564, 0x4000, 0x0007, 0x0007, > + "Genesys", > + "GL3220", > + USB_SC_DEVICE, USB_PR_DEVICE, NULL, > + US_FL_BULK_IGNORE_TAG ), > + > /* > * Nick Bowler <nbowler@xxxxxxxxxxxxxxxx> > * SCSI stack spams (otherwise harmless) error messages. > -- Do what you love because life is too short for anything else. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html