Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61101 - Timeout accessing USB hard drive
Summary: Timeout accessing USB hard drive
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-20 20:24 UTC by Joel Campbell
Modified: 2004-09-02 19:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output from kernel bug (usb_crash,1.90 KB, text/plain)
2004-08-27 18:48 UTC, Joel Campbell
Details
Output from 2.6.8.1 kernel (bug_report,6.91 KB, application/octet-stream)
2004-09-02 19:09 UTC, Joel Campbell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Campbell 2004-08-20 20:24:48 UTC
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
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2004-08-24 10:44:37 UTC
Has this ever worked on earlier kernels? What happens if you disable EHCI?
Comment 2 Joel Campbell 2004-08-26 08:06:49 UTC
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.
Comment 3 Joel Campbell 2004-08-27 18:48:32 UTC
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.
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2004-09-02 09:59:19 UTC
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.
Comment 5 Joel Campbell 2004-09-02 19:09:29 UTC
Created attachment 38790 [details]
Output from 2.6.8.1 kernel