On Friday 22 October 2004 11:50 am, Alan Stern wrote: > The core should detect the change bits. Can you provide the debug log > messages showing what goes wrong? >
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. ezhost_usb_reset sie 0 port 0(0) ezhost_usb_reset1 sie 0 port 0(0) ezhost_usb_reset2 sie 0 port 0(0) ezhost_device_stat: 2381 ezhost_device_stat: full speed device rh change 2 status 0 hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101 ezhost_usb_reset sie 0 port 0(0) ezhost_usb_reset1 sie 0 port 0(0) ezhost_usb_reset2 sie 0 port 0(0) ezhost_device_stat: 2381 ezhost_device_stat: full speed device rh change 2 status 0 usb 1-1: new full speed USB device using address 2 ezhost_usb_reset sie 0 port 0(0) ezhost_usb_reset1 sie 0 port 0(0) ezhost_usb_reset2 sie 0 port 0(0) ezhost_device_stat: 2381 ezhost_device_stat: full speed device usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-1: default language 0x0409 usb 1-1: Product: JUMPDRIVE SECURE usb 1-1: Manufacturer: LEXAR MEDIA usb 1-1: SerialNumber: 33000000803000012954 usb 1-1: hotplug usb 1-1: adding 1-1:1.0 (config #1, interface 0) usb 1-1:1.0: hotplug SCSI subsystem initialized 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 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 rh change 2 status 0 rh change 2 status 0 rh change 2 status 0 rh change 2 status 0 rh change 2 status 0 rh change 2 status 0 rh change 2 status 0 rh change 2 status 0 rh change 2 status 0 rh change 2 status 0 rh change 2 status 0 rh change 2 status 0 rh change 2 status 0 rh change 2 status 0 rh change 2 status 0 rh change 2 status 0 rh change 2 status 0 usb 1-1: control timeout on ep0in dequeue status -104 rh change 2 status 0 rh change 2 status 0 rh change 2 status 0 ------------------------------------------------------- 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