System crash with "kernel BUG at block/blk-core.c:1561!" due to bnx2fc completion race
Issue
- System crash with
kernel BUG at block/blk-core.c:1561!
due tobnx2fc
completion race:
[1402418.875038] sd 2:0:0:15: [sday] CDB: Test Unit Ready 00 00 00 00 00 00
[1402418.875057] sd 2:0:0:21: [sdbe] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=13s
[1402418.875061] sd 2:0:0:21: [sdbe] CDB: Test Unit Ready 00 00 00 00 00 00
[1402418.883277] bnx2fc: eh_abort: io_req is NULL
[1402418.898926] bnx2fc: eh_abort: io_req (xid = 0x740) flush in progress
[1402419.051033] ------------[ cut here ]------------
[1402419.051590] kernel BUG at block/blk-core.c:1561!
[1402419.052057] invalid opcode: 0000 [#1] SMP
....
[1402419.057872] CPU: 0 PID: 2852 Comm: bnx2fc_thread/0 Kdump: loaded Tainted: P OE ------------ 3.10.0-1160.62.1.el7.x86_64 #1
[1402419.059567] Hardware name: HPE Synergy 480 Gen10/Synergy 480 Gen10 Compute Module, BIOS I42 11/13/2019
[1402419.060351] task: ffff9d1c10a69080 ti: ffff9d1c09f98000 task.ti: ffff9d1c09f98000
[1402419.061126] RIP: 0010:[<ffffffffaf3537b0>] [<ffffffffaf3537b0>] blk_requeue_request+0x90/0xa0
....
[1402419.072639] Call Trace:
[1402419.073584] <IRQ>
[1402419.073603] [<ffffffffaf4ed6f6>] __scsi_queue_insert+0xb6/0x100
[1402419.075495] [<ffffffffaf4ed83a>] scsi_softirq_done+0xda/0x160
[1402419.076463] [<ffffffffaf35db16>] blk_done_softirq+0x96/0xc0
[1402419.077447] [<ffffffffaf0a4d85>] __do_softirq+0xf5/0x280
[1402419.078428] [<ffffffffaf79d4ec>] call_softirq+0x1c/0x30
[1402419.079413] <EOI>
[1402419.079428] [<ffffffffaf02f715>] do_softirq+0x65/0xa0
[1402419.081414] [<ffffffffaf0a41db>] __local_bh_enable_ip+0x9b/0xb0
[1402419.082442] [<ffffffffaf78eb9e>] _raw_spin_unlock_bh+0x1e/0x20
[1402419.083563] [<ffffffffc0516658>] bnx2fc_process_cq_compl+0xd8/0x260 [bnx2fc]
[1402419.084859] [<ffffffffc0511e49>] bnx2fc_percpu_io_thread+0x129/0x1b0 [bnx2fc]
[1402419.086168] [<ffffffffc0511d20>] ? bnx2fc_cleanup+0x100/0x100 [bnx2fc]
[1402419.087499] [<ffffffffaf0c5fb1>] kthread+0xd1/0xe0
....
[1402419.095876] RIP [<ffffffffaf3537b0>] blk_requeue_request+0x90/0xa0
[1402419.097319] RSP <ffff9d260fe03eb8>
Environment
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.