[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200809041439.05542.denys@visp.net.lb>
Date: Thu, 4 Sep 2008 14:39:04 +0300
From: Denys Fedoryshchenko <denys@...p.net.lb>
To: linux-kernel@...r.kernel.org
Cc: linux-usb@...r.kernel.org
Subject: USB recursive locking, 2.6.27-rc5 while keyboard unplug/plug
Got a warning, while plugging/unplugging keyboard.
[ 120.290895] usb 3-1: USB disconnect, address 2
[ 120.334263]
[ 120.334267] =============================================
[ 120.334456] [ INFO: possible recursive locking detected ]
[ 120.334556] 2.6.27-rc5-build-0032-00013-g592edf8-dirty #4
[ 120.334654] ---------------------------------------------
[ 120.334752] events/0/6 is trying to acquire lock:
[ 120.334853] (&usbhid->reset_work){--..}, at: [<c012e747>] __cancel_work_timer+0x8f/0x16f
[ 120.334856]
[ 120.334856] but task is already holding lock:
[ 120.334856] (&usbhid->reset_work){--..}, at: [<c012dfd7>] run_workqueue+0x92/0x1a5
[ 120.334856]
[ 120.334856] other info that might help us debug this:
[ 120.334856] 2 locks held by events/0/6:
[ 120.334856] #0: (events){--..}, at: [<c012dfd7>] run_workqueue+0x92/0x1a5
[ 120.334856] #1: (&usbhid->reset_work){--..}, at: [<c012dfd7>] run_workqueue+0x92/0x1a5
[ 120.334856]
[ 120.334856] stack backtrace:
[ 120.334856] Pid: 6, comm: events/0 Not tainted 2.6.27-rc5-build-0032-00013-g592edf8-dirty #4
[ 120.334856] [<c02b9570>] ? printk+0xf/0x17
[ 120.334856] [<c013da9e>] __lock_acquire+0xb35/0x1185
[ 120.334856] [<c013b489>] ? add_lock_to_list+0x60/0x92
[ 120.334856] [<c013e136>] lock_acquire+0x48/0x64
[ 120.334856] [<c012e747>] ? __cancel_work_timer+0x8f/0x16f
[ 120.334856] [<c012e75e>] __cancel_work_timer+0xa6/0x16f
[ 120.334856] [<c012e747>] ? __cancel_work_timer+0x8f/0x16f
[ 120.334856] [<c013c6ad>] ? mark_held_locks+0x53/0x6a
[ 120.334856] [<c013c850>] ? trace_hardirqs_on+0xb/0xd
[ 120.334856] [<c013c824>] ? trace_hardirqs_on_caller+0xe1/0x102
[ 120.334856] [<c013c850>] ? trace_hardirqs_on+0xb/0xd
[ 120.334856] [<c0128aa6>] ? try_to_del_timer_sync+0x48/0x4f
[ 120.334856] [<c012e83e>] cancel_work_sync+0xa/0xc
[ 120.334856] [<d08ab2b5>] hid_disconnect+0x7d/0xd2 [usbhid]
[ 120.334856] [<d0895763>] usb_unbind_interface+0x3f/0x7c [usbcore]
[ 120.334856] [<c022913f>] __device_release_driver+0x78/0x96
[ 120.334856] [<c0229212>] device_release_driver+0x1b/0x26
[ 120.334856] [<d08957dd>] usb_driver_release_interface+0x3d/0x7c [usbcore]
[ 120.334856] [<d0895838>] usb_rebind_intf+0x1c/0x5e [usbcore]
[ 120.334856] [<d088fd6a>] usb_reset_device+0xbf/0xd6 [usbcore]
[ 120.334856] [<d08abbd5>] hid_reset+0x9a/0x120 [usbhid]
[ 120.334856] [<c012e01c>] run_workqueue+0xd7/0x1a5
[ 120.334856] [<c012dfd7>] ? run_workqueue+0x92/0x1a5
[ 120.334856] [<c013c850>] ? trace_hardirqs_on+0xb/0xd
[ 120.334856] [<d08abb3b>] ? hid_reset+0x0/0x120 [usbhid]
[ 120.334856] [<c012e1a1>] worker_thread+0xb7/0xc3
[ 120.334856] [<c01310d1>] ? autoremove_wake_function+0x0/0x33
[ 120.334856] [<c012e0ea>] ? worker_thread+0x0/0xc3
[ 120.334856] [<c0130e5d>] kthread+0x3b/0x61
[ 120.334856] [<c0130e22>] ? kthread+0x0/0x61
[ 120.334856] [<c010452f>] kernel_thread_helper+0x7/0x10
[ 120.334856] =======================
[ 131.130083] eth0: link down
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists