Kernel panic in bond_mii_monitor() function of bonding module.

Solution Verified - Updated -

Issue

  • Kernel panic with following call traces.
Kernel BUG at drivers/net/bonding/bonding.h:135
invalid opcode: 0000 [1] SMP
last sysfs file: /devices/pci0000:00/0000:00:00.0/irq
CPU 3
Modules linked in: bonding autofs4 hidp rfcomm l2cap bluetooth lockd sunrpc cpufreq_ondemand acpi_
cpufreq freq_table mperf be2iscsi ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp bnx2i cnic ipv6 xfrm_na
lgo crypto_api uio cxgb3i cxgb3 libiscsi_tcp libiscsi2 scsi_transport_iscsi2 scsi_transport_iscsi dm_mirror dm_multipath scs
i_dh video backlight sbs power_meter hwmon i2c_ec dell_wmi wmi button battery asus_acpi acpi_memhotplug ac parport_pc lp par
port sr_mod cdrom sg i2c_i801 igb tpm_tis 8021q i2c_core tpm serio_raw i7core_edac edac_mc e1000e tpm_bios dca pcspkr dm_rai
d45 dm_message dm_region_hash dm_log dm_mod dm_mem_cache ahci libata shpchp megaraid_sas sd_mod scsi_mod ext3 jbd uhci_hcd o
 hci_hcd ehci_hcd
Pid: 5054, comm: bond0 Not tainted 2.6.18-238.el5 #1
RIP: 0010:[<ffffffff88687e95>]  [<ffffffff88687e95>] :bonding:bond_mii_monitor+0x41e/0x4c0
RSP: 0018:ffff8101b0e37e10  EFLAGS: 00010286
RAX: 00000000ffffffff RBX: ffff8101b18a6530 RCX: 0000000000000006
RDX: 0000000000000000 RSI: ffffffff8868fe06 RDI: ffffffff80358ac0
RBP: ffff8101b18a6500 R08: ffff8101b18a66c0 R09: 0000000000000034
R10: ffff8101b0e37ab0 R11: ffffffff88687a77 R12: ffff8101bdb31a00
R13: 0000000000000000 R14: 0000000000000002 R15: ffffffff88687a77
FS:  0000000000000000(0000) GS:ffff8101063626c0(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 00000000006bdbb0 CR3: 00000001b25ee000 CR4: 00000000000006e0
Process bond0 (pid: 5054, threadinfo ffff8101b0e36000, task ffff8101bf3ef7a0)
Stack:  ffff8101b18a6878 ffff8101b18a6880 ffff8101ba4b8140 0000000000000282
 ffff8101b18a6500 ffffffff8004d7ae ffff8101b0e37e80 ffff8101ba4b8140
 ffffffff80049ff6 ffff8101af11dd68 0000000000000282 ffff8101af11dd58
Call Trace:
 [<ffffffff8004d7ae>] run_workqueue+0x99/0xf6
 [<ffffffff80049ff6>] worker_thread+0x0/0x122
 [<ffffffff800a269c>] keventd_create_kthread+0x0/0xc4
 [<ffffffff8004a0e6>] worker_thread+0xf0/0x122
 [<ffffffff8008e40a>] default_wake_function+0x0/0xe
 [<ffffffff800a269c>] keventd_create_kthread+0x0/0xc4
 [<ffffffff80032974>] kthread+0xfe/0x132
 [<ffffffff8005dfb1>] child_rip+0xa/0x11
 [<ffffffff800a269c>] keventd_create_kthread+0x0/0xc4
 [<ffffffff80032876>] kthread+0x0/0x132
 [<ffffffff8005dfa7>] child_rip+0x0/0x11

Code: 0f 0b 68 aa 84 7a 88 c2 87 00 48 8d 5d 34 48 89 df e8 c9 4c 
RIP  [<ffffffff8879fe95>] :bonding:bond_mii_monitor+0x41e/0x4c0
 RSP <ffff8101b0e37e10>

Environment

  • Red Hat Enterprise Linux 5
  • All kernel versions prior to 2.6.18-243.el5
  • All z-stream kernel versions prior to 2.6.18-238.6.1.el5
  • bonding

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content