Hi,

just in case anybody is interested:  I've recently had a lockdep warning
about ath5k shortly after wakeup with 2.6.31-rc6 (see attachment).

Kind regards,

Thiemo

-- 
+-----------------------------------+--------------------------+
| Dipl.-Phys. Thiemo Nagel          |                          |
| Technische Universitaet Muenchen  | Room    PH1 3276         |
| Physik-Department E18             |                          |
| James-Franck-Strasse              | Phone  +49 89 289-12379  |
| D-85747 Garching                  | Fax    +49 89 289-12570  |
+-----------------------------------+--------------------------+
[25329.229799] PM: Finishing wakeup.
[25329.229807] Restarting tasks ... 
[25329.230172] hub 5-0:1.0: state 7 ports 8 chg 0140 evt 0000
[25329.230335] hub 5-0:1.0: port 6, status 0503, change 0000, 480 Mb/s
[25329.230368] hub 5-0:1.0: port 8, status 0501, change 0000, 480 Mb/s
[25329.360625] done.
[25329.899354] usb 5-6:1.1: uevent
[25329.908320] usb 5-6: uevent
[25329.913323] usb 5-6:1.0: uevent
[25329.914267] usb 5-6: uevent
[25329.916570] usb 5-6:1.2: uevent
[25329.917760] usb 5-6: uevent
[25330.575996] ATL1E 0000:03:00.0: irq 27 for MSI/MSI-X
[25333.735061] wlan0: direct probe to AP 00:03:52:29:6e:90 try 1
[25333.737132] wlan0 direct probe responded
[25333.737151] wlan0: authenticate with AP 00:03:52:29:6e:90
[25333.744827] wlan0: authenticated
[25333.744846] wlan0: associate with AP 00:03:52:29:6e:90
[25333.789591] wlan0: RX AssocResp from 00:03:52:29:6e:90 (capab=0x421 status=1 
aid=0)
[25333.789610] wlan0: AP denied association (code=1)
[25333.944182] wlan0: associate with AP 00:03:52:29:6e:90
[25333.945808] wlan0: RX AssocResp from 00:03:52:29:6e:90 (capab=0x421 status=1 
aid=0)
[25333.945818] wlan0: AP denied association (code=1)
[25334.144095] wlan0: associate with AP 00:03:52:29:6e:90
[25334.145698] wlan0: RX AssocResp from 00:03:52:29:6e:90 (capab=0x421 status=1 
aid=0)
[25334.145708] wlan0: AP denied association (code=1)
[25334.344171] wlan0: association with AP 00:03:52:29:6e:90 timed out
[25341.330708] ath5k phy0: noise floor calibration timeout (2412MHz)
[25341.376976] 
[25341.376982] =======================================================
[25341.376996] [ INFO: possible circular locking dependency detected ]
[25341.377007] 2.6.31-rc6 #1
[25341.377014] -------------------------------------------------------
[25341.377019] events/0/9 is trying to acquire lock:
[25341.377019]  (cpu_add_remove_lock){+.+.+.}, at: [<c102fd8a>] 
cpu_maps_update_begin+0xf/0x11
[25341.377019] 
[25341.377019] but task is already holding lock:
[25341.377019]  (&ehotk->hotplug_work){+.+.+.}, at: [<c103dadb>] 
worker_thread+0x1a8/0x2a2
[25341.377019] 
[25341.377019] which lock already depends on the new lock.
[25341.377019] 
[25341.377019] 
[25341.377019] the existing dependency chain (in reverse order) is:
[25341.377019] 
[25341.377019] -> #2 (&ehotk->hotplug_work){+.+.+.}:
[25341.377019]        [<c1050c8e>] __lock_acquire+0x977/0xaf0
[25341.377019]        [<c1050eb6>] lock_acquire+0xaf/0xcc
[25341.377019]        [<c103daf2>] worker_thread+0x1bf/0x2a2
[25341.377019]        [<c10414c4>] kthread+0x6e/0x73
[25341.377019]        [<c1003ab7>] kernel_thread_helper+0x7/0x10
[25341.377019]        [<ffffffff>] 0xffffffff
[25341.377019] 
[25341.377019] -> #1 (events){+.+.+.}:
[25341.377019]        [<c1050c8e>] __lock_acquire+0x977/0xaf0
[25341.377019]        [<c1050eb6>] lock_acquire+0xaf/0xcc
[25341.377019]        [<c103de37>] cleanup_workqueue_thread+0x2c/0xab
[25341.377019]        [<c125efcb>] workqueue_cpu_callback+0xa1/0xda
[25341.377019]        [<c126e8a4>] notifier_call_chain+0x49/0x71
[25341.377019]        [<c10452b6>] raw_notifier_call_chain+0xc/0xe
[25341.377019]        [<c125dca1>] _cpu_down+0x219/0x22f
[25341.377019]        [<c102fe3e>] disable_nonboot_cpus+0x61/0xf3
[25341.377019]        [<c105a8f0>] suspend_devices_and_enter+0xb9/0x173
[25341.377019]        [<c105aa8a>] enter_state+0xe0/0x121
[25341.377019]        [<c105a296>] state_store+0x97/0xac
[25341.377019]        [<c113cb9d>] kobj_attr_store+0x1a/0x22
[25341.377019]        [<c10f0d1f>] sysfs_write_file+0xb5/0xe0
[25341.377019]        [<c10ae81f>] vfs_write+0x84/0xdf
[25341.377019]        [<c10ae913>] sys_write+0x3b/0x60
[25341.377019]        [<c1002f04>] sysenter_do_call+0x12/0x32
[25341.377019]        [<ffffffff>] 0xffffffff
[25341.377019] 
[25341.377019] -> #0 (cpu_add_remove_lock){+.+.+.}:
[25341.377019]        [<c1050b9e>] __lock_acquire+0x887/0xaf0
[25341.377019]        [<c1050eb6>] lock_acquire+0xaf/0xcc
[25341.377019]        [<c126b451>] __mutex_lock_common+0x3e/0x390
[25341.377019]        [<c126b82c>] mutex_lock_nested+0x29/0x31
[25341.377019]        [<c102fd8a>] cpu_maps_update_begin+0xf/0x11
[25341.377019]        [<c103defc>] destroy_workqueue+0x1e/0x8f
[25341.377019]        [<f8302194>] ieee80211_unregister_hw+0x9f/0xd0 [mac80211]
[25341.377019]        [<f8359c05>] ath5k_pci_remove+0x29/0xcc [ath5k]
[25341.377850]        [<c114f0b9>] pci_device_remove+0x19/0x39
[25341.377850]        [<c11aae4a>] __device_release_driver+0x5e/0x96
[25341.377850]        [<c11aaf1f>] device_release_driver+0x18/0x23
[25341.377850]        [<c11aa61b>] bus_remove_device+0x90/0xc3
[25341.377850]        [<c11a8d1a>] device_del+0xfa/0x154
[25341.377850]        [<c11a8d9c>] device_unregister+0x28/0x4b
[25341.377850]        [<c114b225>] pci_stop_bus_device+0x45/0x61
[25341.377850]        [<c114b2b5>] pci_remove_bus_device+0xd/0x93
[25341.377850]        [<f80dcdf2>] eeepc_hotplug_work+0x7c/0xba [eeepc_laptop]
[25341.377850]        [<c103daf8>] worker_thread+0x1c5/0x2a2
[25341.377850]        [<c10414c4>] kthread+0x6e/0x73
[25341.378027]        [<c1003ab7>] kernel_thread_helper+0x7/0x10
[25341.378027]        [<ffffffff>] 0xffffffff
[25341.378027] 
[25341.378027] other info that might help us debug this:
[25341.378027] 
[25341.378027] 2 locks held by events/0/9:
[25341.378027]  #0:  (events){+.+.+.}, at: [<c103dabe>] 
worker_thread+0x18b/0x2a2
[25341.378027]  #1:  (&ehotk->hotplug_work){+.+.+.}, at: [<c103dadb>] 
worker_thread+0x1a8/0x2a2
[25341.378027] 
[25341.378027] stack backtrace:
[25341.378027] Pid: 9, comm: events/0 Not tainted 2.6.31-rc6 #1
[25341.378027] Call Trace:
[25341.378027]  [<c126a1e5>] ? printk+0xf/0x12
[25341.378027]  [<c1050053>] print_circular_bug_tail+0x5d/0x68
[25341.378027]  [<c1050b9e>] __lock_acquire+0x887/0xaf0
[25341.378027]  [<c1050eb6>] lock_acquire+0xaf/0xcc
[25341.378027]  [<c102fd8a>] ? cpu_maps_update_begin+0xf/0x11
[25341.378027]  [<c126b451>] __mutex_lock_common+0x3e/0x390
[25341.378027]  [<c102fd8a>] ? cpu_maps_update_begin+0xf/0x11
[25341.378027]  [<c126c641>] ? _spin_unlock_irqrestore+0x36/0x60
[25341.378027]  [<c104fb00>] ? trace_hardirqs_on_caller+0x107/0x12f
[25341.378027]  [<c126b82c>] mutex_lock_nested+0x29/0x31
[25341.378027]  [<c102fd8a>] ? cpu_maps_update_begin+0xf/0x11
[25341.378027]  [<c102fd8a>] cpu_maps_update_begin+0xf/0x11
[25341.378027]  [<c103defc>] destroy_workqueue+0x1e/0x8f
[25341.378027]  [<f8302194>] ieee80211_unregister_hw+0x9f/0xd0 [mac80211]
[25341.378027]  [<f8359c05>] ath5k_pci_remove+0x29/0xcc [ath5k]
[25341.378027]  [<c114f0b9>] pci_device_remove+0x19/0x39
[25341.378027]  [<c11aae4a>] __device_release_driver+0x5e/0x96
[25341.378027]  [<c11aaf1f>] device_release_driver+0x18/0x23
[25341.378027]  [<c11aa61b>] bus_remove_device+0x90/0xc3
[25341.378027]  [<c11a8d1a>] device_del+0xfa/0x154
[25341.378027]  [<c11a8d9c>] device_unregister+0x28/0x4b
[25341.378027]  [<c114b225>] pci_stop_bus_device+0x45/0x61
[25341.378027]  [<c114b2b5>] pci_remove_bus_device+0xd/0x93
[25341.378027]  [<f80dcdf2>] eeepc_hotplug_work+0x7c/0xba [eeepc_laptop]
[25341.378027]  [<c103daf8>] worker_thread+0x1c5/0x2a2
[25341.378027]  [<c103dadb>] ? worker_thread+0x1a8/0x2a2
[25341.378027]  [<f80dcd76>] ? eeepc_hotplug_work+0x0/0xba [eeepc_laptop]
[25341.378027]  [<c104179b>] ? autoremove_wake_function+0x0/0x33
[25341.378027]  [<c103d933>] ? worker_thread+0x0/0x2a2
[25341.378027]  [<c10414c4>] kthread+0x6e/0x73
[25341.378027]  [<c1041456>] ? kthread+0x0/0x73
[25341.378027]  [<c1003ab7>] kernel_thread_helper+0x7/0x10
[25341.379549] ath5k 0000:01:00.0: PCI INT A disabled
[25352.533295] pci 0000:01:00.0: reg 10 64bit mmio: [0x000000-0x00ffff]
[25352.533806] ath5k 0000:01:00.0: enabling device (0000 -> 0002)
[25352.533833] ath5k 0000:01:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[25352.533870] ath5k 0000:01:00.0: setting latency timer to 64
[25352.534088] ath5k 0000:01:00.0: registered as 'phy1'
[25352.608684] ath: EEPROM regdomain: 0x60
[25352.608694] ath: EEPROM indicates we should expect a direct regpair map
[25352.608703] ath: Country alpha2 being used: 00
[25352.608709] ath: Regpair used: 0x60
[25352.611483] phy1: Selected rate control algorithm 'minstrel'
[25352.613629] Registered led device: ath5k-phy1::rx
[25352.613751] Registered led device: ath5k-phy1::tx
[25352.613766] ath5k phy1: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
_______________________________________________
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel

Reply via email to