On Fri, 22 Oct 2004, Kyle Harris wrote:

> Alan,
> 
> When the system fails, ps shows khubd with a status of DW. I have verified 
> that the change makes it to hub_irq, but for whatever reason the hubd thread 
> is in uninterruptible sleep state. I can reproduce the failure by cat'ing 
> /proc/bus/usb/devices while performing a mount on the usbdrive. Below is a 
> log (not much info) with some additional debug statements from my hcd. The 
> "rh change 2 status 0" statement is from hub_status_data function.
> 
> Thanks for your help. Kyle.

> Initializing USB Mass Storage driver...
> usb-storage 1-1:1.0: usb_probe_interface
> usb-storage 1-1:1.0: usb_probe_interface - got id
> scsi0 : SCSI emulation for USB Mass Storage devices
>   Vendor: LEXAR     Model: JUMPDRIVE SECURE  Rev: 2000
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> SCSI device sda: 248928 512-byte hdwr sectors (127 MB)
> sda: assuming drive cache: write through
>  sda: sda1
> Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
> USB Mass Storage device found at 2
> usbcore: registered new driver usb-storage
> USB Mass Storage support registered.
> usb 1-1: control timeout on ep0in          <- ep0 timeout

What program sent that message on ep0?  Do you have something like 
gnome-pilot running that monitors USB devices?  Or did it come from 
your "cat" process?

> dequeue status -104
> ezhost_usb_reset sie 0 port 0(0)            <- device unplugged
> ezhost_usb_reset1 sie 0 port 0(0)
> ezhost_usb_reset2 sie 0 port 0(0)
> ezhost_device_stat: 0380
> ezhost_device_stat: no device
> rh change 2 status 0      <- hub_status_data reports change

> rh change 2 status 0
> usb 1-1: control timeout on ep0in

Again, who sent this message?

> dequeue status -104
> rh change 2 status 0

Also, what does a Alt-SysRq-T stack trace show for the khubd process?  And 
for the usb-storage and scsi-eh processes?

Finally, what other activities are you doing?  You said that you tried to 
mount the USB drive and to cat /proc/bus/usb/devices.  In what order?  
What does the stack backtrace show for those processes?  Does either of 
them run to completion?

If you turn on the usb-storage verbose debugging option in the kernel 
configuration, what additional information shows up in the system log?

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to