lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0801081949290.1135@bizon.gios.gov.pl>
Date:	Tue, 8 Jan 2008 19:50:22 +0100 (CET)
From:	Krzysztof Oledzki <olel@....pl>
To:	Jay Vosburgh <fubar@...ibm.com>
cc:	netdev@...r.kernel.org, Jeff Garzik <jgarzik@...ox.com>,
	David Miller <davem@...emloft.net>,
	Andy Gospodarek <andy@...yhouse.net>
Subject: Re: [PATCH 0/3] bonding: 3 fixes for 2.6.24



On Mon, 7 Jan 2008, Jay Vosburgh wrote:

> 	Following are three fixes to fix locking problems and
> silence locking-related warnings in the current 2.6.24-rc.
>
> 	patch 1: fix locking in sysfs primary/active selection
>
> 	Call core network functions with expected locks to
> eliminate potential deadlock and silence warnings.
>
> 	patch 2: fix ASSERT_RTNL that produces spurious warnings
>
> 	Relocate ASSERT_RTNL to remove a false warning; after patch,
> ASSERT is located in code that holds only RTNL (additional locks were
> causing the ASSERT to trip)
>
> 	patch 3: fix locking during alb failover and slave removal
>
> 	Fix all call paths into alb_fasten_mac_swap to hold only RTNL.
> Eliminates deadlock and silences warnings.
>
> 	Patches are against the current netdev-2.6#upstream branch.
>
> 	Please apply for 2.6.24.

2.6.24-rc7 + patches #1, #2, #3:

bonding: bond0: setting mode to active-backup (1).
bonding: bond0: Setting MII monitoring interval to 100.
ADDRCONF(NETDEV_UP): bond0: link is not ready
bonding: bond0: Adding slave eth0.
e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
bonding: bond0: making interface eth0 the new active one.
bonding: bond0: first active interface up!
bonding: bond0: enslaving eth0 as an active interface with an up link.
bonding: bond0: Adding slave eth1.
ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready

=========================================================
[ INFO: possible irq lock inversion dependency detected ]
2.6.24-rc7 #1
---------------------------------------------------------
events/0/9 just changed the state of lock:
  (&mc->mca_lock){-+..}, at: [<c041258e>] mld_ifc_timer_expire+0x130/0x1fb
but this lock took another, soft-read-irq-unsafe lock in the past:
  (&bond->lock){-.--}

and interrupts could create inverse lock ordering between them.


other info that might help us debug this:
4 locks held by events/0/9:
  #0:  (events){--..}, at: [<c0133d33>] run_workqueue+0x87/0x1b6
  #1:  ((linkwatch_work).work){--..}, at: [<c0133d33>] run_workqueue+0x87/0x1b6
  #2:  (rtnl_mutex){--..}, at: [<c03ac678>] linkwatch_event+0x5/0x22
  #3:  (&ndev->lock){-.-+}, at: [<c0412475>] mld_ifc_timer_expire+0x17/0x1fb

the first lock's dependencies:
-> (&mc->mca_lock){-+..} ops: 10 {
    initial-use  at:
                         [<c0104ee2>] dump_trace+0x83/0x8d
                         [<c0142890>] __lock_acquire+0x4ba/0xc07
                         [<c0109ef2>] save_stack_trace+0x20/0x3a
                         [<c0142f95>] __lock_acquire+0xbbf/0xc07
                         [<c0412d66>] ipv6_dev_mc_inc+0x24d/0x31c
                         [<c0143056>] lock_acquire+0x79/0x93
                         [<c04129ea>] igmp6_group_added+0x18/0x11d
                         [<c043a8aa>] _spin_lock_bh+0x3b/0x64
                         [<c04129ea>] igmp6_group_added+0x18/0x11d
                         [<c04129ea>] igmp6_group_added+0x18/0x11d
                         [<c0141f93>] trace_hardirqs_on+0x122/0x14c
                         [<c0412dbc>] ipv6_dev_mc_inc+0x2a3/0x31c
                         [<c0412d66>] ipv6_dev_mc_inc+0x24d/0x31c
                         [<c0412df1>] ipv6_dev_mc_inc+0x2d8/0x31c
                         [<c0412b19>] ipv6_dev_mc_inc+0x0/0x31c
                         [<c0402168>] ipv6_add_dev+0x21c/0x24b
                         [<c040b991>] ndisc_ifinfo_sysctl_change+0x0/0x1ef
                         [<c05c5ae9>] addrconf_init+0x13/0x193
                         [<c019a04b>] proc_net_fops_create+0x10/0x21
                         [<c041a44c>] ip6_flowlabel_init+0x1e/0x20
                         [<c05c59c9>] inet6_init+0x1f0/0x2ad
                         [<c05a9499>] kernel_init+0x150/0x2b7
                         [<c05a9349>] kernel_init+0x0/0x2b7
                         [<c05a9349>] kernel_init+0x0/0x2b7
                         [<c0104baf>] kernel_thread_helper+0x7/0x10
                         [<ffffffff>] 0xffffffff
    in-softirq-W at:
                         [<c014197a>] mark_lock+0x64/0x451
                         [<c0142816>] __lock_acquire+0x440/0xc07
                         [<c0103f7b>] restore_nocheck+0x12/0x15
                         [<c0143056>] lock_acquire+0x79/0x93
                         [<c041258e>] mld_ifc_timer_expire+0x130/0x1fb
                         [<c041245e>] mld_ifc_timer_expire+0x0/0x1fb
                         [<c043a8aa>] _spin_lock_bh+0x3b/0x64
                         [<c041258e>] mld_ifc_timer_expire+0x130/0x1fb
                         [<c041258e>] mld_ifc_timer_expire+0x130/0x1fb
                         [<c041245e>] mld_ifc_timer_expire+0x0/0x1fb
                         [<c0141f7d>] trace_hardirqs_on+0x10c/0x14c
                         [<c041245e>] mld_ifc_timer_expire+0x0/0x1fb
                         [<c012e02e>] run_timer_softirq+0xfa/0x15d
                         [<c012a982>] __do_softirq+0x56/0xdb
                         [<c0141f7d>] trace_hardirqs_on+0x10c/0x14c
                         [<c012a994>] __do_softirq+0x68/0xdb
                         [<c012aa3d>] do_softirq+0x36/0x51
                         [<c012af26>] local_bh_enable_ip+0xad/0xed
                         [<c03bfa37>] rt_run_flush+0x64/0x8b
                         [<c03e9bbe>] fib_netdev_event+0x61/0x65
                         [<c013ac34>] notifier_call_chain+0x2a/0x52
                         [<c013ac7e>] raw_notifier_call_chain+0x17/0x1a
                         [<c03a340d>] netdev_state_change+0x18/0x29
                         [<c03ac645>] __linkwatch_run_queue+0x150/0x17e
                         [<c03ac690>] linkwatch_event+0x1d/0x22
                         [<c0133d87>] run_workqueue+0xdb/0x1b6
                         [<c0133d33>] run_workqueue+0x87/0x1b6
                         [<c03ac673>] linkwatch_event+0x0/0x22
                         [<c01347a7>] worker_thread+0x0/0x85
                         [<c0134820>] worker_thread+0x79/0x85
                         [<c0137255>] autoremove_wake_function+0x0/0x35
                         [<c013719e>] kthread+0x38/0x5e
                         [<c0137166>] kthread+0x0/0x5e
                         [<c0104baf>] kernel_thread_helper+0x7/0x10
                         [<ffffffff>] 0xffffffff
    hardirq-on-W at:
                         [<c01417e2>] find_usage_backwards+0xbb/0xe2
                         [<c0104ee2>] dump_trace+0x83/0x8d
                         [<c014285e>] __lock_acquire+0x488/0xc07
                         [<c0109ef2>] save_stack_trace+0x20/0x3a
                         [<c0142f95>] __lock_acquire+0xbbf/0xc07
                         [<c0412d66>] ipv6_dev_mc_inc+0x24d/0x31c
                         [<c0143056>] lock_acquire+0x79/0x93
                         [<c04129ea>] igmp6_group_added+0x18/0x11d
                         [<c043a8aa>] _spin_lock_bh+0x3b/0x64
                         [<c04129ea>] igmp6_group_added+0x18/0x11d
                         [<c04129ea>] igmp6_group_added+0x18/0x11d
                         [<c0141f93>] trace_hardirqs_on+0x122/0x14c
                         [<c0412dbc>] ipv6_dev_mc_inc+0x2a3/0x31c
                         [<c0412d66>] ipv6_dev_mc_inc+0x24d/0x31c
                         [<c0412df1>] ipv6_dev_mc_inc+0x2d8/0x31c
                         [<c0412b19>] ipv6_dev_mc_inc+0x0/0x31c
                         [<c0402168>] ipv6_add_dev+0x21c/0x24b
                         [<c040b991>] ndisc_ifinfo_sysctl_change+0x0/0x1ef
                         [<c05c5ae9>] addrconf_init+0x13/0x193
                         [<c019a04b>] proc_net_fops_create+0x10/0x21
                         [<c041a44c>] ip6_flowlabel_init+0x1e/0x20
                         [<c05c59c9>] inet6_init+0x1f0/0x2ad
                         [<c05a9499>] kernel_init+0x150/0x2b7
                         [<c05a9349>] kernel_init+0x0/0x2b7
                         [<c05a9349>] kernel_init+0x0/0x2b7
                         [<c0104baf>] kernel_thread_helper+0x7/0x10
                         [<ffffffff>] 0xffffffff
  }
  ... key      at: [<c087e2d8>] __key.30803+0x0/0x8
  -> (_xmit_ETHER){-...} ops: 8 {
     initial-use  at:
                           [<c0142890>] __lock_acquire+0x4ba/0xc07
                           [<c0143056>] lock_acquire+0x79/0x93
                           [<c03a63c9>] dev_mc_add+0x1a/0x6a
                           [<c043a8aa>] _spin_lock_bh+0x3b/0x64
                           [<c03a63c9>] dev_mc_add+0x1a/0x6a
                           [<c03a63c9>] dev_mc_add+0x1a/0x6a
                           [<c0412a28>] igmp6_group_added+0x56/0x11d
                           [<c0412dbc>] ipv6_dev_mc_inc+0x2a3/0x31c
                           [<c0410100>] icmpv6_rcv+0x6a4/0x828
                           [<c0412df1>] ipv6_dev_mc_inc+0x2d8/0x31c
                           [<c0412b19>] ipv6_dev_mc_inc+0x0/0x31c
                           [<c0402168>] ipv6_add_dev+0x21c/0x24b
                           [<c040b991>] ndisc_ifinfo_sysctl_change+0x0/0x1ef
                           [<c040274b>] addrconf_notify+0x60/0x7b7
                           [<c0142f95>] __lock_acquire+0xbbf/0xc07
                           [<c0141da0>] mark_held_locks+0x39/0x53
                           [<c043997e>] mutex_lock_nested+0x286/0x2ac
                           [<c0141f93>] trace_hardirqs_on+0x122/0x14c
                           [<c043999c>] mutex_lock_nested+0x2a4/0x2ac
                           [<c03a4875>] register_netdevice_notifier+0xe/0x126
                           [<c03a4875>] register_netdevice_notifier+0xe/0x126
                           [<c03a48b0>] register_netdevice_notifier+0x49/0x126
                           [<c05c5b83>] addrconf_init+0xad/0x193
                           [<c05c5af1>] addrconf_init+0x1b/0x193
                           [<c05c59c9>] inet6_init+0x1f0/0x2ad
                           [<c05a9499>] kernel_init+0x150/0x2b7
                           [<c05a9349>] kernel_init+0x0/0x2b7
                           [<c05a9349>] kernel_init+0x0/0x2b7
                           [<c0104baf>] kernel_thread_helper+0x7/0x10
                           [<ffffffff>] 0xffffffff
     hardirq-on-W at:
                           [<c014197a>] mark_lock+0x64/0x451
                           [<c014285e>] __lock_acquire+0x488/0xc07
                           [<c0143056>] lock_acquire+0x79/0x93
                           [<c03a63c9>] dev_mc_add+0x1a/0x6a
                           [<c043a8aa>] _spin_lock_bh+0x3b/0x64
                           [<c03a63c9>] dev_mc_add+0x1a/0x6a
                           [<c03a63c9>] dev_mc_add+0x1a/0x6a
                           [<c0412a28>] igmp6_group_added+0x56/0x11d
                           [<c0412dbc>] ipv6_dev_mc_inc+0x2a3/0x31c
                           [<c0410100>] icmpv6_rcv+0x6a4/0x828
                           [<c0412df1>] ipv6_dev_mc_inc+0x2d8/0x31c
                           [<c0412b19>] ipv6_dev_mc_inc+0x0/0x31c
                           [<c0402168>] ipv6_add_dev+0x21c/0x24b
                           [<c040b991>] ndisc_ifinfo_sysctl_change+0x0/0x1ef
                           [<c040274b>] addrconf_notify+0x60/0x7b7
                           [<c0142f95>] __lock_acquire+0xbbf/0xc07
                           [<c0141da0>] mark_held_locks+0x39/0x53
                           [<c043997e>] mutex_lock_nested+0x286/0x2ac
                           [<c0141f93>] trace_hardirqs_on+0x122/0x14c
                           [<c043999c>] mutex_lock_nested+0x2a4/0x2ac
                           [<c03a4875>] register_netdevice_notifier+0xe/0x126
                           [<c03a4875>] register_netdevice_notifier+0xe/0x126
                           [<c03a48b0>] register_netdevice_notifier+0x49/0x126
                           [<c05c5b83>] addrconf_init+0xad/0x193
                           [<c05c5af1>] addrconf_init+0x1b/0x193
                           [<c05c59c9>] inet6_init+0x1f0/0x2ad
                           [<c05a9499>] kernel_init+0x150/0x2b7
                           [<c05a9349>] kernel_init+0x0/0x2b7
                           [<c05a9349>] kernel_init+0x0/0x2b7
                           [<c0104baf>] kernel_thread_helper+0x7/0x10
                           [<ffffffff>] 0xffffffff
   }
   ... key      at: [<c087adc8>] netdev_xmit_lock_key+0x8/0x1c0
  ... acquired at:
    [<c0142df3>] __lock_acquire+0xa1d/0xc07
    [<c03a63c9>] dev_mc_add+0x1a/0x6a
    [<c0143056>] lock_acquire+0x79/0x93
    [<c03a63c9>] dev_mc_add+0x1a/0x6a
    [<c043a8aa>] _spin_lock_bh+0x3b/0x64
    [<c03a63c9>] dev_mc_add+0x1a/0x6a
    [<c03a63c9>] dev_mc_add+0x1a/0x6a
    [<c0412a28>] igmp6_group_added+0x56/0x11d
    [<c0412dbc>] ipv6_dev_mc_inc+0x2a3/0x31c
    [<c0410100>] icmpv6_rcv+0x6a4/0x828
    [<c0412df1>] ipv6_dev_mc_inc+0x2d8/0x31c
    [<c0412b19>] ipv6_dev_mc_inc+0x0/0x31c
    [<c0402168>] ipv6_add_dev+0x21c/0x24b
    [<c040b991>] ndisc_ifinfo_sysctl_change+0x0/0x1ef
    [<c040274b>] addrconf_notify+0x60/0x7b7
    [<c0142f95>] __lock_acquire+0xbbf/0xc07
    [<c0141da0>] mark_held_locks+0x39/0x53
    [<c043997e>] mutex_lock_nested+0x286/0x2ac
    [<c0141f93>] trace_hardirqs_on+0x122/0x14c
    [<c043999c>] mutex_lock_nested+0x2a4/0x2ac
    [<c03a4875>] register_netdevice_notifier+0xe/0x126
    [<c03a4875>] register_netdevice_notifier+0xe/0x126
    [<c03a48b0>] register_netdevice_notifier+0x49/0x126
    [<c05c5b83>] addrconf_init+0xad/0x193
    [<c05c5af1>] addrconf_init+0x1b/0x193
    [<c05c59c9>] inet6_init+0x1f0/0x2ad
    [<c05a9499>] kernel_init+0x150/0x2b7
    [<c05a9349>] kernel_init+0x0/0x2b7
    [<c05a9349>] kernel_init+0x0/0x2b7
    [<c0104baf>] kernel_thread_helper+0x7/0x10
    [<ffffffff>] 0xffffffff

  -> (&bonding_netdev_xmit_lock_key){-...} ops: 6 {
     initial-use  at:
                           [<c0142890>] __lock_acquire+0x4ba/0xc07
                           [<c0143056>] lock_acquire+0x79/0x93
                           [<c03a63c9>] dev_mc_add+0x1a/0x6a
                           [<c043a8aa>] _spin_lock_bh+0x3b/0x64
                           [<c03a63c9>] dev_mc_add+0x1a/0x6a
                           [<c03a63c9>] dev_mc_add+0x1a/0x6a
                           [<c0412a28>] igmp6_group_added+0x56/0x11d
                           [<c0412dbc>] ipv6_dev_mc_inc+0x2a3/0x31c
                           [<c0410100>] icmpv6_rcv+0x6a4/0x828
                           [<c0412df1>] ipv6_dev_mc_inc+0x2d8/0x31c
                           [<c0412b19>] ipv6_dev_mc_inc+0x0/0x31c
                           [<c0402168>] ipv6_add_dev+0x21c/0x24b
                           [<c040b991>] ndisc_ifinfo_sysctl_change+0x0/0x1ef
                           [<c040274b>] addrconf_notify+0x60/0x7b7
                           [<c0142f95>] __lock_acquire+0xbbf/0xc07
                           [<c0141da0>] mark_held_locks+0x39/0x53
                           [<c043997e>] mutex_lock_nested+0x286/0x2ac
                           [<c0141f93>] trace_hardirqs_on+0x122/0x14c
                           [<c043999c>] mutex_lock_nested+0x2a4/0x2ac
                           [<c03a4875>] register_netdevice_notifier+0xe/0x126
                           [<c03a4875>] register_netdevice_notifier+0xe/0x126
                           [<c03a48b0>] register_netdevice_notifier+0x49/0x126
                           [<c05c5b83>] addrconf_init+0xad/0x193
                           [<c05c5af1>] addrconf_init+0x1b/0x193
                           [<c05c59c9>] inet6_init+0x1f0/0x2ad
                           [<c05a9499>] kernel_init+0x150/0x2b7
                           [<c05a9349>] kernel_init+0x0/0x2b7
                           [<c05a9349>] kernel_init+0x0/0x2b7
                           [<c0104baf>] kernel_thread_helper+0x7/0x10
                           [<ffffffff>] 0xffffffff
     hardirq-on-W at:
                           [<c014197a>] mark_lock+0x64/0x451
                           [<c014285e>] __lock_acquire+0x488/0xc07
                           [<c0143056>] lock_acquire+0x79/0x93
                           [<c03a63c9>] dev_mc_add+0x1a/0x6a
                           [<c043a8aa>] _spin_lock_bh+0x3b/0x64
                           [<c03a63c9>] dev_mc_add+0x1a/0x6a
                           [<c03a63c9>] dev_mc_add+0x1a/0x6a
                           [<c0412a28>] igmp6_group_added+0x56/0x11d
                           [<c0412dbc>] ipv6_dev_mc_inc+0x2a3/0x31c
                           [<c0410100>] icmpv6_rcv+0x6a4/0x828
                           [<c0412df1>] ipv6_dev_mc_inc+0x2d8/0x31c
                           [<c0412b19>] ipv6_dev_mc_inc+0x0/0x31c
                           [<c0402168>] ipv6_add_dev+0x21c/0x24b
                           [<c040b991>] ndisc_ifinfo_sysctl_change+0x0/0x1ef
                           [<c040274b>] addrconf_notify+0x60/0x7b7
                           [<c0142f95>] __lock_acquire+0xbbf/0xc07
                           [<c0141da0>] mark_held_locks+0x39/0x53
                           [<c043997e>] mutex_lock_nested+0x286/0x2ac
                           [<c0141f93>] trace_hardirqs_on+0x122/0x14c
                           [<c043999c>] mutex_lock_nested+0x2a4/0x2ac
                           [<c03a4875>] register_netdevice_notifier+0xe/0x126
                           [<c03a4875>] register_netdevice_notifier+0xe/0x126
                           [<c03a48b0>] register_netdevice_notifier+0x49/0x126
                           [<c05c5b83>] addrconf_init+0xad/0x193
                           [<c05c5af1>] addrconf_init+0x1b/0x193
                           [<c05c59c9>] inet6_init+0x1f0/0x2ad
                           [<c05a9499>] kernel_init+0x150/0x2b7
                           [<c05a9349>] kernel_init+0x0/0x2b7
                           [<c05a9349>] kernel_init+0x0/0x2b7
                           [<c0104baf>] kernel_thread_helper+0x7/0x10
                           [<ffffffff>] 0xffffffff
   }
   ... key      at: [<c0877804>] bonding_netdev_xmit_lock_key+0x0/0x8
   -> (&bond->lock){-.--} ops: 99 {
      initial-use  at:
                             [<c013fe29>] put_lock_stats+0xa/0x1e
                             [<c0142890>] __lock_acquire+0x4ba/0xc07
                             [<c0141da0>] mark_held_locks+0x39/0x53
                             [<c043af0d>] _spin_unlock_irqrestore+0x40/0x58
                             [<c0143056>] lock_acquire+0x79/0x93
                             [<c02edca1>] bond_get_stats+0x28/0xd0
                             [<c043aa36>] _read_lock_bh+0x3b/0x64
                             [<c02edca1>] bond_get_stats+0x28/0xd0
                             [<c02edca1>] bond_get_stats+0x28/0xd0
                             [<c03aad0f>] rtnl_fill_ifinfo+0x2bf/0x563
                             [<c03ab28d>] rtmsg_ifinfo+0x5d/0xdf
                             [<c03ab34e>] rtnetlink_event+0x3f/0x42
                             [<c013ac34>] notifier_call_chain+0x2a/0x52
                             [<c013ac7e>] raw_notifier_call_chain+0x17/0x1a
                             [<c03a3b06>] register_netdevice+0x2a7/0x2e7
                             [<c02ed842>] bond_create+0x1f2/0x26a
                             [<c05bed76>] bonding_init+0x761/0x7ea
                             [<c05be5de>] e1000_init_module+0x45/0x7c
                             [<c05a9499>] kernel_init+0x150/0x2b7
                             [<c05a9349>] kernel_init+0x0/0x2b7
                             [<c05a9349>] kernel_init+0x0/0x2b7
                             [<c0104baf>] kernel_thread_helper+0x7/0x10
                             [<ffffffff>] 0xffffffff
      hardirq-on-W at:
                             [<c014285e>] __lock_acquire+0x488/0xc07
                             [<c01208c9>] try_to_wake_up+0x2ce/0x2d8
                             [<c0142f95>] __lock_acquire+0xbbf/0xc07
                             [<c0143056>] lock_acquire+0x79/0x93
                             [<c02eda55>] bond_set_multicast_list+0x1d/0x241
                             [<c043a96d>] _write_lock_bh+0x3b/0x64
                             [<c02eda55>] bond_set_multicast_list+0x1d/0x241
                             [<c02eda55>] bond_set_multicast_list+0x1d/0x241
                             [<c013fe29>] put_lock_stats+0xa/0x1e
                             [<c03a1e03>] __dev_set_rx_mode+0x7b/0x7d
                             [<c03a1f9d>] dev_set_rx_mode+0x23/0x36
                             [<c03a4678>] dev_open+0x5e/0x77
                             [<c03a3347>] dev_change_flags+0x9d/0x14b
                             [<c03a214b>] __dev_get_by_name+0x68/0x73
                             [<c03e4176>] devinet_ioctl+0x22b/0x536
                             [<c03a446d>] dev_ioctl+0x46f/0x5b7
                             [<c039a598>] sock_ioctl+0x167/0x18b
                             [<c039a431>] sock_ioctl+0x0/0x18b
                             [<c0172677>] do_ioctl+0x1f/0x62
                             [<c01728e7>] vfs_ioctl+0x22d/0x23f
                             [<c0141f93>] trace_hardirqs_on+0x122/0x14c
                             [<c017292c>] sys_ioctl+0x33/0x4b
                             [<c0103e92>] sysenter_past_esp+0x5f/0xa5
                             [<ffffffff>] 0xffffffff
      softirq-on-R at:
                             [<c014197a>] mark_lock+0x64/0x451
                             [<c013583a>] __kernel_text_address+0x5/0xe
                             [<c0104ee2>] dump_trace+0x83/0x8d
                             [<c014287d>] __lock_acquire+0x4a7/0xc07
                             [<c013fc6a>] save_trace+0x37/0x89
                             [<c0133d33>] run_workqueue+0x87/0x1b6
                             [<c0143056>] lock_acquire+0x79/0x93
                             [<c02eee43>] bond_mii_monitor+0x19/0x85
                             [<c043aa95>] _read_lock+0x36/0x5f
                             [<c02eee43>] bond_mii_monitor+0x19/0x85
                             [<c02eee43>] bond_mii_monitor+0x19/0x85
                             [<c0133d87>] run_workqueue+0xdb/0x1b6
                             [<c0133d33>] run_workqueue+0x87/0x1b6
                             [<c02eee2a>] bond_mii_monitor+0x0/0x85
                             [<c01347a7>] worker_thread+0x0/0x85
                             [<c0134820>] worker_thread+0x79/0x85
                             [<c0137255>] autoremove_wake_function+0x0/0x35
                             [<c013719e>] kthread+0x38/0x5e
                             [<c0137166>] kthread+0x0/0x5e
                             [<c0104baf>] kernel_thread_helper+0x7/0x10
                             [<ffffffff>] 0xffffffff
      hardirq-on-R at:
                             [<c013fdfe>] get_lock_stats+0xd/0x2e
                             [<c013fe29>] put_lock_stats+0xa/0x1e
                             [<c0142838>] __lock_acquire+0x462/0xc07
                             [<c0141da0>] mark_held_locks+0x39/0x53
                             [<c043af0d>] _spin_unlock_irqrestore+0x40/0x58
                             [<c0143056>] lock_acquire+0x79/0x93
                             [<c02edca1>] bond_get_stats+0x28/0xd0
                             [<c043aa36>] _read_lock_bh+0x3b/0x64
                             [<c02edca1>] bond_get_stats+0x28/0xd0
                             [<c02edca1>] bond_get_stats+0x28/0xd0
                             [<c03aad0f>] rtnl_fill_ifinfo+0x2bf/0x563
                             [<c03ab28d>] rtmsg_ifinfo+0x5d/0xdf
                             [<c03ab34e>] rtnetlink_event+0x3f/0x42
                             [<c013ac34>] notifier_call_chain+0x2a/0x52
                             [<c013ac7e>] raw_notifier_call_chain+0x17/0x1a
                             [<c03a3b06>] register_netdevice+0x2a7/0x2e7
                             [<c02ed842>] bond_create+0x1f2/0x26a
                             [<c05bed76>] bonding_init+0x761/0x7ea
                             [<c05be5de>] e1000_init_module+0x45/0x7c
                             [<c05a9499>] kernel_init+0x150/0x2b7
                             [<c05a9349>] kernel_init+0x0/0x2b7
                             [<c05a9349>] kernel_init+0x0/0x2b7
                             [<c0104baf>] kernel_thread_helper+0x7/0x10
                             [<ffffffff>] 0xffffffff
    }
    ... key      at: [<c08777d0>] __key.32976+0x0/0x8
    -> (_xmit_ETHER){-...} ops: 8 {
       initial-use  at:
                               [<c0142890>] __lock_acquire+0x4ba/0xc07
                               [<c0143056>] lock_acquire+0x79/0x93
                               [<c03a63c9>] dev_mc_add+0x1a/0x6a
                               [<c043a8aa>] _spin_lock_bh+0x3b/0x64
                               [<c03a63c9>] dev_mc_add+0x1a/0x6a
                               [<c03a63c9>] dev_mc_add+0x1a/0x6a
                               [<c0412a28>] igmp6_group_added+0x56/0x11d
                               [<c0412dbc>] ipv6_dev_mc_inc+0x2a3/0x31c
                               [<c0410100>] icmpv6_rcv+0x6a4/0x828
                               [<c0412df1>] ipv6_dev_mc_inc+0x2d8/0x31c
                               [<c0412b19>] ipv6_dev_mc_inc+0x0/0x31c
                               [<c0402168>] ipv6_add_dev+0x21c/0x24b
                               [<c040b991>] ndisc_ifinfo_sysctl_change+0x0/0x1ef
                               [<c040274b>] addrconf_notify+0x60/0x7b7
                               [<c0142f95>] __lock_acquire+0xbbf/0xc07
                               [<c0141da0>] mark_held_locks+0x39/0x53
                               [<c043997e>] mutex_lock_nested+0x286/0x2ac
                               [<c0141f93>] trace_hardirqs_on+0x122/0x14c
                               [<c043999c>] mutex_lock_nested+0x2a4/0x2ac
                               [<c03a4875>] register_netdevice_notifier+0xe/0x126
                               [<c03a4875>] register_netdevice_notifier+0xe/0x126
                               [<c03a48b0>] register_netdevice_notifier+0x49/0x126
                               [<c05c5b83>] addrconf_init+0xad/0x193
                               [<c05c5af1>] addrconf_init+0x1b/0x193
                               [<c05c59c9>] inet6_init+0x1f0/0x2ad
                               [<c05a9499>] kernel_init+0x150/0x2b7
                               [<c05a9349>] kernel_init+0x0/0x2b7
                               [<c05a9349>] kernel_init+0x0/0x2b7
                               [<c0104baf>] kernel_thread_helper+0x7/0x10
                               [<ffffffff>] 0xffffffff
       hardirq-on-W at:
                               [<c014197a>] mark_lock+0x64/0x451
                               [<c014285e>] __lock_acquire+0x488/0xc07
                               [<c0143056>] lock_acquire+0x79/0x93
                               [<c03a63c9>] dev_mc_add+0x1a/0x6a
                               [<c043a8aa>] _spin_lock_bh+0x3b/0x64
                               [<c03a63c9>] dev_mc_add+0x1a/0x6a
                               [<c03a63c9>] dev_mc_add+0x1a/0x6a
                               [<c0412a28>] igmp6_group_added+0x56/0x11d
                               [<c0412dbc>] ipv6_dev_mc_inc+0x2a3/0x31c
                               [<c0410100>] icmpv6_rcv+0x6a4/0x828
                               [<c0412df1>] ipv6_dev_mc_inc+0x2d8/0x31c
                               [<c0412b19>] ipv6_dev_mc_inc+0x0/0x31c
                               [<c0402168>] ipv6_add_dev+0x21c/0x24b
                               [<c040b991>] ndisc_ifinfo_sysctl_change+0x0/0x1ef
                               [<c040274b>] addrconf_notify+0x60/0x7b7
                               [<c0142f95>] __lock_acquire+0xbbf/0xc07
                               [<c0141da0>] mark_held_locks+0x39/0x53
                               [<c043997e>] mutex_lock_nested+0x286/0x2ac
                               [<c0141f93>] trace_hardirqs_on+0x122/0x14c
                               [<c043999c>] mutex_lock_nested+0x2a4/0x2ac
                               [<c03a4875>] register_netdevice_notifier+0xe/0x126
                               [<c03a4875>] register_netdevice_notifier+0xe/0x126
                               [<c03a48b0>] register_netdevice_notifier+0x49/0x126
                               [<c05c5b83>] addrconf_init+0xad/0x193
                               [<c05c5af1>] addrconf_init+0x1b/0x193
                               [<c05c59c9>] inet6_init+0x1f0/0x2ad
                               [<c05a9499>] kernel_init+0x150/0x2b7
                               [<c05a9349>] kernel_init+0x0/0x2b7
                               [<c05a9349>] kernel_init+0x0/0x2b7
                               [<c0104baf>] kernel_thread_helper+0x7/0x10
                               [<ffffffff>] 0xffffffff
     }
     ... key      at: [<c087adc8>] netdev_xmit_lock_key+0x8/0x1c0
    ... acquired at:
    [<c0142df3>] __lock_acquire+0xa1d/0xc07
    [<c03a63c9>] dev_mc_add+0x1a/0x6a
    [<c043af0d>] _spin_unlock_irqrestore+0x40/0x58
    [<c0109ef2>] save_stack_trace+0x20/0x3a
    [<c0143056>] lock_acquire+0x79/0x93
    [<c03a63c9>] dev_mc_add+0x1a/0x6a
    [<c043a8aa>] _spin_lock_bh+0x3b/0x64
    [<c03a63c9>] dev_mc_add+0x1a/0x6a
    [<c03a63c9>] dev_mc_add+0x1a/0x6a
    [<c02ee472>] bond_change_active_slave+0x1a9/0x3bf
    [<c02ec7a3>] bond_update_speed_duplex+0x26/0x65
    [<c02ee991>] bond_select_active_slave+0x97/0xd3
    [<c02ed20b>] bond_compute_features+0x45/0x84
    [<c02ef9b6>] bond_enslave+0x6a7/0x884
    [<c043999c>] mutex_lock_nested+0x2a4/0x2ac
    [<c02f61af>] bonding_store_slaves+0x1ae/0x2fb
    [<c02f6001>] bonding_store_slaves+0x0/0x2fb
    [<c02ce8b7>] dev_attr_store+0x27/0x2c
    [<c019bda1>] sysfs_write_file+0xad/0xe0
    [<c019bcf4>] sysfs_write_file+0x0/0xe0
    [<c0168e5c>] vfs_write+0x8a/0x10c
    [<c0118562>] do_page_fault+0x0/0x54a
    [<c01693e1>] sys_write+0x41/0x67
    [<c0103e92>] sysenter_past_esp+0x5f/0xa5
    [<ffffffff>] 0xffffffff

    -> (lweventlist_lock){.+..} ops: 10 {
       initial-use  at:
                               [<c014197a>] mark_lock+0x64/0x451
                               [<c0142890>] __lock_acquire+0x4ba/0xc07
                               [<c02e363c>] e1000_read_phy_reg+0x1c7/0x1d3
                               [<c02e346b>] e1000_write_phy_reg+0xb9/0xc3
                               [<c024a82e>] delay_tsc+0x25/0x3b
                               [<c0143056>] lock_acquire+0x79/0x93
                               [<c03ac41f>] linkwatch_add_event+0xd/0x2c
                               [<c043abc7>] _spin_lock_irqsave+0x3f/0x6c
                               [<c03ac41f>] linkwatch_add_event+0xd/0x2c
                               [<c03ac41f>] linkwatch_add_event+0xd/0x2c
                               [<c03ac4e3>] linkwatch_fire_event+0x25/0x37
                               [<c02e1c23>] e1000_probe+0xad1/0xbe8
                               [<c0257f1b>] pci_device_probe+0x36/0x57
                               [<c02d0e3f>] driver_probe_device+0xe1/0x15f
                               [<c043ae41>] _spin_unlock+0x25/0x3b
                               [<c0437ec6>] klist_next+0x58/0x6d
                               [<c02d0f4f>] __driver_attach+0x0/0x7f
                               [<c02d0f98>] __driver_attach+0x49/0x7f
                               [<c02d03e3>] bus_for_each_dev+0x36/0x58
                               [<c02d0c97>] driver_attach+0x16/0x18
                               [<c02d0f4f>] __driver_attach+0x0/0x7f
                               [<c02d06da>] bus_add_driver+0x6d/0x18d
                               [<c0258065>] __pci_register_driver+0x53/0x7f
                               [<c05be5de>] e1000_init_module+0x45/0x7c
                               [<c05a9499>] kernel_init+0x150/0x2b7
                               [<c05a9349>] kernel_init+0x0/0x2b7
                               [<c05a9349>] kernel_init+0x0/0x2b7
                               [<c0104baf>] kernel_thread_helper+0x7/0x10
                               [<ffffffff>] 0xffffffff
       in-softirq-W at:
                               [<c011d1c0>] __wake_up_common+0x32/0x5c
                               [<c0142816>] __lock_acquire+0x440/0xc07
                               [<c043af0d>] _spin_unlock_irqrestore+0x40/0x58
                               [<c0143056>] lock_acquire+0x79/0x93
                               [<c03ac41f>] linkwatch_add_event+0xd/0x2c
                               [<c02dfee1>] e1000_watchdog+0x0/0x5c9
                               [<c043abc7>] _spin_lock_irqsave+0x3f/0x6c
                               [<c03ac41f>] linkwatch_add_event+0xd/0x2c
                               [<c03ac41f>] linkwatch_add_event+0xd/0x2c
                               [<c03ac4e3>] linkwatch_fire_event+0x25/0x37
                               [<c03af46a>] netif_carrier_on+0x16/0x27
                               [<c02e0136>] e1000_watchdog+0x255/0x5c9
                               [<c02dfee1>] e1000_watchdog+0x0/0x5c9
                               [<c012e02e>] run_timer_softirq+0xfa/0x15d
                               [<c012a982>] __do_softirq+0x56/0xdb
                               [<c0141f7d>] trace_hardirqs_on+0x10c/0x14c
                               [<c012a994>] __do_softirq+0x68/0xdb
                               [<c012aa3d>] do_softirq+0x36/0x51
                               [<c012abe3>] irq_exit+0x43/0x4e
                               [<c0114122>] smp_apic_timer_interrupt+0x74/0x80
                               [<c0104a01>] apic_timer_interrupt+0x29/0x38
                               [<c0104a0b>] apic_timer_interrupt+0x33/0x38
                               [<c01600d8>] sys_swapon+0x254/0x9aa
                               [<c01021a6>] mwait_idle_with_hints+0x3b/0x3f
                               [<c0102447>] mwait_idle+0x0/0xf
                               [<c0102581>] cpu_idle+0x99/0xc6
                               [<c05a98c7>] start_kernel+0x2c7/0x2cf
                               [<c05a90e0>] unknown_bootoption+0x0/0x195
                               [<ffffffff>] 0xffffffff
     }
     ... key      at: [<c058a194>] lweventlist_lock+0x14/0x40
    ... acquired at:
    [<c0142df3>] __lock_acquire+0xa1d/0xc07
    [<c03ac41f>] linkwatch_add_event+0xd/0x2c
    [<c0142f95>] __lock_acquire+0xbbf/0xc07
    [<c0143056>] lock_acquire+0x79/0x93
    [<c03ac41f>] linkwatch_add_event+0xd/0x2c
    [<c043abc7>] _spin_lock_irqsave+0x3f/0x6c
    [<c03ac41f>] linkwatch_add_event+0xd/0x2c
    [<c03ac41f>] linkwatch_add_event+0xd/0x2c
    [<c03ac4e3>] linkwatch_fire_event+0x25/0x37
    [<c03af46a>] netif_carrier_on+0x16/0x27
    [<c02ede0c>] bond_set_carrier+0x31/0x55
    [<c02ee998>] bond_select_active_slave+0x9e/0xd3
    [<c02ed20b>] bond_compute_features+0x45/0x84
    [<c02ef9b6>] bond_enslave+0x6a7/0x884
    [<c043999c>] mutex_lock_nested+0x2a4/0x2ac
    [<c02f61af>] bonding_store_slaves+0x1ae/0x2fb
    [<c02f6001>] bonding_store_slaves+0x0/0x2fb
    [<c02ce8b7>] dev_attr_store+0x27/0x2c
    [<c019bda1>] sysfs_write_file+0xad/0xe0
    [<c019bcf4>] sysfs_write_file+0x0/0xe0
    [<c0168e5c>] vfs_write+0x8a/0x10c
    [<c0118562>] do_page_fault+0x0/0x54a
    [<c01693e1>] sys_write+0x41/0x67
    [<c0103e92>] sysenter_past_esp+0x5f/0xa5
    [<ffffffff>] 0xffffffff

   ... acquired at:
    [<c0142df3>] __lock_acquire+0xa1d/0xc07
    [<c02eda55>] bond_set_multicast_list+0x1d/0x241
    [<c0143056>] lock_acquire+0x79/0x93
    [<c02eda55>] bond_set_multicast_list+0x1d/0x241
    [<c043a96d>] _write_lock_bh+0x3b/0x64
    [<c02eda55>] bond_set_multicast_list+0x1d/0x241
    [<c02eda55>] bond_set_multicast_list+0x1d/0x241
    [<c013fe29>] put_lock_stats+0xa/0x1e
    [<c03a1e03>] __dev_set_rx_mode+0x7b/0x7d
    [<c03a1f9d>] dev_set_rx_mode+0x23/0x36
    [<c03a4678>] dev_open+0x5e/0x77
    [<c03a3347>] dev_change_flags+0x9d/0x14b
    [<c03a214b>] __dev_get_by_name+0x68/0x73
    [<c03e4176>] devinet_ioctl+0x22b/0x536
    [<c03a446d>] dev_ioctl+0x46f/0x5b7
    [<c039a598>] sock_ioctl+0x167/0x18b
    [<c039a431>] sock_ioctl+0x0/0x18b
    [<c0172677>] do_ioctl+0x1f/0x62
    [<c01728e7>] vfs_ioctl+0x22d/0x23f
    [<c0141f93>] trace_hardirqs_on+0x122/0x14c
    [<c017292c>] sys_ioctl+0x33/0x4b
    [<c0103e92>] sysenter_past_esp+0x5f/0xa5
    [<ffffffff>] 0xffffffff

  ... acquired at:
    [<c0142df3>] __lock_acquire+0xa1d/0xc07
    [<c03a63c9>] dev_mc_add+0x1a/0x6a
    [<c0143056>] lock_acquire+0x79/0x93
    [<c03a63c9>] dev_mc_add+0x1a/0x6a
    [<c043a8aa>] _spin_lock_bh+0x3b/0x64
    [<c03a63c9>] dev_mc_add+0x1a/0x6a
    [<c03a63c9>] dev_mc_add+0x1a/0x6a
    [<c0412a28>] igmp6_group_added+0x56/0x11d
    [<c0412dbc>] ipv6_dev_mc_inc+0x2a3/0x31c
    [<c0410100>] icmpv6_rcv+0x6a4/0x828
    [<c0412df1>] ipv6_dev_mc_inc+0x2d8/0x31c
    [<c0412b19>] ipv6_dev_mc_inc+0x0/0x31c
    [<c0402168>] ipv6_add_dev+0x21c/0x24b
    [<c040b991>] ndisc_ifinfo_sysctl_change+0x0/0x1ef
    [<c040274b>] addrconf_notify+0x60/0x7b7
    [<c0142f95>] __lock_acquire+0xbbf/0xc07
    [<c0141da0>] mark_held_locks+0x39/0x53
    [<c043997e>] mutex_lock_nested+0x286/0x2ac
    [<c0141f93>] trace_hardirqs_on+0x122/0x14c
    [<c043999c>] mutex_lock_nested+0x2a4/0x2ac
    [<c03a4875>] register_netdevice_notifier+0xe/0x126
    [<c03a4875>] register_netdevice_notifier+0xe/0x126
    [<c03a48b0>] register_netdevice_notifier+0x49/0x126
    [<c05c5b83>] addrconf_init+0xad/0x193
    [<c05c5af1>] addrconf_init+0x1b/0x193
    [<c05c59c9>] inet6_init+0x1f0/0x2ad
    [<c05a9499>] kernel_init+0x150/0x2b7
    [<c05a9349>] kernel_init+0x0/0x2b7
    [<c05a9349>] kernel_init+0x0/0x2b7
    [<c0104baf>] kernel_thread_helper+0x7/0x10
    [<ffffffff>] 0xffffffff


