[RHEL 6] crash with "kernel BUG at drivers/pci/msi.c:313" RIP in free_msi_irqs called from igb_shutdown

Solution Unverified - Updated -

Issue

  • Kernel crashes with message on console:
kernel BUG at drivers/pci/msi.c:313!
invalid opcode: 0000 [#1] SMP
last sysfs file: /sys/kernel/kexec_loaded
CPU 0
Modules linked in: pcc_cpufreq sunrpc power_meter hpilo hpwdt igb mlx4_en(U) raid0 mlx4_core(U) sg microcode serio_raw iTCO_wdt iTCO_vendor_support ioatdma dca shpchp ext4 mbcache jbd2 raid1 sd_mod crc_t10dif mpt2sas scsi_transport_sas raid_class ahci dm_mirror dm_region_hash dm_log dm_mod [last unloaded: scsi_wait_scan]

Pid: 12917, comm: reboot Not tainted 2.6.32-220.el6.x86_64 #1 HP ProLiant SL250s Gen8/
RIP: 0010:[<ffffffff8129daab>]  [<ffffffff8129daab>] free_msi_irqs+0x10b/0x120
RSP: 0018:ffff881013bcdc98  EFLAGS: 00010282
RAX: ffff88201862b3c0 RBX: ffff882019180780 RCX: 0000000000000000
RDX: ffffffff81fc9540 RSI: 0000000000000246 RDI: 0000000000000068
RBP: ffff881013bcdcd8 R08: 0000000000000002 R09: 0000000000000047
R10: 0000000000000001 R11: 0000000000000000 R12: ffff882018ca2830
R13: 0000000000000001 R14: ffff882018ca2000 R15: 0000000000000000
FS:  00007fa69cafb700(0000) GS:ffff880065600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00000000014c80a0 CR3: 0000002019098000 CR4: 00000000000406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process reboot (pid: 12917, threadinfo ffff881013bcc000, task ffff88101686e040)
Stack:
 ffff881013bcdca8 000000018129d16d ffff881013bcdcd8 ffff882018ca2000
<0> ffff8820183086e0 ffff882018308020 0000000000000002 0000000000000000
<0> ffff881013bcdcf8 ffffffff8129db3d ffff881013bcdd18 ffff8820183086e0
Call Trace:
 [<ffffffff8129db3d>] pci_disable_msix+0x3d/0x50
 [<ffffffffa01cc5f7>] igb_reset_interrupt_capability+0x27/0x70 [igb]
 [<ffffffffa01cc666>] igb_clear_interrupt_scheme+0x26/0x30 [igb]
 [<ffffffffa01d2c11>] __igb_shutdown+0x61/0x1c0 [igb]
 [<ffffffffa01d2d8a>] igb_shutdown+0x1a/0x50 [igb]
 [<ffffffff81289bac>] pci_device_shutdown+0x2c/0x50
 [<ffffffff81341b4b>] device_shutdown+0x4b/0x190
 [<ffffffff81088fec>] kernel_restart_prepare+0x2c/0x40
 [<ffffffff81089046>] kernel_restart+0x16/0x60
 [<ffffffff81089243>] sys_reboot+0x193/0x220
 [<ffffffff8118d21f>] ? __d_free+0x3f/0x60
 [<ffffffff8118d298>] ? d_free+0x58/0x60
 [<ffffffff81195790>] ? mntput_no_expire+0x30/0x110
 [<ffffffff81177f31>] ? __fput+0x1a1/0x210
 [<ffffffff81177fc5>] ? fput+0x25/0x30
 [<ffffffff81173a0d>] ? filp_close+0x5d/0x90
 [<ffffffff8100b0f2>] system_call_fastpath+0x16/0x1b
Code: 4c 89 ef e8 c8 27 ec ff 4d 39 e6 48 8b 43 10 75 cf 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f c9 c3 49 8b 7d 20 e8 b7 58 da ff eb c9 <0f> 0b 0f 1f 00 eb fb 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00
RIP  [<ffffffff8129daab>] free_msi_irqs+0x10b/0x120
 RSP <ffff881013bcdc98>

Environment

  • Red Hat Enterprise Linux (RHEL) 6.2, kernel 2.6.32-220.el6.x86_64
  • Red Hat Enterprise Linux (RHEL) 6.3, kernel 2.6.32-279.22.1.el6.x86_64
  • network interface card is one of these, as seen in lspci output:
    • 02:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
    • 43:00.0 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFP+ Network Connection (rev 01)

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