On Monday 14 November 2005 9:35 am, Jan Kiszka wrote:
>
> ehci_hcd 0000:00:10.3: GetStatus port 3 status 00180b POWER sig=j PEC CSC
> CONNECT
Translation: the root hub spontaneously disconnected. There are such
reports, which are as far as I can tell always with VIA hardware. I have
no idea what causes them.
The stack hanging is a different issue:
> usb 4-3: hcd_unlink_urb c633cc20 fail -16
EBUSY status code happens in a few cases, and in this path I'd suspect
it means the URB is already being returned. Could you try the patch
I've attached, to see if it prints anything?
- Dave
Index: g26/drivers/usb/host/ehci-q.c
===================================================================
--- g26.orig/drivers/usb/host/ehci-q.c 2005-11-06 08:29:00.000000000 -0800
+++ g26/drivers/usb/host/ehci-q.c 2005-11-14 11:36:45.000000000 -0800
@@ -784,6 +784,8 @@ static void qh_link_async (struct ehci_h
if (!head->qh_next.qh) {
u32 cmd = readl (&ehci->regs->command);
+WARN_ON(ehci->reclaim);
+
if (!(cmd & CMD_ASE)) {
/* in case a clear of CMD_ASE didn't take yet */
(void) handshake (&ehci->regs->status, STS_ASS, 0, 150);