I have a USB 2.0 hard drive that I connect to my laptop. After a few minutes of accessing the device I loose the ability to do anything with the drive. Syslog reports 'control timeout on ep0in'. I must unplug the device and plug it in again to regain access. The process then repeats after more access. I tried the same external hard drive on an iBook running 2.6.7-gentoo and had no problems even after moving data and doing a full drive find command. The iBook had USB 1. Reproducible: Always Steps to Reproduce: 1. Plug in external hard drive and mount it. 2. Access the drive in any way read or write. 3. Watch drive stop responding and errors begin to show in logs. Actual Results: I lost access to the drive. Expected Results: I should have access to the drive. Running kernel 2.6.8-gentoo-r1 (also happened on all 2.6.7 releases) emachines M6809 laptop Hitachi 80GB drive in USB 2.0 enclosure. Connected to USB 2.0 port. Last few entries in log before loosing access: usb-storage: *** thread awakened. usb-storage: Command WRITE_10 (10 bytes) usb-storage: 2a 00 00 83 cf bd 00 00 08 00 usb-storage: Bulk Command S 0x43425355 T 0x2661 L 4096 F 0 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 4096 bytes, 1 entries usb 1-3: control timeout on ep0in usb 1-3: control timeout on ep0in
Has this ever worked on earlier kernels? What happens if you disable EHCI?
I have tried with 2.6.7 and 2.6.8. Disabling EHCI makes it work somewhat better in the sense that it took longer before the timeout message. I do have non-storage devices that work fine so I think the problem is related to usb-storage.
Created attachment 38356 [details] Output from kernel bug This is what happened after I reinserted a CompactFlash card in my card reader after the reader had stopped responding with the now familiar 'timeout on ep0in' message.
Looks like an upstream problem... Could you please compile a plain development-sources-2.6.8.1 and then send a detailed bug report to linux-usb-devel@lists.sourceforge.net ? It is also helpful to enable USB debug and USB storage verbose debug messages.
Created attachment 38790 [details] Output from 2.6.8.1 kernel