Oliver Neukum,
> > device hangs. The program does not respond anymore and ps lists its
> > state as DW. The device is completely hung up at this point, and refuses
> Could you get a backtrace with sysreq of such a hung task?

Here:


VisualBoyAdva D 15223944     0 30964  30963 30965               (NOTLB)
c2d3de94 00200086 d1014c70 15223944 00013a12 00000070 00200282 15223944 
       00013a12 d1014c70 00058aa2 15223944 00013a12 ddf6f6f0 ddf6f898
c2d3df1c 
       c2d3c000 c2d3c000 c2d3def0 c032ce38 c0348e79 00000756 00000000
ddf6f6f0 
Call Trace:
 [<c032ce38>] wait_for_completion+0x88/0xe0
 [<c01167e0>] default_wake_function+0x0/0x20
 [<c01167e0>] default_wake_function+0x0/0x20
 [<c02814a9>] hcd_unlink_urb+0x199/0x280
 [<c02a7af0>] input_open_file+0x0/0x1f0
 [<c0157546>] chrdev_open+0xe6/0x210
 [<c02a2960>] hid_irq_in+0x0/0xb0
 [<c0281d42>] usb_unlink_urb+0x32/0x70
 [<c02a70b4>] input_close_device+0x34/0x40
 [<c02a9303>] joydev_release+0x73/0x90
 [<c014f2e6>] __fput+0x106/0x120
 [<c014da69>] filp_close+0x59/0x90
 [<c014db01>] sys_close+0x61/0xa0
 [<c01040b5>] sysenter_past_esp+0x52/0x71

VisualBoyAdva R running     0 30965  30964                     (NOTLB)


The same hang has also happened with jstest.

Alan Stern,
> Do you have any ideas what programs might be running and using usbfs?
> Maybe some hotplug utility is causing these problems.  If you turn on
> USB debugging in the kernel configuration, the system log might
> contain some clues.

I don't have any usb hotplug daemons running. I also don't see any other
processes that might be interacting with the usbfs system. I also tried
fuser on the files in /proc/bus/usb/ and it listed no entries. Although
I don't know if fuser works on non-real-filesystem files.

I found these in syslog when looking for the Sysrq trace:


Jun  1 12:15:30 meri kernel: irq 7: nobody cared!
Jun  1 12:15:30 meri kernel: Call Trace:
Jun  1 12:15:30 meri kernel:  [<c010634a>] __report_bad_irq+0x2a/0x90
Jun  1 12:15:30 meri kernel:  [<c010643c>] note_interrupt+0x6c/0xa0
Jun  1 12:15:30 meri kernel:  [<c0106711>] do_IRQ+0x121/0x130
Jun  1 12:15:30 meri kernel:  [<c0104a74>] common_interrupt+0x18/0x20
Jun  1 12:15:30 meri kernel:  [<c011d830>] __do_softirq+0x30/0x80
Jun  1 12:15:30 meri kernel:  [<c011d8a6>] do_softirq+0x26/0x30
Jun  1 12:15:30 meri kernel:  [<c01066ed>] do_IRQ+0xfd/0x130
Jun  1 12:15:30 meri kernel:  [<c0104a74>] common_interrupt+0x18/0x20
Jun  1 12:15:30 meri kernel:  [<e085123b>]
acpi_processor_idle+0xd2/0x1c4 [processor]
Jun  1 12:15:30 meri kernel:  [<c01020bc>] cpu_idle+0x2c/0x40
Jun  1 12:15:30 meri kernel:  [<c041075a>] start_kernel+0x15a/0x180
Jun  1 12:15:30 meri kernel:  [<c04104a0>] unknown_bootoption+0x0/0x120
Jun  1 12:15:30 meri kernel:
Jun  1 12:15:30 meri kernel: handlers:
Jun  1 12:15:30 meri kernel: [<c0281880>] (usb_hcd_irq+0x0/0x70)


I'll enable USB debugging now.



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to