the second lock's dependencies:
-> (&bond->lock){-.--} ops: 99 {
    initial-use  at:
                         [<c013fe29>] put_lock_stats+0xa/0x1e
                         [<c0142890>] __lock_acquire+0x4ba/0xc07
                         [<c0141da0>] mark_held_locks+0x39/0x53
                         [<c043af0d>] _spin_unlock_irqrestore+0x40/0x58
                         [<c0143056>] lock_acquire+0x79/0x93
                         [<c02edca1>] bond_get_stats+0x28/0xd0
                         [<c043aa36>] _read_lock_bh+0x3b/0x64
                         [<c02edca1>] bond_get_stats+0x28/0xd0
                         [<c02edca1>] bond_get_stats+0x28/0xd0
                         [<c03aad0f>] rtnl_fill_ifinfo+0x2bf/0x563
                         [<c03ab28d>] rtmsg_ifinfo+0x5d/0xdf
                         [<c03ab34e>] rtnetlink_event+0x3f/0x42
                         [<c013ac34>] notifier_call_chain+0x2a/0x52
                         [<c013ac7e>] raw_notifier_call_chain+0x17/0x1a
                         [<c03a3b06>] register_netdevice+0x2a7/0x2e7
                         [<c02ed842>] bond_create+0x1f2/0x26a
                         [<c05bed76>] bonding_init+0x761/0x7ea
                         [<c05be5de>] e1000_init_module+0x45/0x7c
                         [<c05a9499>] kernel_init+0x150/0x2b7
                         [<c05a9349>] kernel_init+0x0/0x2b7
                         [<c05a9349>] kernel_init+0x0/0x2b7
                         [<c0104baf>] kernel_thread_helper+0x7/0x10
                         [<ffffffff>] 0xffffffff
    hardirq-on-W at:
                         [<c014285e>] __lock_acquire+0x488/0xc07
                         [<c01208c9>] try_to_wake_up+0x2ce/0x2d8
                         [<c0142f95>] __lock_acquire+0xbbf/0xc07
                         [<c0143056>] lock_acquire+0x79/0x93
                         [<c02eda55>] bond_set_multicast_list+0x1d/0x241
                         [<c043a96d>] _write_lock_bh+0x3b/0x64
                         [<c02eda55>] bond_set_multicast_list+0x1d/0x241
                         [<c02eda55>] bond_set_multicast_list+0x1d/0x241
                         [<c013fe29>] put_lock_stats+0xa/0x1e
                         [<c03a1e03>] __dev_set_rx_mode+0x7b/0x7d
                         [<c03a1f9d>] dev_set_rx_mode+0x23/0x36
                         [<c03a4678>] dev_open+0x5e/0x77
                         [<c03a3347>] dev_change_flags+0x9d/0x14b
                         [<c03a214b>] __dev_get_by_name+0x68/0x73
                         [<c03e4176>] devinet_ioctl+0x22b/0x536
                         [<c03a446d>] dev_ioctl+0x46f/0x5b7
                         [<c039a598>] sock_ioctl+0x167/0x18b
                         [<c039a431>] sock_ioctl+0x0/0x18b
                         [<c0172677>] do_ioctl+0x1f/0x62
                         [<c01728e7>] vfs_ioctl+0x22d/0x23f
                         [<c0141f93>] trace_hardirqs_on+0x122/0x14c
                         [<c017292c>] sys_ioctl+0x33/0x4b
                         [<c0103e92>] sysenter_past_esp+0x5f/0xa5
                         [<ffffffff>] 0xffffffff
    softirq-on-R at:
                         [<c014197a>] mark_lock+0x64/0x451
                         [<c013583a>] __kernel_text_address+0x5/0xe
                         [<c0104ee2>] dump_trace+0x83/0x8d
                         [<c014287d>] __lock_acquire+0x4a7/0xc07
                         [<c013fc6a>] save_trace+0x37/0x89
                         [<c0133d33>] run_workqueue+0x87/0x1b6
                         [<c0143056>] lock_acquire+0x79/0x93
                         [<c02eee43>] bond_mii_monitor+0x19/0x85
                         [<c043aa95>] _read_lock+0x36/0x5f
                         [<c02eee43>] bond_mii_monitor+0x19/0x85
                         [<c02eee43>] bond_mii_monitor+0x19/0x85
                         [<c0133d87>] run_workqueue+0xdb/0x1b6
                         [<c0133d33>] run_workqueue+0x87/0x1b6
                         [<c02eee2a>] bond_mii_monitor+0x0/0x85
                         [<c01347a7>] worker_thread+0x0/0x85
                         [<c0134820>] worker_thread+0x79/0x85
                         [<c0137255>] autoremove_wake_function+0x0/0x35
                         [<c013719e>] kthread+0x38/0x5e
                         [<c0137166>] kthread+0x0/0x5e
                         [<c0104baf>] kernel_thread_helper+0x7/0x10
                         [<ffffffff>] 0xffffffff
    hardirq-on-R at:
                         [<c013fdfe>] get_lock_stats+0xd/0x2e
                         [<c013fe29>] put_lock_stats+0xa/0x1e
                         [<c0142838>] __lock_acquire+0x462/0xc07
                         [<c0141da0>] mark_held_locks+0x39/0x53
                         [<c043af0d>] _spin_unlock_irqrestore+0x40/0x58
                         [<c0143056>] lock_acquire+0x79/0x93
                         [<c02edca1>] bond_get_stats+0x28/0xd0
                         [<c043aa36>] _read_lock_bh+0x3b/0x64
                         [<c02edca1>] bond_get_stats+0x28/0xd0
                         [<c02edca1>] bond_get_stats+0x28/0xd0
                         [<c03aad0f>] rtnl_fill_ifinfo+0x2bf/0x563
                         [<c03ab28d>] rtmsg_ifinfo+0x5d/0xdf
                         [<c03ab34e>] rtnetlink_event+0x3f/0x42
                         [<c013ac34>] notifier_call_chain+0x2a/0x52
                         [<c013ac7e>] raw_notifier_call_chain+0x17/0x1a
                         [<c03a3b06>] register_netdevice+0x2a7/0x2e7
                         [<c02ed842>] bond_create+0x1f2/0x26a
                         [<c05bed76>] bonding_init+0x761/0x7ea
                         [<c05be5de>] e1000_init_module+0x45/0x7c
                         [<c05a9499>] kernel_init+0x150/0x2b7
                         [<c05a9349>] kernel_init+0x0/0x2b7
                         [<c05a9349>] kernel_init+0x0/0x2b7
                         [<c0104baf>] kernel_thread_helper+0x7/0x10
                         [<ffffffff>] 0xffffffff
  }
  ... key      at: [<c08777d0>] __key.32976+0x0/0x8
  -> (_xmit_ETHER){-...} ops: 8 {
     initial-use  at:
                           [<c0142890>] __lock_acquire+0x4ba/0xc07
                           [<c0143056>] lock_acquire+0x79/0x93
                           [<c03a63c9>] dev_mc_add+0x1a/0x6a
                           [<c043a8aa>] _spin_lock_bh+0x3b/0x64
                           [<c03a63c9>] dev_mc_add+0x1a/0x6a
                           [<c03a63c9>] dev_mc_add+0x1a/0x6a
                           [<c0412a28>] igmp6_group_added+0x56/0x11d
                           [<c0412dbc>] ipv6_dev_mc_inc+0x2a3/0x31c
                           [<c0410100>] icmpv6_rcv+0x6a4/0x828
                           [<c0412df1>] ipv6_dev_mc_inc+0x2d8/0x31c
                           [<c0412b19>] ipv6_dev_mc_inc+0x0/0x31c
                           [<c0402168>] ipv6_add_dev+0x21c/0x24b
                           [<c040b991>] ndisc_ifinfo_sysctl_change+0x0/0x1ef
                           [<c040274b>] addrconf_notify+0x60/0x7b7
                           [<c0142f95>] __lock_acquire+0xbbf/0xc07
                           [<c0141da0>] mark_held_locks+0x39/0x53
                           [<c043997e>] mutex_lock_nested+0x286/0x2ac
                           [<c0141f93>] trace_hardirqs_on+0x122/0x14c
                           [<c043999c>] mutex_lock_nested+0x2a4/0x2ac
                           [<c03a4875>] register_netdevice_notifier+0xe/0x126
                           [<c03a4875>] register_netdevice_notifier+0xe/0x126
                           [<c03a48b0>] register_netdevice_notifier+0x49/0x126
                           [<c05c5b83>] addrconf_init+0xad/0x193
                           [<c05c5af1>] addrconf_init+0x1b/0x193
                           [<c05c59c9>] inet6_init+0x1f0/0x2ad
                           [<c05a9499>] kernel_init+0x150/0x2b7
                           [<c05a9349>] kernel_init+0x0/0x2b7
                           [<c05a9349>] kernel_init+0x0/0x2b7
                           [<c0104baf>] kernel_thread_helper+0x7/0x10
                           [<ffffffff>] 0xffffffff
     hardirq-on-W at:
                           [<c014197a>] mark_lock+0x64/0x451
                           [<c014285e>] __lock_acquire+0x488/0xc07
                           [<c0143056>] lock_acquire+0x79/0x93
                           [<c03a63c9>] dev_mc_add+0x1a/0x6a
                           [<c043a8aa>] _spin_lock_bh+0x3b/0x64
                           [<c03a63c9>] dev_mc_add+0x1a/0x6a
                           [<c03a63c9>] dev_mc_add+0x1a/0x6a
                           [<c0412a28>] igmp6_group_added+0x56/0x11d
                           [<c0412dbc>] ipv6_dev_mc_inc+0x2a3/0x31c
                           [<c0410100>] icmpv6_rcv+0x6a4/0x828
                           [<c0412df1>] ipv6_dev_mc_inc+0x2d8/0x31c
                           [<c0412b19>] ipv6_dev_mc_inc+0x0/0x31c
                           [<c0402168>] ipv6_add_dev+0x21c/0x24b
                           [<c040b991>] ndisc_ifinfo_sysctl_change+0x0/0x1ef
                           [<c040274b>] addrconf_notify+0x60/0x7b7
                           [<c0142f95>] __lock_acquire+0xbbf/0xc07
                           [<c0141da0>] mark_held_locks+0x39/0x53
                           [<c043997e>] mutex_lock_nested+0x286/0x2ac
                           [<c0141f93>] trace_hardirqs_on+0x122/0x14c
                           [<c043999c>] mutex_lock_nested+0x2a4/0x2ac
                           [<c03a4875>] register_netdevice_notifier+0xe/0x126
                           [<c03a4875>] register_netdevice_notifier+0xe/0x126
                           [<c03a48b0>] register_netdevice_notifier+0x49/0x126
                           [<c05c5b83>] addrconf_init+0xad/0x193
                           [<c05c5af1>] addrconf_init+0x1b/0x193
                           [<c05c59c9>] inet6_init+0x1f0/0x2ad
                           [<c05a9499>] kernel_init+0x150/0x2b7
                           [<c05a9349>] kernel_init+0x0/0x2b7
                           [<c05a9349>] kernel_init+0x0/0x2b7
                           [<c0104baf>] kernel_thread_helper+0x7/0x10
                           [<ffffffff>] 0xffffffff
   }
   ... key      at: [<c087adc8>] netdev_xmit_lock_key+0x8/0x1c0
  ... acquired at:
    [<c0142df3>] __lock_acquire+0xa1d/0xc07
    [<c03a63c9>] dev_mc_add+0x1a/0x6a
    [<c043af0d>] _spin_unlock_irqrestore+0x40/0x58
    [<c0109ef2>] save_stack_trace+0x20/0x3a
    [<c0143056>] lock_acquire+0x79/0x93
    [<c03a63c9>] dev_mc_add+0x1a/0x6a
    [<c043a8aa>] _spin_lock_bh+0x3b/0x64
    [<c03a63c9>] dev_mc_add+0x1a/0x6a
    [<c03a63c9>] dev_mc_add+0x1a/0x6a
    [<c02ee472>] bond_change_active_slave+0x1a9/0x3bf
    [<c02ec7a3>] bond_update_speed_duplex+0x26/0x65
    [<c02ee991>] bond_select_active_slave+0x97/0xd3
    [<c02ed20b>] bond_compute_features+0x45/0x84
    [<c02ef9b6>] bond_enslave+0x6a7/0x884
    [<c043999c>] mutex_lock_nested+0x2a4/0x2ac
    [<c02f61af>] bonding_store_slaves+0x1ae/0x2fb
    [<c02f6001>] bonding_store_slaves+0x0/0x2fb
    [<c02ce8b7>] dev_attr_store+0x27/0x2c
    [<c019bda1>] sysfs_write_file+0xad/0xe0
    [<c019bcf4>] sysfs_write_file+0x0/0xe0
    [<c0168e5c>] vfs_write+0x8a/0x10c
    [<c0118562>] do_page_fault+0x0/0x54a
    [<c01693e1>] sys_write+0x41/0x67
    [<c0103e92>] sysenter_past_esp+0x5f/0xa5
    [<ffffffff>] 0xffffffff

  -> (lweventlist_lock){.+..} ops: 10 {
     initial-use  at:
                           [<c014197a>] mark_lock+0x64/0x451
                           [<c0142890>] __lock_acquire+0x4ba/0xc07
                           [<c02e363c>] e1000_read_phy_reg+0x1c7/0x1d3
                           [<c02e346b>] e1000_write_phy_reg+0xb9/0xc3
                           [<c024a82e>] delay_tsc+0x25/0x3b
                           [<c0143056>] lock_acquire+0x79/0x93
                           [<c03ac41f>] linkwatch_add_event+0xd/0x2c
                           [<c043abc7>] _spin_lock_irqsave+0x3f/0x6c
                           [<c03ac41f>] linkwatch_add_event+0xd/0x2c
                           [<c03ac41f>] linkwatch_add_event+0xd/0x2c
                           [<c03ac4e3>] linkwatch_fire_event+0x25/0x37
                           [<c02e1c23>] e1000_probe+0xad1/0xbe8
                           [<c0257f1b>] pci_device_probe+0x36/0x57
                           [<c02d0e3f>] driver_probe_device+0xe1/0x15f
                           [<c043ae41>] _spin_unlock+0x25/0x3b
                           [<c0437ec6>] klist_next+0x58/0x6d
                           [<c02d0f4f>] __driver_attach+0x0/0x7f
                           [<c02d0f98>] __driver_attach+0x49/0x7f
                           [<c02d03e3>] bus_for_each_dev+0x36/0x58
                           [<c02d0c97>] driver_attach+0x16/0x18
                           [<c02d0f4f>] __driver_attach+0x0/0x7f
                           [<c02d06da>] bus_add_driver+0x6d/0x18d
                           [<c0258065>] __pci_register_driver+0x53/0x7f
                           [<c05be5de>] e1000_init_module+0x45/0x7c
                           [<c05a9499>] kernel_init+0x150/0x2b7
                           [<c05a9349>] kernel_init+0x0/0x2b7
                           [<c05a9349>] kernel_init+0x0/0x2b7
                           [<c0104baf>] kernel_thread_helper+0x7/0x10
                           [<ffffffff>] 0xffffffff
     in-softirq-W at:
                           [<c011d1c0>] __wake_up_common+0x32/0x5c
                           [<c0142816>] __lock_acquire+0x440/0xc07
                           [<c043af0d>] _spin_unlock_irqrestore+0x40/0x58
                           [<c0143056>] lock_acquire+0x79/0x93
                           [<c03ac41f>] linkwatch_add_event+0xd/0x2c
                           [<c02dfee1>] e1000_watchdog+0x0/0x5c9
                           [<c043abc7>] _spin_lock_irqsave+0x3f/0x6c
                           [<c03ac41f>] linkwatch_add_event+0xd/0x2c
                           [<c03ac41f>] linkwatch_add_event+0xd/0x2c
                           [<c03ac4e3>] linkwatch_fire_event+0x25/0x37
                           [<c03af46a>] netif_carrier_on+0x16/0x27
                           [<c02e0136>] e1000_watchdog+0x255/0x5c9
                           [<c02dfee1>] e1000_watchdog+0x0/0x5c9
                           [<c012e02e>] run_timer_softirq+0xfa/0x15d
                           [<c012a982>] __do_softirq+0x56/0xdb
                           [<c0141f7d>] trace_hardirqs_on+0x10c/0x14c
                           [<c012a994>] __do_softirq+0x68/0xdb
                           [<c012aa3d>] do_softirq+0x36/0x51
                           [<c012abe3>] irq_exit+0x43/0x4e
                           [<c0114122>] smp_apic_timer_interrupt+0x74/0x80
                           [<c0104a01>] apic_timer_interrupt+0x29/0x38
                           [<c0104a0b>] apic_timer_interrupt+0x33/0x38
                           [<c01600d8>] sys_swapon+0x254/0x9aa
                           [<c01021a6>] mwait_idle_with_hints+0x3b/0x3f
                           [<c0102447>] mwait_idle+0x0/0xf
                           [<c0102581>] cpu_idle+0x99/0xc6
                           [<c05a98c7>] start_kernel+0x2c7/0x2cf
                           [<c05a90e0>] unknown_bootoption+0x0/0x195
                           [<ffffffff>] 0xffffffff
   }
   ... key      at: [<c058a194>] lweventlist_lock+0x14/0x40
  ... acquired at:
    [<c0142df3>] __lock_acquire+0xa1d/0xc07
    [<c03ac41f>] linkwatch_add_event+0xd/0x2c
    [<c0142f95>] __lock_acquire+0xbbf/0xc07
    [<c0143056>] lock_acquire+0x79/0x93
    [<c03ac41f>] linkwatch_add_event+0xd/0x2c
    [<c043abc7>] _spin_lock_irqsave+0x3f/0x6c
    [<c03ac41f>] linkwatch_add_event+0xd/0x2c
    [<c03ac41f>] linkwatch_add_event+0xd/0x2c
    [<c03ac4e3>] linkwatch_fire_event+0x25/0x37
    [<c03af46a>] netif_carrier_on+0x16/0x27
    [<c02ede0c>] bond_set_carrier+0x31/0x55
    [<c02ee998>] bond_select_active_slave+0x9e/0xd3
    [<c02ed20b>] bond_compute_features+0x45/0x84
    [<c02ef9b6>] bond_enslave+0x6a7/0x884
    [<c043999c>] mutex_lock_nested+0x2a4/0x2ac
    [<c02f61af>] bonding_store_slaves+0x1ae/0x2fb
    [<c02f6001>] bonding_store_slaves+0x0/0x2fb
    [<c02ce8b7>] dev_attr_store+0x27/0x2c
    [<c019bda1>] sysfs_write_file+0xad/0xe0
    [<c019bcf4>] sysfs_write_file+0x0/0xe0
    [<c0168e5c>] vfs_write+0x8a/0x10c
    [<c0118562>] do_page_fault+0x0/0x54a
    [<c01693e1>] sys_write+0x41/0x67
    [<c0103e92>] sysenter_past_esp+0x5f/0xa5
    [<ffffffff>] 0xffffffff


stack backtrace:
Pid: 9, comm: events/0 Not tainted 2.6.24-rc7 #1
  [<c0140b2c>] print_irq_inversion_bug+0x108/0x112
  [<c0141911>] check_usage_forwards+0x3c/0x41
  [<c0141afd>] mark_lock+0x1e7/0x451
  [<c0142816>] __lock_acquire+0x440/0xc07
  [<c0103f7b>] restore_nocheck+0x12/0x15
  [<c0143056>] lock_acquire+0x79/0x93
  [<c041258e>] mld_ifc_timer_expire+0x130/0x1fb
  [<c041245e>] mld_ifc_timer_expire+0x0/0x1fb
  [<c043a8aa>] _spin_lock_bh+0x3b/0x64
  [<c041258e>] mld_ifc_timer_expire+0x130/0x1fb
  [<c041258e>] mld_ifc_timer_expire+0x130/0x1fb
  [<c041245e>] mld_ifc_timer_expire+0x0/0x1fb
  [<c0141f7d>] trace_hardirqs_on+0x10c/0x14c
  [<c041245e>] mld_ifc_timer_expire+0x0/0x1fb
  [<c012e02e>] run_timer_softirq+0xfa/0x15d
  [<c012a982>] __do_softirq+0x56/0xdb
  [<c0141f7d>] trace_hardirqs_on+0x10c/0x14c
  [<c012a994>] __do_softirq+0x68/0xdb
  [<c012aa3d>] do_softirq+0x36/0x51
  [<c012af26>] local_bh_enable_ip+0xad/0xed
  [<c03bfa37>] rt_run_flush+0x64/0x8b
  [<c03e9bbe>] fib_netdev_event+0x61/0x65
  [<c013ac34>] notifier_call_chain+0x2a/0x52
  [<c013ac7e>] raw_notifier_call_chain+0x17/0x1a
  [<c03a340d>] netdev_state_change+0x18/0x29
  [<c03ac645>] __linkwatch_run_queue+0x150/0x17e
  [<c03ac690>] linkwatch_event+0x1d/0x22
  [<c0133d87>] run_workqueue+0xdb/0x1b6
  [<c0133d33>] run_workqueue+0x87/0x1b6
  [<c03ac673>] linkwatch_event+0x0/0x22
  [<c01347a7>] worker_thread+0x0/0x85
  [<c0134820>] worker_thread+0x79/0x85
  [<c0137255>] autoremove_wake_function+0x0/0x35
  [<c013719e>] kthread+0x38/0x5e
  [<c0137166>] kthread+0x0/0x5e
  [<c0104baf>] kernel_thread_helper+0x7/0x10
  =======================
bonding: bond0: enslaving eth1 as a backup interface with a down link.
bond0: no IPv6 routers present



Best regards,

 				Krzysztof Olędzki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