On 04/01/07, Mark Watson <[EMAIL PROTECTED]> wrote: > On 04/01/07, Alan Stern <[EMAIL PROTECTED]> wrote: > > You didn't say, but I bet you're using a VIA EHCI controller. They have a > > known failure mode which causes the ehci-hcd driver to hang; the user > > experience is exactly as you described. There have been many similar > > reports recently; just look through the mailing list archives and you'll > > see them. > > > > Try doing Alt-SysRq-T to see the stack for the khubd process. If it's > > waiting inside ehci_endpoint_disable() then that's your problem. > > Yes it is indeed a Via EHCI controller. I'd been thinking its a bug in > my driver for 2 years. If its a controller issue then that would > explain why I can't find my bug:-) > > I'll check for that call stack next time it fails to confirm.
OK, this looks like ehci_endpoint_disable indeed... Think its time to buy a new motherboard I think. Or are there any workarounds? e.g. use the modules and just unload/reload them on devices vanishing. [54081.952215] khubd D C0336210 0 11 5 13 8 (L-TLB) [54081.952219] c14cbdc8 00000046 00000002 c0336210 00000001 c14cbda0 ef72288e 0000312f [54081.952223] 0000000a c14b5580 ef815f02 0000312f 00000127 c14b5690 c14cbddc 00000000 [54081.952228] 21c8fb0f 00000000 c14cbddc 033613d7 ddcb7100 c14cbdfc c0336210 c14cbddc [54081.952233] Call Trace: [54081.952235] [<c0336210>] schedule_timeout+0x50/0xc0 [54081.952238] [<c033629a>] schedule_timeout_uninterruptible+0x1a/0x20 [54081.952241] [<c02c4a70>] ehci_endpoint_disable+0x130/0x150 [54081.952246] [<c02b2d27>] hcd_endpoint_disable+0x67/0x180 Many thanks for the help. How about adding a check for this chipset and, if detected, display a big fat warning kprintf message to expect USB to break if using EHCI? Mark ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel