Hi Dave, > Smells to me like a non-EHCI bug; especially in that case.
where do you think the bug is - if not in ehci? > But if you want to try a lower level patch, [1] might be > of interest. The issue it's trying to address could kick > in through usb-storage on systems with gobs of idle memory ... > enough that somehow the block layer was able to routinely > get 32KB+ buffers rather than needing to assemble I/Os > from lots of individual pages. Thank you for the patch. I wouldn't say the machine has gobs of idle mem (usually it is 1-4 MB on swap) but I tried it anyway. I experienced regular usb resets and a disconnect after some time, just as without the patch. But the disconnect looked different than without the patch - without the device automatically reconnects with a different id but it stayed disconnected this time. I don't know if that is related to the patch or just luck - but I have never seen a disconnect like this before. usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 00 05 b5 79 1f 00 01 00 00 usb-storage: Bulk Command S 0x43425355 T 0xac0ed L 131072 F 128 Trg 0 LUN 0 CL 10 usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes usb-storage: Status code 0; transferred 31/31 usb-storage: -- transfer complete usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_bulk_transfer_sglist: xfer 131072 bytes, 32 entries usb-storage: Status code -121; transferred 130061/131072 usb-storage: -- short read transfer usb-storage: Bulk data transfer result 0x1 usb-storage: Attempting to get CSW... usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes hub 1-0:1.0: state 5 ports 4 chg 0000 evt 0010 ehci_hcd 0000:00:08.2: GetStatus port 4 status 00180b POWER sig=j PEC CSC CONNECT hub 1-0:1.0: port 4, status 0501, change 0003, 480 Mb/s usb 1-4: USB disconnect, address 2 usb 1-4.1: USB disconnect, address 3 usb 1-4.1: usb_disable_device nuking all URBs ehci_hcd 0000:00:08.2: shutdown urb c3ebdf78 pipe c0040380 ep8in-bulk usb-storage: command_abort called usb-storage: usb_stor_stop_transport called usb-storage: -- cancelling URB Kind regards, Gerd ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel