Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752136AbZJTNiB (ORCPT ); Tue, 20 Oct 2009 09:38:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752079AbZJTNiA (ORCPT ); Tue, 20 Oct 2009 09:38:00 -0400 Received: from mail-qy0-f194.google.com ([209.85.221.194]:53746 "EHLO mail-qy0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752070AbZJTNh7 (ORCPT ); Tue, 20 Oct 2009 09:37:59 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=VkjZZOwSouv980f5fIOBZyJmEKMyLHEbUhKMjOz7/ED2DeQW/JIW9iFXw7beer8gst 4dEmn3KR5Ehdqj8MAa2ARhOVlLAoyFp01NM2+w+hXqdI7Mym7+cyPymzPY4l5uYDLtvd Y22ZURkfUZ1nAET2q9ITpOZiefKVyPt/EylwQ= Message-ID: <4ADDBD2A.7070807@gmail.com> Date: Tue, 20 Oct 2009 09:37:46 -0400 From: Miles Lane User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: LKML , linux-wireless , olger Schurig Subject: 2.6.32-rc5-git1 -- INFO: possible circular locking dependency detected Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5757 Lines: 132 Resending with wrapping off and time info removed: [ INFO: possible circular locking dependency detected ] 2.6.32-rc5-git1 #1 ------------------------------------------------------- events/0/9 is trying to acquire lock: (&rfkill->sync_work){+.+.+.}, at: [] __cancel_work_timer+0x81/0x181 but task is already holding lock: (&ehotk->hotplug_lock){+.+.+.}, at: [] eeepc_rfkill_hotplug+0x45/0xda [eeepc_laptop] which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #2 (&ehotk->hotplug_lock){+.+.+.}: [] __lock_acquire+0x9fb/0xb6d [] lock_acquire+0x5c/0x73 [] __mutex_lock_common+0x39/0x375 [] mutex_lock_nested+0x2b/0x33 [] eeepc_rfkill_hotplug+0x45/0xda [eeepc_laptop] [] eeepc_rfkill_set+0x1d/0x2d [eeepc_laptop] [] rfkill_set_block+0x6f/0xb1 [rfkill] [] __rfkill_switch_all+0x2e/0x51 [rfkill] [] rfkill_switch_all+0x33/0x41 [rfkill] [] rfkill_op_handler+0xf0/0x11e [rfkill] [] worker_thread+0x161/0x233 [] kthread+0x5f/0x64 [] kernel_thread_helper+0x7/0x10 -> #1 (rfkill_global_mutex){+.+.+.}: [] __lock_acquire+0x9fb/0xb6d [] lock_acquire+0x5c/0x73 [] __mutex_lock_common+0x39/0x375 [] mutex_lock_nested+0x2b/0x33 [] rfkill_sync_work+0x16/0x35 [rfkill] [] worker_thread+0x161/0x233 [] kthread+0x5f/0x64 [] kernel_thread_helper+0x7/0x10 -> #0 (&rfkill->sync_work){+.+.+.}: [] __lock_acquire+0x8fd/0xb6d [] lock_acquire+0x5c/0x73 [] __cancel_work_timer+0xa9/0x181 [] cancel_work_sync+0xa/0xc [] rfkill_unregister+0x37/0x93 [rfkill] [] wiphy_unregister+0x21/0x14c [cfg80211] [] ieee80211_unregister_hw+0xa7/0xc5 [mac80211] [] ath_detach+0x73/0x11b [ath9k] [] ath_cleanup+0xb/0x35 [ath9k] [] ath_pci_remove+0x15/0x17 [ath9k] [] pci_device_remove+0x19/0x39 [] __device_release_driver+0x59/0x9d [] device_release_driver+0x18/0x23 [] bus_remove_device+0x71/0x7e [] device_del+0xf0/0x131 [] device_unregister+0xb/0x15 [] pci_stop_bus_device+0x45/0x61 [] pci_remove_bus_device+0xd/0x90 [] eeepc_rfkill_hotplug+0xbd/0xda [eeepc_laptop] [] eeepc_rfkill_set+0x1d/0x2d [eeepc_laptop] [] rfkill_set_block+0x6f/0xb1 [rfkill] [] __rfkill_switch_all+0x2e/0x51 [rfkill] [] rfkill_switch_all+0x33/0x41 [rfkill] [] rfkill_op_handler+0xf0/0x11e [rfkill] [] worker_thread+0x161/0x233 [] kthread+0x5f/0x64 [] kernel_thread_helper+0x7/0x10 other info that might help us debug this: 4 locks held by events/0/9: #0: (events){+.+.+.}, at: [] worker_thread+0x11f/0x233 #1: ((rfkill_op_work).work){+.+.+.}, at: [] worker_thread+0x11f/0x233 #2: (rfkill_global_mutex){+.+.+.}, at: [] rfkill_switch_all+0x1e/0x41 [rfkill] #3: (&ehotk->hotplug_lock){+.+.+.}, at: [] eeepc_rfkill_hotplug+0x45/0xda [eeepc_laptop] stack backtrace: Pid: 9, comm: events/0 Not tainted 2.6.32-rc5-git1 #1 Call Trace: [] ? printk+0xf/0x17 [] print_circular_bug+0x8a/0x96 [] __lock_acquire+0x8fd/0xb6d [] lock_acquire+0x5c/0x73 [] ? __cancel_work_timer+0x81/0x181 [] __cancel_work_timer+0xa9/0x181 [] ? __cancel_work_timer+0x81/0x181 [] ? mark_lock+0x1e/0x1e2 [] ? mark_held_locks+0x43/0x5b [] ? kfree+0xbf/0xcb [] cancel_work_sync+0xa/0xc [] rfkill_unregister+0x37/0x93 [rfkill] [] wiphy_unregister+0x21/0x14c [cfg80211] [] ? destroy_workqueue+0x72/0x77 [] ieee80211_unregister_hw+0xa7/0xc5 [mac80211] [] ath_detach+0x73/0x11b [ath9k] [] ath_cleanup+0xb/0x35 [ath9k] [] ath_pci_remove+0x15/0x17 [ath9k] [] pci_device_remove+0x19/0x39 [] __device_release_driver+0x59/0x9d [] device_release_driver+0x18/0x23 [] bus_remove_device+0x71/0x7e [] device_del+0xf0/0x131 [] device_unregister+0xb/0x15 [] pci_stop_bus_device+0x45/0x61 [] pci_remove_bus_device+0xd/0x90 [] eeepc_rfkill_hotplug+0xbd/0xda [eeepc_laptop] [] eeepc_rfkill_set+0x1d/0x2d [eeepc_laptop] [] rfkill_set_block+0x6f/0xb1 [rfkill] [] __rfkill_switch_all+0x2e/0x51 [rfkill] [] rfkill_switch_all+0x33/0x41 [rfkill] [] rfkill_op_handler+0xf0/0x11e [rfkill] [] worker_thread+0x161/0x233 [] ? worker_thread+0x11f/0x233 [] ? rfkill_op_handler+0x0/0x11e [rfkill] [] ? autoremove_wake_function+0x0/0x2f [] ? worker_thread+0x0/0x233 [] kthread+0x5f/0x64 [] ? kthread+0x0/0x64 [] kernel_thread_helper+0x7/0x10 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/