On Thu, 5 Jun 2003, Major A wrote: > > Maybe the best thing to try would be to repeat that test, but with more > > debugging output. Do you think you can insert > > > > printk(KERN_INFO "%s %d\n", __FUNCTION__, __LINE__); > > > > statements at various judicious places in the usb_physical_reset_device() > > function near the end of drivers/usb/core/hub.c? That might help pinpoint > > just where the problem strikes. > > I can't see any difference in the logs -- is it possible that that > function is never called? > > Now, with the disk connected directly, I can see a bit more output > though:
This is more like it. I couldn't understand what you got before, but this makes sense. You can see here where your messages did get reached... > > Jun 5 20:55:05 ventus kernel: usb-storage: usb_storage_bus_reset called > > Jun 5 20:55:05 ventus kernel: usb_physical_reset_device 1193 > > Jun 5 20:55:05 ventus kernel: usb_physical_reset_device 1209 > > Jun 5 20:55:05 ventus kernel: usb_physical_reset_device 1216 > > Jun 5 20:55:05 ventus kernel: usb_physical_reset_device 1220 > > Jun 5 20:55:05 ventus kernel: hub 5-0:0: port 1 not reset yet, waiting 10ms > > Jun 5 20:55:05 ventus kernel: hub 5-0:0: port 1 not reset yet, waiting 10ms > > Jun 5 20:55:06 ventus kernel: hub 5-0:0: port 1 not reset yet, waiting 200ms > > Jun 5 20:55:06 ventus kernel: ehci-hcd 00:09.2: GetStatus port 1 status 001002 > > POWER sig=se0 CSC > > Jun 5 20:55:06 ventus kernel: usb_physical_reset_device 1225 > > Jun 5 20:55:06 ventus kernel: usb_physical_reset_device 1227 > > Jun 5 20:55:06 ventus kernel: usb-storage: usb_reset_device returns -19 Could you mail to me directly (offlist) your altered hub.c file, so I can match up the line numbers in the log with the source code? Alan Stern ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel