well, when running e1000 through some code paths on FC4 + 2.6.17-rc5-mm1 + ingo's latest rollup patch, with this lockdep debug option enabled I got this: e1000: eth1: e1000_watchdog_task: NIC Link is Up 1000 Mbps Full Duplex ====================================== [ BUG: bad unlock ordering detected! ] -------------------------------------- mDNSResponder/2361 is trying to release lock (&in_dev->mc_list_lock) at: [<ffffffff81233f5a>] ip_mc_add_src+0x85/0x1f8 but the next lock to release is: (&im->lock){-+..}, at: [<ffffffff81233f52>] ip_mc_add_src+0x7d/0x1f8 other info that might help us debug this: 2 locks held by mDNSResponder/2361: #0: (rtnl_mutex){--..}, at: [<ffffffff81253741>] mutex_lock+0x27/0x2c #1: (&in_dev->mc_list_lock){-.-?}, at: [<ffffffff81233f14>] ip_mc_add_src+0x3f/0x1f8 stack backtrace: Call Trace: [<ffffffff8100a8c0>] show_trace+0xa4/0x204 [<ffffffff8100ac32>] dump_stack+0x15/0x17 [<ffffffff8104495b>] lockdep_release+0x197/0x329 [<ffffffff81254e45>] _read_unlock+0x1c/0x28 [<ffffffff81233f5a>] ip_mc_add_src+0x85/0x1f8 [<ffffffff812342f5>] ip_mc_inc_group+0x1b5/0x220 [<ffffffff8123493e>] ip_mc_join_group+0xcf/0xf3 [<ffffffff81214ca7>] do_ip_setsockopt+0x697/0x99d [<ffffffff81215059>] ip_setsockopt+0x24/0x8b [<ffffffff8122c5bc>] udp_setsockopt+0xe/0x1c [<ffffffff811ec236>] sock_common_setsockopt+0xf/0x11 [<ffffffff811ea425>] sys_setsockopt+0x8f/0xb4 [<ffffffff810093c2>] tracesys+0xd1/0xdb e1000: eth1: e1000_watchdog_task: NIC Link is Down e1000: eth1: e1000_watchdog_task: NIC Link is Up 1000 Mbps Full Duplex .config attached. As an aside, when I first tried to enable this I turned on the selftest but turned off all the lockdep options besides spinlock and the selftest fails.
Attachment:
config.gz
Description: GNU Zip compressed data
- Follow-Ups:
- Re: 2.6.17-rc5-mm1 lockdep output
- From: Arjan van de Ven <[email protected]>
- [patch, -rc5-mm1] lock validator: special locking: net/ipv4/igmp.c #2
- From: Ingo Molnar <[email protected]>
- Re: 2.6.17-rc5-mm1 lockdep output
- Prev by Date: Re: [rfc][patch] remove racy sync_page?
- Next by Date: Re: Kernel 2.6.16.18 with general protection fault, perhaps nfsd
- Previous by thread: Big kernel lock contention in do_open() and blkdev_put()
- Next by thread: [patch, -rc5-mm1] lock validator: special locking: net/ipv4/igmp.c #2
- Index(es):