Hi, I am still working on my driver for our proprietary usb-device. I get a kernel panic under the following condition:
1. usb_submit_urb // bulk in endpoint, urb with usb_complete_t set 2. wait_event_interruptible_timeout // about 3 seconds timeout 3. unplug the device -> I see "usb 1-2: USB disconnect, address 2" in syslog 4. the wait_event call times out 5. usb_unlink_urb // called synchronously 6. my disconnect function gets called and completes without problems ...so far so good... 7. I replug the device, the kernel panics immediately The console shows, among other things: Stack Trace: complete + 0x18/0x30 usb_hcd_give_back_urb uhci_finish_completion usb_ucd_irq do_IRQ ... Fatal exception in interrupt In interrupt handler - not syncing (this is a hand copy of the info, that I thought was most important. If someone can explain to me how to get the kernel-panic message in a text file, please ...) Some information about the system: - via C3 - uhci controller - kernel 2.6.1 (I set FSBR_DELAY to HZ/2, see my other posts regarding throughput problems) I have a desktop development system with a uhci controller, as well, running with same kernel version (other configuration, though) and the same driver. This system does _not_ panic under these conditions. The difference is that I could not reproduce the timeout when waiting for the completion. Instead, the completion handler gets always called with an urb status of either -EILSEQ (-84) or ECONNRESET (-104). Then I can replug the device without problems. In case I should provide more information about the system (kernel configuration, hardware, etc.) please tell me. Any suggestions? Thanks, Axel. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel