All of lore.kernel.org
 help / color / mirror / Atom feed
From: Miles Lane <miles.lane@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>,
	linux-wireless <linux-wireless@vger.kernel.org>,
	olger Schurig <hs4233@mail.mn-solutions.de>
Subject: 2.6.32-rc5-git1 -- INFO: possible circular locking dependency detected
Date: Tue, 20 Oct 2009 09:37:46 -0400	[thread overview]
Message-ID: <4ADDBD2A.7070807@gmail.com> (raw)

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: [<c1039083>] 
__cancel_work_timer+0x81/0x181
 
 but task is already holding lock:
  (&ehotk->hotplug_lock){+.+.+.}, at: [<f8587708>] 
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){+.+.+.}:
        [<c104ac60>] __lock_acquire+0x9fb/0xb6d
        [<c104ae2e>] lock_acquire+0x5c/0x73
        [<c129e223>] __mutex_lock_common+0x39/0x375
        [<c129e5ee>] mutex_lock_nested+0x2b/0x33
        [<f8587708>] eeepc_rfkill_hotplug+0x45/0xda [eeepc_laptop]
        [<f858787c>] eeepc_rfkill_set+0x1d/0x2d [eeepc_laptop]
        [<f83f4a9f>] rfkill_set_block+0x6f/0xb1 [rfkill]
        [<f83f4b78>] __rfkill_switch_all+0x2e/0x51 [rfkill]
        [<f83f4c12>] rfkill_switch_all+0x33/0x41 [rfkill]
        [<f83f51b0>] rfkill_op_handler+0xf0/0x11e [rfkill]
        [<c1038965>] worker_thread+0x161/0x233
        [<c103b883>] kthread+0x5f/0x64
        [<c1003613>] kernel_thread_helper+0x7/0x10
 
 -> #1 (rfkill_global_mutex){+.+.+.}:
        [<c104ac60>] __lock_acquire+0x9fb/0xb6d
        [<c104ae2e>] lock_acquire+0x5c/0x73
        [<c129e223>] __mutex_lock_common+0x39/0x375
        [<c129e5ee>] mutex_lock_nested+0x2b/0x33
        [<f83f4c36>] rfkill_sync_work+0x16/0x35 [rfkill]
        [<c1038965>] worker_thread+0x161/0x233
        [<c103b883>] kthread+0x5f/0x64
        [<c1003613>] kernel_thread_helper+0x7/0x10
 
 -> #0 (&rfkill->sync_work){+.+.+.}:
        [<c104ab62>] __lock_acquire+0x8fd/0xb6d
        [<c104ae2e>] lock_acquire+0x5c/0x73
        [<c10390ab>] __cancel_work_timer+0xa9/0x181
        [<c103919a>] cancel_work_sync+0xa/0xc
        [<f83f4e55>] rfkill_unregister+0x37/0x93 [rfkill]
        [<f84d95bc>] wiphy_unregister+0x21/0x14c [cfg80211]
        [<f885a0ed>] ieee80211_unregister_hw+0xa7/0xc5 [mac80211]
        [<f89805d9>] ath_detach+0x73/0x11b [ath9k]
        [<f898068c>] ath_cleanup+0xb/0x35 [ath9k]
        [<f8987305>] ath_pci_remove+0x15/0x17 [ath9k]
        [<c112c7a7>] pci_device_remove+0x19/0x39
        [<c11c5076>] __device_release_driver+0x59/0x9d
        [<c11c5157>] device_release_driver+0x18/0x23
        [<c11c470b>] bus_remove_device+0x71/0x7e
        [<c11c3425>] device_del+0xf0/0x131
        [<c11c3471>] device_unregister+0xb/0x15
        [<c1128d11>] pci_stop_bus_device+0x45/0x61
        [<c1128d91>] pci_remove_bus_device+0xd/0x90
        [<f8587780>] eeepc_rfkill_hotplug+0xbd/0xda [eeepc_laptop]
        [<f858787c>] eeepc_rfkill_set+0x1d/0x2d [eeepc_laptop]
        [<f83f4a9f>] rfkill_set_block+0x6f/0xb1 [rfkill]
        [<f83f4b78>] __rfkill_switch_all+0x2e/0x51 [rfkill]
        [<f83f4c12>] rfkill_switch_all+0x33/0x41 [rfkill]
        [<f83f51b0>] rfkill_op_handler+0xf0/0x11e [rfkill]
        [<c1038965>] worker_thread+0x161/0x233
        [<c103b883>] kthread+0x5f/0x64
        [<c1003613>] kernel_thread_helper+0x7/0x10
 
 other info that might help us debug this:
 
 4 locks held by events/0/9:
  #0:  (events){+.+.+.}, at: [<c1038923>] worker_thread+0x11f/0x233
  #1:  ((rfkill_op_work).work){+.+.+.}, at: [<c1038923>] 
worker_thread+0x11f/0x233
  #2:  (rfkill_global_mutex){+.+.+.}, at: [<f83f4bfd>] 
rfkill_switch_all+0x1e/0x41 [rfkill]
  #3:  (&ehotk->hotplug_lock){+.+.+.}, at: [<f8587708>] 
eeepc_rfkill_hotplug+0x45/0xda [eeepc_laptop]
 
 stack backtrace:
 Pid: 9, comm: events/0 Not tainted 2.6.32-rc5-git1 #1
 Call Trace:
  [<c129d1e0>] ? printk+0xf/0x17
  [<c1049f29>] print_circular_bug+0x8a/0x96
  [<c104ab62>] __lock_acquire+0x8fd/0xb6d
  [<c104ae2e>] lock_acquire+0x5c/0x73
  [<c1039083>] ? __cancel_work_timer+0x81/0x181
  [<c10390ab>] __cancel_work_timer+0xa9/0x181
  [<c1039083>] ? __cancel_work_timer+0x81/0x181
  [<c104974c>] ? mark_lock+0x1e/0x1e2
  [<c1049953>] ? mark_held_locks+0x43/0x5b
  [<c108b0d1>] ? kfree+0xbf/0xcb
  [<c103919a>] cancel_work_sync+0xa/0xc
  [<f83f4e55>] rfkill_unregister+0x37/0x93 [rfkill]
  [<f84d95bc>] wiphy_unregister+0x21/0x14c [cfg80211]
  [<c1038d10>] ? destroy_workqueue+0x72/0x77
  [<f885a0ed>] ieee80211_unregister_hw+0xa7/0xc5 [mac80211]
  [<f89805d9>] ath_detach+0x73/0x11b [ath9k]
  [<f898068c>] ath_cleanup+0xb/0x35 [ath9k]
  [<f8987305>] ath_pci_remove+0x15/0x17 [ath9k]
  [<c112c7a7>] pci_device_remove+0x19/0x39
  [<c11c5076>] __device_release_driver+0x59/0x9d
  [<c11c5157>] device_release_driver+0x18/0x23
  [<c11c470b>] bus_remove_device+0x71/0x7e
  [<c11c3425>] device_del+0xf0/0x131
  [<c11c3471>] device_unregister+0xb/0x15
  [<c1128d11>] pci_stop_bus_device+0x45/0x61
  [<c1128d91>] pci_remove_bus_device+0xd/0x90
  [<f8587780>] eeepc_rfkill_hotplug+0xbd/0xda [eeepc_laptop]
  [<f858787c>] eeepc_rfkill_set+0x1d/0x2d [eeepc_laptop]
  [<f83f4a9f>] rfkill_set_block+0x6f/0xb1 [rfkill]
  [<f83f4b78>] __rfkill_switch_all+0x2e/0x51 [rfkill]
  [<f83f4c12>] rfkill_switch_all+0x33/0x41 [rfkill]
  [<f83f51b0>] rfkill_op_handler+0xf0/0x11e [rfkill]
  [<c1038965>] worker_thread+0x161/0x233
  [<c1038923>] ? worker_thread+0x11f/0x233
  [<f83f50c0>] ? rfkill_op_handler+0x0/0x11e [rfkill]
  [<c103ba7d>] ? autoremove_wake_function+0x0/0x2f
  [<c1038804>] ? worker_thread+0x0/0x233
  [<c103b883>] kthread+0x5f/0x64
  [<c103b824>] ? kthread+0x0/0x64
  [<c1003613>] kernel_thread_helper+0x7/0x10

             reply	other threads:[~2009-10-20 13:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-20 13:37 Miles Lane [this message]
2009-10-22  8:34 ` 2.6.32-rc5-git1 -- INFO: possible circular locking dependency detected Johannes Berg
  -- strict thread matches above, loose matches on Subject: below --
2009-10-20 13:54 Miles Lane
2009-10-20 12:35 Miles Lane
2009-10-20 12:35 ` Miles Lane

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ADDBD2A.7070807@gmail.com \
    --to=miles.lane@gmail.com \
    --cc=hs4233@mail.mn-solutions.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.