[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <45E15215.4070600@simon.arlott.org.uk>
Date: Sun, 25 Feb 2007 09:08:37 +0000
From: Simon Arlott <simon@...ott.org>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: lockdep: inconsistent lock state ipv6_add_addr/sctp_v6_copy_addrlist
(2.6.21-rc1)
This happens on every boot if more information is needed:
[ 37.393715] =================================
[ 37.393830] [ INFO: inconsistent lock state ]
[ 37.393881] 2.6.21-rc1-git #146
[ 37.393929] ---------------------------------
[ 37.393979] inconsistent {softirq-on-R} -> {in-softirq-W} usage.
[ 37.394040] hotplug/1072 [HC0[0]:SC1[2]:HE1:SE0] takes:
[ 37.394092] (&ndev->lock){-+-?}, at: [<b04a7944>] ipv6_add_addr+0x164/0x1e0
[ 37.394308] {softirq-on-R} state was registered at:
[ 37.394359] [<b013fc42>] __lock_acquire+0x622/0xbb0
[ 37.394515] [<b0140652>] lock_acquire+0x62/0x80
[ 37.394678] [<b0511c65>] _read_lock+0x35/0x50
[ 37.394834] [<b050e200>] sctp_v6_copy_addrlist+0x30/0xc0
[ 37.394993] [<b04fbd32>] sctp_get_local_addr_list+0x32/0x60
[ 37.395153] [<b06e2390>] sctp_init+0x2c0/0x550
[ 37.395317] [<b06c0c55>] do_initcalls+0x35/0x120
[ 37.395473] [<b06c0d5c>] do_basic_setup+0x1c/0x30
[ 37.395634] [<b06c0dbf>] init+0x3f/0x90
[ 37.395783] [<b0104e77>] kernel_thread_helper+0x7/0x10
[ 37.395939] [<ffffffff>] 0xffffffff
[ 37.396095] irq event stamp: 720
[ 37.396146] hardirqs last enabled at (720): [<b0140b8e>] debug_check_no_locks_freed+0xbe/0xd0
[ 37.396280] hardirqs last disabled at (719): [<b0140afa>] debug_check_no_locks_freed+0x2a/0xd0
[ 37.396413] softirqs last enabled at (380): [<b0125247>] __do_softirq+0x97/0xb0
[ 37.396548] softirqs last disabled at (597): [<b01252a7>] do_softirq+0x47/0x50
[ 37.396683]
[ 37.396685] other info that might help us debug this:
[ 37.396778] 4 locks held by hotplug/1072:
[ 37.396826] #0: (&mm->mmap_sem){----}, at: [<b0116ae6>] do_page_fault+0xb6/0x5a0
[ 37.397066] #1: (&mm->page_table_lock){--..}, at: [<b015ad2e>] do_anonymous_page+0x9e/0x160
[ 37.397306] #2: (&npinfo->poll_lock){-+..}, at: [<b043f028>] net_rx_action+0x158/0x1a0
[ 37.397546] #3: (&tp->rx_lock){-+..}, at: [<b034fe5e>] rtl8139_poll+0x3e/0x120
[ 37.397792]
[ 37.397794] stack backtrace:
[ 37.397885] [<b010503a>] show_trace_log_lvl+0x1a/0x30
[ 37.397972] [<b0105062>] show_trace+0x12/0x20
[ 37.398063] [<b0105176>] dump_stack+0x16/0x20
[ 37.398148] [<b013e841>] print_usage_bug+0x151/0x160
[ 37.398239] [<b013ed13>] mark_lock+0x4c3/0x580
[ 37.398324] [<b013fc20>] __lock_acquire+0x600/0xbb0
[ 37.398410] [<b0140652>] lock_acquire+0x62/0x80
[ 37.398496] [<b0512005>] _write_lock+0x35/0x50
[ 37.398582] [<b04a7944>] ipv6_add_addr+0x164/0x1e0
[ 37.398676] [<b04a96fb>] addrconf_prefix_rcv+0x1bb/0x560
[ 37.398765] [<b04b5a71>] ndisc_router_discovery+0x431/0x600
[ 37.398857] [<b04b6612>] ndisc_rcv+0x92/0xc0
[ 37.398942] [<b04bb970>] icmpv6_rcv+0x2b0/0x2d0
[ 37.399039] [<b04a6a45>] ip6_input+0x1a5/0x3c0
[ 37.399125] [<b04a700a>] ip6_mc_input+0x3a/0x60
[ 37.399211] [<b04a667b>] ipv6_rcv+0x15b/0x380
[ 37.399299] [<b043ed31>] netif_receive_skb+0x271/0x2f0
[ 37.399389] [<b034fa92>] rtl8139_rx+0x142/0x340
[ 37.399475] [<b034fe79>] rtl8139_poll+0x59/0x120
[ 37.399561] [<b043ef59>] net_rx_action+0x89/0x1a0
[ 37.399655] [<b0125202>] __do_softirq+0x52/0xb0
[ 37.399742] [<b01252a7>] do_softirq+0x47/0x50
[ 37.399827] [<b0125365>] irq_exit+0x75/0x80
[ 37.399912] [<b0106a29>] do_IRQ+0x49/0x80
[ 37.399997] [<b0104cd2>] common_interrupt+0x2e/0x34
[ 37.400084] [<b0511fb5>] _spin_lock+0x35/0x50
[ 37.400171] [<b015ad2e>] do_anonymous_page+0x9e/0x160
[ 37.400257] [<b015b2e6>] __handle_mm_fault+0xc6/0x250
[ 37.400347] [<b0116bd4>] do_page_fault+0x1a4/0x5a0
[ 37.400433] [<b0512644>] error_code+0x74/0x7c
[ 37.400521] =======================
--
Simon Arlott
View attachment ".config" of type "text/plain" (46073 bytes)
Download attachment "signature.asc" of type "application/pgp-signature" (830 bytes)
Powered by blists - more mailing lists