[Added David Brownell to the CC: since his patch evidently doesn't fix the ehci_endpoint_disable hang.]
On Thu, 2 Feb 2006, Jan Kiszka wrote: > Alan Stern wrote: > > On Sat, 31 Dec 2005, Scott D. Davilla wrote: > > > >>> > >A stack trace (Alt-SysRq-T) showing exactly _where_ the khubd process > >>> is > >>>> >hung would be a big help. > >>> > > > >> stack trace for khubd is as follows; > >> > >> _spinlock_irqsave+0x20/0x30 > >> schedule_timeout+0x4e/0xc0 > >> __mod_timer+0xa3/0xd0 > >> process_timeout+0x0/0x10 > >> ehci_endpoint_disable+0x135/0xa0 [ehci_hcd] > >> unlink1+0x24/0x80 > >> hcd_endpoint_disable+0xe7/0x200 > >> usb_disable_endpoint+0x3a/0x60 > >> usb_disable_device+0xae/0x1c0 > >> usb_disconnect+0xaa/0x190 > >> hub_port_connect_change+0xb8/0x470 > >> hub_events+0x4d3/0x5d0 > >> hub_thread+0x0/0xf0 > >> > >> This seems similar to a previous post on 15, Nov 2005 from Jan > >> Kiszka, where ehci_endpoint_disable is hung. > > > > Has either of you seen or tried out this patch from a couple of weeks ago? > > > > http://marc.theaimsgroup.com/?l=linux-usb-devel&m=113780678524619&w=2 > > > > It was intended to solve exactly the sort of problem you both observed. > > > > Nope, at least not this patch alone on 2.6.14.2. I just had a disconnect > again, and ehci_endpoint_disable() locked up as usual. Is it worth > considering other patches since that kernel version as well? I don't know. It wouldn't hurt to try using the patch on 2.6.15 or 2.6.16-rc1, just to see what happens. One thing that definitely would help would be to set CONFIG_USB_DEBUG (if you don't already have it set) and to report the contents of the ehci-hcd debugging files in sysfs when the hang occurs. You can find them in /sys/class/usb_host<n>, where <n> is the bus number of the controller that is hanging. Alan Stern ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
