Re: ASMedia AS2105 interface on USB 3.0 corrupts data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 21.05.2014, Alan Stern wrote: 

> Maybe the problem involves USB-3 Link Power Management.  Unfortunately 
> there isn't any way I know of to disable it without rebuilding the 
> kernel.

No problem.
 
> The patch below will disable LPM for all devices.  You can try it and 
> see if it helps.

Recompiled 3.14.4 with your patch applied. Unfortunately, the
faulty behaviour is still the same. This appears in dmesg when
starting to write to the HDD (just a short cut):

[....]
[  117.949623] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c936bac0
[  118.062888] usb 9-2: reset SuperSpeed USB device number 3 using xhci_hcd
[  118.077765] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c936ba80
[  118.077776] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c936bac0
[  118.193739] usb 9-2: reset SuperSpeed USB device number 3 using xhci_hcd
[  118.207557] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c936ba80
[  118.207569] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c936bac0
[  118.320512] usb 9-2: reset SuperSpeed USB device number 3 using xhci_hcd
[  118.334691] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c936ba80
[  118.334702] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c936bac0
[  118.446415] usb 9-2: reset SuperSpeed USB device number 3 using xhci_hcd
[  118.460595] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c936ba80
[  118.460605] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c936bac0
[  118.573568] usb 9-2: reset SuperSpeed USB device number 3 using xhci_hcd
[  118.587373] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c936ba80
[  118.587383] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c936bac0
[  118.699358] usb 9-2: reset SuperSpeed USB device number 3 using xhci_hcd
[  118.713510] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c936ba80
[  118.713532] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c936bac0
[  118.826261] usb 9-2: reset SuperSpeed USB device number 3 using xhci_hcd
[  118.840298] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c936ba80
[  118.840309] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c936bac0
[  118.952247] usb 9-2: reset SuperSpeed USB device number 3 using xhci_hcd
[  118.966224] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c936ba80
[  118.966237] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c936bac0
[  118.967615] sd 9:0:0:0: [sdb] Unhandled error code
[  118.967625] sd 9:0:0:0: [sdb]  
[  118.967630] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[  118.967636] sd 9:0:0:0: [sdb] CDB: 
[  118.967639] Write(10): 2a 00 00 00 78 00 00 00 f0 00
[  118.967657] end_request: I/O error, dev sdb, sector 30720
[  118.967663] quiet_error: 80 callbacks suppressed
[  118.967669] Buffer I/O error on device sdb, logical block 3840
[  118.967672] lost page write due to I/O error on sdb
[  118.967681] Buffer I/O error on device sdb, logical block 3841
[  118.967684] lost page write due to I/O error on sdb
[  118.967689] Buffer I/O error on device sdb, logical block 3842
[  118.967692] lost page write due to I/O error on sdb
[  118.967697] Buffer I/O error on device sdb, logical block 3843
[  118.967700] lost page write due to I/O error on sdb
[  118.967705] Buffer I/O error on device sdb, logical block 3844
[  118.967708] lost page write due to I/O error on sdb
[  118.967713] Buffer I/O error on device sdb, logical block 3845
[  118.967716] lost page write due to I/O error on sdb
[  118.967721] Buffer I/O error on device sdb, logical block 3846
[  118.967724] lost page write due to I/O error on sdb
[  118.967729] Buffer I/O error on device sdb, logical block 3847
[  118.967732] lost page write due to I/O error on sdb
[  118.967736] Buffer I/O error on device sdb, logical block 3848
[  118.967739] lost page write due to I/O error on sdb
[  118.967744] Buffer I/O error on device sdb, logical block 3849
[  118.967747] lost page write due to I/O error on sdb
[  119.074680] usb 9-2: reset SuperSpeed USB device number 3 using xhci_hcd
[  119.089095] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c936ba80
[  119.089098] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c936bac0
[....]

The same drive, connected to USB 2.0 on the same machine, without
rebooting, and all is good.

Thanks anyway, it was worth the try!

--
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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux