Re: USB Disconnect BUG with RT Kernels (linux-2.6.23-rt1)

From: Jiri Kosina
Date: Mon Oct 22 2007 - 12:57:19 EST


On Mon, 22 Oct 2007, Esben Stien wrote:

> [<c0319a64>] input_unregister_device+0x67/0xfc
> [<c032a139>] hidinput_disconnect+0x2e/0x47
> [<c032d697>] hid_disconnect+0x76/0xce
> [<c02fd799>] usb_unbind_interface+0x2d/0x6e
> [<c02b7ba4>] __device_release_driver+0x71/0x8e
> [<c02b7c65>] device_release_driver+0x18/0x21
> [<c02b76f3>] bus_remove_device+0x70/0x80
> [<c02b5ddf>] device_del+0x1bb/0x22f
> [<c02fb4f1>] usb_disable_device+0x5c/0xbb
> [<c02f807d>] usb_disconnect+0x7a/0xd3
> [<c02f85a9>] hub_thread+0x30f/0x9ea
> [<c010d79a>] update_stats_wait_end+0x9b/0xbe
> [<c03c4c32>] __schedule+0x27e/0x36d
> [<c01214e5>] autoremove_wake_function+0x0/0x35
> [<c02f829a>] hub_thread+0x0/0x9ea
> [<c012142e>] kthread+0x36/0x5c
> [<c01213f8>] kthread+0x0/0x5c
> [<c0102913>] kernel_thread_helper+0x7/0x10
> =======================
> Code: e8 3c c5 ff ff 8b 5e 64 eb 1b 8d 83 08 04 00 00 b9 06 00 02 00 ba 1d 00 00 00 e8 d7 fc e3 ff 8b 9b 10 04 00 00 81 eb 10 04 00 00 <8b> 83 10 04 00 00 0f 18 00 90 8d 93 10 04 00 00 8d 46 64 39 c2
> EIP: [<c031c3d9>] evdev_disconnect+0x5b/0x96 SS:ESP 0068:c1e07e84

Please try the latest git. Dmitry has pushed patches that implement proper
locking in input layer, which are very likely going to fix the bug you are
seeing.

Namely commits 8006479, 6addb1d and 464b241, so please try to reproduce
with any kernel that has them.

Thanks,

--
Jiri Kosina
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/