Hi,

here is some additional insight:

I worked around the panic by modifying my drivers completion function to
no call complete() if the device has been removed. That means I can
replug the device now without the panic. Log when I replug now looks
like that:

Jan 20 13:28:47 koffer kernel: uhci_irq status = 36, uhci->state = -10 
Jan 20 13:28:47 koffer kernel: uhci_remove_pending_qhs process cef33b00 
Jan 20 13:28:47 koffer kernel: >>> uhci_finish_urb cef33b00
Jan 20 13:28:47 koffer kernel: >>> uhci_set_next_interrupt
Jan 20 13:28:47 koffer kernel:  << uhci_set_next_interrupt
Jan 20 13:28:47 koffer kernel: >>> giveback cef33b00
Jan 20 13:28:47 koffer kernel: spheroncam.c: spheroncam_complete urb:
cef33b00 status: -104
Jan 20 13:28:47 koffer kernel:  << giveback cef33b00
Jan 20 13:28:47 koffer kernel:  << uhci_finish_urb cef33b00 
Jan 20 13:28:47 koffer kernel: drivers/usb/host/uhci-hcd.c: e400:
wakeup_hc

# ... here come a few giveback calls, then...

Jan 20 13:28:47 koffer kernel: hub 1-0:1.0: new USB device on port 1,
assigned address 3
Jan 20 13:28:52 koffer kernel: usb 1-1: control timeout on ep0out
Jan 20 13:28:52 koffer kernel: >>> uhci_urb_dequeue cef337a0 e400
Jan 20 13:28:52 koffer kernel: >>> uhci_set_next_interrupt e400
Jan 20 13:28:52 koffer kernel:  << uhci_set_next_interrupt e400
Jan 20 13:28:52 koffer kernel: uhci_urb_dequeue cef337a0 list_empty ==
true e400Jan 20 13:28:52 koffer kernel: >>> uhci_set_next_interrupt e400
Jan 20 13:28:52 koffer kernel:  << uhci_set_next_interrupt e400
Jan 20 13:28:52 koffer kernel:  << uhci_urb_dequeue cef337a0
uhci->state: 2 e400

# ... and then more giveback calls.

After this procedure set_next_interrupt, triggered with cat, does still
not work. It looks like some enumeration related URB does not complete,
it times out, it gets dequeued, I see continuous giveback calls, etc. So
the reconnect does not fix the malfunction. The uhci_irq call seen in
the first line of the above trace is the only one I can provoke. It
occurres every time I replug the device.

Axel.



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to