The kernel crashes with a message, "kernel BUG at arch/x86/kernel/apic/vector.c:174!"
Issue
- The kernel keeps rebooting with a message, "kernel BUG at arch/x86/kernel/apic/vector.c:174!" if we add "noapic" to the kernel boot cmdline.
[ 30.942999] ------------[ cut here ]------------
[ 30.943004] kernel BUG at arch/x86/kernel/apic/vector.c:174!
[ 30.943037] invalid opcode: 0000 [#1] SMP PTI
[ 30.943055] CPU: 7 PID: 0 Comm: swapper/7 Kdump: loaded Not tainted 4.18.0-477.21.1.el8_8.x86_64 #1
[ 30.943111] Hardware name: HP ProLiant DL380 Gen9/ProLiant DL380 Gen9, BIOS P89 01/22/2018
[ 30.943162] RIP: 0010:apic_update_vector+0xa9/0x170
[ 30.943201] Code: 00 44 89 63 10 4a 8b 0c e5 40 68 db 86 48 89 c2 48 8d 34 e9 48 8b 14 16 48 85 d2 0f 84 80 00 00 00 48 81 fa 00 f0 ff ff 77 77 <0f> 0b 8b 43 10 89 c6 41 8b 45 04 65 8b 15 65 31 5b 7a 89 d2 48 0f
[ 30.943314] RSP: 0018:ffffac7bc64ece38 EFLAGS: 00010087
[ 30.943351] RAX: 000000000001cf80 RBX: ffff90f4fdc85980 RCX: ffff90f8cfd40000
[ 30.943396] RDX: ffff90ed80070800 RSI: ffff90f8cfd40180 RDI: ffff90f4fdc85800
[ 30.943442] RBP: 0000000000000030 R08: 0000000000000000 R09: 0000000000000000
[ 30.943500] R10: 00098008e2a8eec9 R11: 0000000000000000 R12: 000000000000000d
[ 30.943544] R13: ffff90f4fdc85800 R14: ffff90f43d9ffa00 R15: 0000000000000024
[ 30.943587] FS: 0000000000000000(0000) GS:ffff90f8cfbc0000(0000) knlGS:0000000000000000
[ 30.943637] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 30.943673] CR2: 00007fe4fa23f008 CR3: 0000000540410004 CR4: 00000000003706e0
[ 30.943717] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 30.943760] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 30.943803] Call Trace:
[ 30.943822] <IRQ>
[ 30.943854] ? irq_matrix_alloc+0x82/0x130
[ 30.943887] assign_vector_locked+0xa2/0x170
[ 30.943920] apic_set_affinity+0x6e/0xa0
[ 30.943950] msi_set_affinity+0x6d/0x1a0
[ 30.943979] irq_do_set_affinity+0x53/0x190
[ 30.944011] irq_move_masked_irq+0x99/0xe0
[ 30.944041] __irq_move_irq+0x3b/0x60
[ 30.944068] apic_ack_irq+0x2b/0x30
[ 30.944095] handle_edge_irq+0x72/0x190
[ 30.944124] handle_irq+0x1c/0x30
[ 30.944150] do_IRQ+0x49/0xd0
[ 30.944191] common_interrupt+0xf/0xf
[ 30.944218] </IRQ>
[ 30.944234] RIP: 0010:cpuidle_enter_state+0xda/0x470
[ 30.944270] Code: e8 ab ab 98 ff 80 7c 24 0f 00 74 17 9c 58 0f 1f 44 00 00 f6 c4 02 0f 85 4b 03 00 00 31 ff e8 ad c4 9f ff fb 66 0f 1f 44 00 00 <45> 85 f6 0f 88 24 01 00 00 49 63 d6 48 8b 4c 24 10 48 2b 0c 24 48
[ 30.944379] RSP: 0018:ffffac7bc6337e58 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffdb
[ 30.944426] RAX: ffff90f8cfbf2fc0 RBX: ffffffff878b9f78 RCX: 000000000000001f
[ 30.944469] RDX: 0000000734589620 RSI: 000000003d05e2e3 RDI: 0000000000000000
[ 30.944513] RBP: ffff90f8cfbfe6a8 R08: 0000000000000002 R09: 0000000000032780
[ 30.944556] R10: 00098008e2a8e62f R11: ffff90f8cfbf1c04 R12: 0000000000000004
[ 30.944599] R13: ffffffff878b9da0 R14: 0000000000000004 R15: 0000000000000004
[ 30.944966] ? cpuidle_enter_state+0xb5/0x470
[ 30.945308] cpuidle_enter+0x2c/0x40
[ 30.945615] do_idle+0x268/0x2d0
[ 30.945940] cpu_startup_entry+0x6f/0x80
[ 30.946257] start_secondary+0x187/0x1d0
[ 30.946574] secondary_startup_64_no_verify+0xd2/0xdb
[ 30.946880] Modules linked in: [...]
Environment
- Red Hat Enterprise Linux 8.8.z
- HPE ProLiant series servers
- Cisco UCSC series servers
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.