Why attaching a dummy interface to bonding device causes a system crash/panic in RHEL 6?
Issue
- Creating bond interface over dummy not possible it leads to system crash/panic.
BUG: unable to handle kernel NULL pointer dereference at 0000000000000120
IP: [<ffffffffa045100d>] bond_enslave+0x7d/0xe30 [bonding]
PGD c332de067 PUD c33f8d067 PMD 0
Oops: 0000 [#1] SMP
last sysfs file: /sys/devices/virtual/net/bond1/bonding/slaves
CPU 0
Modules linked in: bonding mptctl mptbase sunrpc 8021q garp stp llc pcc_cpufreq dummy ipv6 ext3 jbd dm_round_robin dm_multipath power_meter netxen_nic microcode serio_raw iTCO_wdt iTCO_vendor_support hpwdt hpilo sg i7core_edac edac_core shpchp ext4 mbcache jbd2 sd_mod crc_t10dif qla2xxx scsi_transport_fc scsi_tgt hpsa radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core dm_mirror dm_region_hash dm_log dm_mod [last unloaded: scsi_wait_scan]
Pid: 10008, comm: ifup-eth Not tainted 2.6.32-279.el6.x86_64 #1 HP ProLiant DL580 G7
RIP: 0010:[<ffffffffa045100d>] [<ffffffffa045100d>] bond_enslave+0x7d/0xe30 [bonding]
RSP: 0018:ffff88043047bd78 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff88043406b820 RCX: 000000000000fc18
RDX: 0000000000000000 RSI: ffff88043406b820 RDI: 0000000000000001
RBP: ffff88043047be08 R08: 00000000000136d8 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: ffff880834ad1020
R13: ffff880834ad16e0 R14: ffffffffa02bc1c0 R15: ffff88043047be39
FS: 00007f6c613bd700(0000) GS:ffff880036600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000120 CR3: 0000000c355cf000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process ifup-eth (pid: 10008, threadinfo ffff88043047a000, task ffff880434b76040)
Stack:
ffff88043047bd88 ffff880834ad1450 ffff88043406b820 0000000000000008
<d> ffff880834ad16e0 0000000000009780 ffff88043047be08 ffffffff814fd223
<d> ffff880c00000018 ffff88043047be18 ffff88043047bdd8 00000000ac26d6c4
Call Trace:
[<ffffffff814fd223>] ? printk+0x41/0x46
[<ffffffffa045ab71>] bonding_store_slaves+0x251/0x330 [bonding]
[<ffffffff8134b840>] dev_attr_store+0x20/0x30
[<ffffffff811f0fe5>] sysfs_write_file+0xe5/0x170
[<ffffffff8117b068>] vfs_write+0xb8/0x1a0
[<ffffffff8117ba81>] sys_write+0x51/0x90
[<ffffffff8100b0f2>] system_call_fastpath+0x16/0x1b
Environment
- Red Hat Enterprise Linux 6
- Bonding
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.