iavf/i40evf reset triggers kernel BUG at drivers/pci/msi.c:357

Solution Verified - Updated -

Issue

  • Kernel panic with the following messages:
[ 2102.281242] iavf 0000:12:0b.0: Hardware reset detected
[ 2106.717332] iavf 0000:12:0b.6: Reset never finished (0)
[ 2106.722641] ------------[ cut here ]------------
[ 2106.727282] kernel BUG at drivers/pci/msi.c:357!
  • The back trace of panic task:
crash> bt
PID: 1051   TASK: ffff88f53647a0e0  CPU: 54  COMMAND: "kworker/54:1"
 #0 [ffff88f532ccfa20] machine_kexec at ffffffff81c65b24
 #1 [ffff88f532ccfa80] __crash_kexec at ffffffff81d22342
 #2 [ffff88f532ccfb50] crash_kexec at ffffffff81d22430
 #3 [ffff88f532ccfb68] oops_end at ffffffff82385798
 #4 [ffff88f532ccfb90] die at ffffffff81c30a7b
 #5 [ffff88f532ccfbc0] do_trap at ffffffff82384ee0
 #6 [ffff88f532ccfc10] do_invalid_op at ffffffff81c2d2a4
 #7 [ffff88f532ccfcc0] invalid_op at ffffffff8239122e
    [exception RIP: free_msi_irqs+0x188]
    RIP: ffffffff81ff1118  RSP: ffff88f532ccfd70  RFLAGS: 00010282
    RAX: ffff88f534b8a900  RBX: 0000000000000000  RCX: ffff88f534b8a900
    RDX: ffff88f534b8a900  RSI: 0000000000000000  RDI: 0000000000000000
    RBP: ffff88f532ccfd98   R8: 0000000000000002   R9: ffff88f532ccfcfc
    R10: 000000000000005e  R11: ffff88ca54996a00  R12: ffff88f519aa8840
    R13: ffff88b7262ed870  R14: ffff88b7262ed000  R15: ffff88ca66112910
    ORIG_RAX: ffffffffffffffff  CS: 0010  SS: 0018
 #8 [ffff88f532ccfda0] pci_disable_msix at ffffffff81ff25bd
 #9 [ffff88f532ccfdb8] iavf_reset_interrupt_capability at ffffffffc08eba53 [iavf]
#10 [ffff88f532ccfdd0] iavf_reset_task at ffffffffc08ecb57 [iavf]
#11 [ffff88f532ccfe20] process_one_work at ffffffff81cbe21f
#12 [ffff88f532ccfe68] worker_thread at ffffffff81cbf336
#13 [ffff88f532ccfec8] kthread at ffffffff81cc61f1
#14 [ffff88f532ccff50] ret_from_fork_nospec_begin at ffffffff8238dd1d

Environment

  • Red Hat Enterprise Linux (RHEL) 7
    • Red Hat OpenStack Platform (RHOSP) 13
  • Red Hat Enterprise Linux 8.4 and earlier
    • Red Hat OpenStack Platform 16
  • SR-IOV
  • Intel 10GbE network interface with i40e PF driver and iavf VF driver

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