Dead lock/freeze when using netconsole over bonding interface configured in ALB/TLB mode

Solution Verified - Updated -

Issue

  • System freezes and a lockup is detected with a trace similar to this in the kernel log:
Kernel panic - not syncing: Watchdog detected hard LOCKUP on cpu 1
Pid: 2044, comm: bond0 Not tainted 2.6.32-504.8.1.el6.x86_64 #1
Call Trace:
 <NMI>  [<ffffffff815292d6>] ? panic+0xa7/0x16f
 [<ffffffff81014959>] ? sched_clock+0x9/0x10
 [<ffffffff810ea5dd>] ? watchdog_overflow_callback+0xcd/0xd0
 [<ffffffff81120d87>] ? __perf_event_overflow+0xa7/0x240
 [<ffffffff8101dacd>] ? x86_perf_event_set_period+0xdd/0x170
 [<ffffffff811213d4>] ? perf_event_overflow+0x14/0x20
 [<ffffffff81024892>] ? intel_pmu_handle_irq+0x202/0x410
 [<ffffffff8152e5d9>] ? perf_event_nmi_handler+0x39/0xb0
 [<ffffffff81530095>] ? notifier_call_chain+0x55/0x80
 [<ffffffff815300fa>] ? atomic_notifier_call_chain+0x1a/0x20
 [<ffffffff810a4eae>] ? notify_die+0x2e/0x30
 [<ffffffff8152dd5b>] ? do_nmi+0x1bb/0x340
 [<ffffffff8152d620>] ? nmi+0x20/0x30
 [<ffffffff81298a63>] ? __read_lock_failed+0x3/0x20
 <<EOE>>  [<ffffffff8152cd44>] ? _read_lock+0x14/0x20
 [<ffffffffa027cebe>] ? bond_alb_xmit+0x5e/0x610 [bonding]
 [<ffffffffa0272cdb>] ? bond_start_xmit+0x3eb/0x5d0 [bonding]
 [<ffffffff81475b41>] ? netpoll_send_skb_on_dev+0x191/0x250
 [<ffffffff81475e24>] ? netpoll_send_udp+0x224/0x240
 [<ffffffffa013431b>] ? write_msg+0xbb/0x110 [netconsole]
 [<ffffffff81074f95>] ? __call_console_drivers+0x75/0x90
 [<ffffffff81074ffa>] ? _call_console_drivers+0x4a/0x80
 [<ffffffff81075648>] ? release_console_sem+0x108/0x220
 [<ffffffff81075d48>] ? vprintk+0x248/0x560
 [<ffffffffa013435d>] ? write_msg+0xfd/0x110 [netconsole]
 [<ffffffff815293df>] ? printk+0x41/0x4a
 [<ffffffff81074ffa>] ? _call_console_drivers+0x4a/0x80
 [<ffffffff8145b8f2>] ? __dev_set_promiscuity+0xa2/0x190
 [<ffffffff8100b9ce>] ? common_interrupt+0xe/0x13
 [<ffffffff8145bfc4>] ? dev_set_promiscuity+0x24/0x50
 [<ffffffffa027dcad>] ? rlb_teach_disabled_mac_on_primary+0x5d/0x80 [bonding]
 [<ffffffffa027dd5c>] ? rlb_clear_slave+0x8c/0x110 [bonding]
 [<ffffffffa027de4c>] ? bond_alb_handle_link_change+0x6c/0x70 [bonding]
 [<ffffffffa0274c36>] ? bond_mii_monitor+0x566/0x660 [bonding]
 [<ffffffffa02746d0>] ? bond_mii_monitor+0x0/0x660 [bonding]
 [<ffffffff81097fe0>] ? worker_thread+0x170/0x2a0
 [<ffffffff8109eb00>] ? autoremove_wake_function+0x0/0x40
 [<ffffffff81097e70>] ? worker_thread+0x0/0x2a0
 [<ffffffff8109e66e>] ? kthread+0x9e/0xc0
 [<ffffffff8100c20a>] ? child_rip+0xa/0x20
 [<ffffffff8109e5d0>] ? kthread+0x0/0xc0
 [<ffffffff8100c200>] ? child_rip+0x0/0x20

Environment

  • Red Hat Enterprise Linux 6.6 or earlier
  • netconsole configured over bonding interface in balance-alb or balance-tlb mode

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.