Re: 2.6.17-mm3 -- BUG: trying to register non-static key!

From: Miles Lane
Date: Wed Jun 28 2006 - 14:07:42 EST


After rebuilding with your patch, the stack trace shows up,
but now there is a warning of a possible circular locking dependency:

[ INFO: possible circular locking dependency detected ]
-------------------------------------------------------
S13gdm/2088 is trying to acquire lock:
(&dev->queue_lock){-+..}, at: [<c11a1fbc>] dev_queue_xmit+0x120/0x248

but task is already holding lock:
(&dev->_xmit_lock){-+..}, at: [<c11a201f>] dev_queue_xmit+0x183/0x248

which lock already depends on the new lock.


the existing dependency chain (in reverse order) is:

-> #1 (&dev->_xmit_lock){-+..}:
[<c102cbca>] lock_acquire+0x60/0x80
[<c11fcafd>] _spin_lock_bh+0x28/0x37
[<c11acd1e>] dev_activate+0xce/0x100
[<c11a844b>] linkwatch_run_queue+0x10b/0x138
[<c11a849c>] linkwatch_event+0x24/0x2b
[<c1024198>] run_workqueue+0x86/0xcb
[<c1024711>] worker_thread+0xe1/0x114
[<c1026ca7>] kthread+0xb0/0xdc
[<c1001005>] kernel_thread_helper+0x5/0xb

-> #0 (&dev->queue_lock){-+..}:
[<c102cbca>] lock_acquire+0x60/0x80
[<c11fcac6>] _spin_lock+0x23/0x32
[<c11a1fbc>] dev_queue_xmit+0x120/0x248
[<f886779e>] hostap_data_start_xmit+0x610/0x61a [hostap]
[<c11a0641>] dev_hard_start_xmit+0x206/0x212
[<c11a203b>] dev_queue_xmit+0x19f/0x248
[<f8c48cb3>] mld_sendpack+0x1a0/0x24d [ipv6]
[<f8c4984c>] mld_ifc_timer_expire+0x1b2/0x1d9 [ipv6]
[<c101d8da>] run_timer_softirq+0xf2/0x14a
[<c101a4aa>] __do_softirq+0x55/0xb0
[<c1004a64>] do_softirq+0x58/0xbd

other info that might help us debug this:

1 lock held by S13gdm/2088:
#0: (&dev->_xmit_lock){-+..}, at: [<c11a201f>] dev_queue_xmit+0x183/0x248

stack backtrace:
[<c1003502>] show_trace_log_lvl+0x54/0xfd
[<c1003b6a>] show_trace+0xd/0x10
[<c1003c0e>] dump_stack+0x19/0x1b
[<c102bf9c>] print_circular_bug_tail+0x59/0x64
[<c102c770>] __lock_acquire+0x7c9/0x95e
[<c102cbca>] lock_acquire+0x60/0x80
[<c11fcac6>] _spin_lock+0x23/0x32
[<c11a1fbc>] dev_queue_xmit+0x120/0x248
[<f886779e>] hostap_data_start_xmit+0x610/0x61a [hostap]
[<c11a0641>] dev_hard_start_xmit+0x206/0x212
[<c11a203b>] dev_queue_xmit+0x19f/0x248
[<f8c48cb3>] mld_sendpack+0x1a0/0x24d [ipv6]
[<f8c4984c>] mld_ifc_timer_expire+0x1b2/0x1d9 [ipv6]
[<c101d8da>] run_timer_softirq+0xf2/0x14a
[<c101a4aa>] __do_softirq+0x55/0xb0
[<c1004a64>] do_softirq+0x58/0xbd
[<c101a544>] irq_exit+0x3f/0x4b
[<c1004b69>] do_IRQ+0xa0/0xaf
[<c1002fd9>] common_interrupt+0x25/0x2c
[drm] Initialized drm 1.0.1 20051102
-
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/