On Sun, Jul 15, 2012 at 13:24:04 +0300, Sami Farin wrote: > 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. these without 0x400 quirk: usb2: read/write 31.6/20.3 MB/s, usb3: fail usbmon with usb3: https://docs.google.com/file/d/0B_EMXtsx7o56RFN4aUQzSUtfQ1k/edit [ 6642.199284] hub 4-0:1.0: state 7 ports 2 chg 0000 evt 0004 [ 6642.199310] hub 4-0:1.0: port 2, status 0203, change 0001, 5.0 Gb/s [ 6642.302806] hub 4-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x203 [ 6642.408342] usb 4-2: new SuperSpeed USB device number 14 using xhci_hcd [ 6642.420058] usb 4-2: Parent hub missing LPM exit latency info. Power management will be impacted. [ 6642.420879] usb 4-2: skipped 1 descriptor after endpoint [ 6642.420882] usb 4-2: skipped 1 descriptor after endpoint [ 6642.421155] usb 4-2: default language 0x0409 [ 6642.422172] usb 4-2: udev 14, busnum 4, minor = 397 [ 6642.422175] usb 4-2: New USB device found, idVendor=8564, idProduct=4000 [ 6642.422178] usb 4-2: New USB device strings: Mfr=3, Product=4, SerialNumber=5 [ 6642.422181] usb 4-2: Product: GL3220 [ 6642.422184] usb 4-2: Manufacturer: Genesys [ 6642.422186] usb 4-2: SerialNumber: 000001272 [ 6642.422349] usb 4-2: usb_probe_device [ 6642.422352] usb 4-2: configuration #1 chosen from 1 choice [ 6642.422980] usb 4-2: Successful Endpoint Configure command [ 6642.423235] usb 4-2: adding 4-2:1.0 (config #1, interface 0) [ 6642.423344] usb-storage 4-2:1.0: usb_probe_interface [ 6642.423347] usb-storage 4-2:1.0: usb_probe_interface - got id [ 6642.423373] usb-storage 4-2:1.0: Quirks match for vid 8564 pid 4000: 4000 [ 6642.423389] scsi16 : usb-storage 4-2:1.0 [ 6643.423480] scsi 16:0:0:0: Direct-Access Generic STORAGE DEVICE TS07 PQ: 0 ANSI: 0 [ 6643.423962] scsi 16:0:0:1: Direct-Access Generic STORAGE DEVICE TS07 PQ: 0 ANSI: 0 [ 6643.424405] scsi 16:0:0:2: Direct-Access Generic STORAGE DEVICE TS07 PQ: 0 ANSI: 0 [ 6643.425315] sd 16:0:0:0: Attached scsi generic sg4 type 0 [ 6643.425888] sd 16:0:0:1: Attached scsi generic sg5 type 0 [ 6643.426370] sd 16:0:0:2: Attached scsi generic sg6 type 0 [ 6643.801465] sd 16:0:0:1: [sdf] 15759360 512-byte logical blocks: (8.06 GB/7.51 GiB) [ 6643.802523] sd 16:0:0:1: [sdf] Write Protect is off [ 6643.802525] sd 16:0:0:1: [sdf] Mode Sense: 0b 00 00 08 [ 6643.802751] sd 16:0:0:0: [sdd] Attached SCSI removable disk [ 6643.802975] sd 16:0:0:2: [sdg] Attached SCSI removable disk [ 6643.803583] sd 16:0:0:1: [sdf] No Caching mode page present [ 6643.803584] sd 16:0:0:1: [sdf] Assuming drive cache: write through [ 6643.808254] sd 16:0:0:1: [sdf] No Caching mode page present [ 6643.808256] sd 16:0:0:1: [sdf] Assuming drive cache: write through [ 6643.809134] sdf: sdf1 [ 6643.811322] sd 16:0:0:1: [sdf] No Caching mode page present [ 6643.811324] sd 16:0:0:1: [sdf] Assuming drive cache: write through [ 6643.811326] sd 16:0:0:1: [sdf] Attached SCSI removable disk [ 6755.953042] usb 4-2: Device not responding to set address. [ 6760.347268] usb 4-2: Device not responding to set address. [ 6760.547188] usb 4-2: device not accepting address 14, error -71 [ 6764.843174] usb 4-2: Device not responding to set address. [ 6769.237875] usb 4-2: Device not responding to set address. [ 6769.437789] usb 4-2: device not accepting address 14, error -71 [ 6773.733782] usb 4-2: Device not responding to set address. [ 6778.128487] usb 4-2: Device not responding to set address. [ 6778.328399] usb 4-2: device not accepting address 14, error -71 [ 6782.624385] usb 4-2: Device not responding to set address. [ 6787.019086] usb 4-2: Device not responding to set address. [ 6787.219004] usb 4-2: device not accepting address 14, error -71 [ 6787.219010] hub 4-0:1.0: logical disconnect on port 2 [ 6787.219026] hub 4-0:1.0: state 7 ports 2 chg 0004 evt 0000 [ 6787.219054] hub 4-0:1.0: port 2, status 0203, change 0000, 5.0 Gb/s [ 6787.219059] sd 16:0:0:1: Device offlined - not ready after error recovery [ 6787.219063] usb 4-2: USB disconnect, device number 14 [ 6787.219067] usb 4-2: unregistering device [ 6787.219070] usb 4-2: unregistering interface 4-2:1.0 [ 6787.219073] sd 16:0:0:1: [sdf] Unhandled error code [ 6787.219076] sd 16:0:0:1: [sdf] [ 6787.219079] Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK [ 6787.219081] sd 16:0:0:1: [sdf] CDB: [ 6787.219083] Read(10): 28 00 00 22 36 88 00 00 f0 00 [ 6787.219097] end_request: I/O error, dev sdf, sector 2242184 [ 6787.219110] sd 16:0:0:1: rejecting I/O to offline device [ 6787.219112] sd 16:0:0:1: killing request [ 6787.219129] sd 16:0:0:1: rejecting I/O to offline device [ 6787.219131] sd 16:0:0:1: [sdf] killing request [ 6787.219136] sd 16:0:0:1: [sdf] Unhandled error code [ 6787.219137] sd 16:0:0:1: [sdf] [ 6787.219138] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK [ 6787.219139] sd 16:0:0:1: [sdf] CDB: [ 6787.219139] Read(10): 28 00 00 22 37 78 00 00 20 00 [ 6787.219144] end_request: I/O error, dev sdf, sector 2242424 [ 6787.219152] sd 16:0:0:1: rejecting I/O to offline device [ 6787.219160] sd 16:0:0:1: rejecting I/O to offline device [ 6787.219170] sd 16:0:0:1: rejecting I/O to offline device [ 6787.219175] sd 16:0:0:1: rejecting I/O to offline device [ 6787.219180] sd 16:0:0:1: rejecting I/O to offline device [ 6787.229569] usb 4-2: usb_disable_device nuking all URBs [ 6787.229575] xhci_hcd 0000:03:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff88039f6f6c00 [ 6787.229577] xhci_hcd 0000:03:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff88039f6f6c40 [ 6791.526853] usb 4-2: Device not responding to set address. [ 6795.920689] usb 4-2: Device not responding to set address. [ 6796.120600] usb 4-2: device not accepting address 15, error -71 [ 6800.418456] usb 4-2: Device not responding to set address. [ 6804.662537] FAT-fs (sde1): FAT read failed (blocknr 32) [ 6804.812285] usb 4-2: Device not responding to set address. [ 6805.012205] usb 4-2: device not accepting address 16, error -71 [ 6809.309063] usb 4-2: Device not responding to set address. [ 6813.702899] usb 4-2: Device not responding to set address. [ 6813.902812] usb 4-2: device not accepting address 17, error -71 [ 6818.199753] usb 4-2: Device not responding to set address. [ 6822.594501] usb 4-2: Device not responding to set address. [ 6822.794420] usb 4-2: device not accepting address 18, error -71 [ 6822.794460] hub 4-0:1.0: unable to enumerate USB device on port 2 -- 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