System crash following underrun due to potential qedf refcount issue
Issue
- System crash following underrun due to potential
qedfrefcount issue:
[0000:37:00.2]:[qedf_scsi_completion:1211]:2: Firmware detected underrun: xid=0x58d fcp_rsp.flags=0x00 fcp_resid=0 fw_residual=0x1000 lba=00059510.
[0000:37:00.2]:[qedf_scsi_completion:1211]:2: Firmware detected underrun: xid=0x58e fcp_rsp.flags=0x00 fcp_resid=0 fw_residual=0x2000 lba=352021a0.
[0000:37:00.2]:[qedf_scsi_completion:1211]:2: Firmware detected underrun: xid=0x58f fcp_rsp.flags=0x00 fcp_resid=0 fw_residual=0x1e000 lba=0684d830.
[0000:37:00.2]:[qedf_scsi_completion:1211]:2: Firmware detected underrun: xid=0x590 fcp_rsp.flags=0x00 fcp_resid=0 fw_residual=0x1000 lba=00058768.
[0000:37:00.2]:[qedf_scsi_completion:1211]:2: Firmware detected underrun: xid=0x591 fcp_rsp.flags=0x00 fcp_resid=0 fw_residual=0x1000 lba=000587e8.
libfcoe: host2: Missing Discovery Advertisement for fab 10008894715581a8 count 2
libfcoe: host2: Missing Discovery Advertisement for fab 10008894715581a8 count 3
[0000:37:00.2]:[qedf_initiate_cleanup:2225]:2: Cleanup command timeout, xid=1f0.
[0000:37:00.2]:[qedf_initiate_cleanup:2228]:2: Issuing MCP drain request.
[0000:37:00.2]:[qedf_initiate_cleanup:2225]:2: Cleanup command timeout, xid=1f2.
[0000:37:00.2]:[qedf_initiate_cleanup:2228]:2: Issuing MCP drain request.
[0000:37:00.2]:[qedf_initiate_cleanup:2225]:2: Cleanup command timeout, xid=1f4.
[0000:37:00.2]:[qedf_initiate_cleanup:2228]:2: Issuing MCP drain request.
------------[ cut here ]------------
kernel BUG at block/blk-core.c:1561!
invalid opcode: 0000 [#1] SMP
....
CPU: 5 PID: 35 Comm: ksoftirqd/5 Kdump: loaded Tainted: P OE ------------ 3.10.0-1160.71.1.el7.x86_64 #1
Hardware name: HPE Synergy 480 Gen10/Synergy 480 Gen10 Compute Module, BIOS I42 03/08/2022
task: ffff931ff29f0000 ti: ffff931ff29f8000 task.ti: ffff931ff29f8000
RIP: 0010:[<ffffffff8f1537f0>] [<ffffffff8f1537f0>] blk_requeue_request+0x90/0xa0
....
Call Trace:
[<ffffffff8f2ed736>] __scsi_queue_insert+0xb6/0x100
[<ffffffff8f2ed859>] scsi_softirq_done+0xb9/0x160
[<ffffffff8f15db56>] blk_done_softirq+0x96/0xc0
[<ffffffff8eea4d85>] __do_softirq+0xf5/0x280
[<ffffffff8eea4f48>] run_ksoftirqd+0x38/0x50
[<ffffffff8eece9e4>] smpboot_thread_fn+0x144/0x1a0
[<ffffffff8eece8a0>] ? lg_double_unlock+0x40/0x40
[<ffffffff8eec5f91>] kthread+0xd1/0xe0
[<ffffffff8eec5ec0>] ? insert_kthread_work+0x40/0x40
[<ffffffff8f599ddd>] ret_from_fork_nospec_begin+0x7/0x21
[<ffffffff8eec5ec0>] ? insert_kthread_work+0x40/0x40
Code: 83 c3 10 4c 89 e2 4c 89 ee e8 9d 45 04 00 48 8b 03 48 85 c0 75 e5 41 f6 44 24 4a 10 74 ad 4c 89 e6 4c 89 ef e8 f2 43 00 00 eb a0 <0f> 0b 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00
RIP [<ffffffff8f1537f0>] blk_requeue_request+0x90/0xa0
RSP <ffff931ff29fbd48>
Environment
- Red Hat Enterprise Linux 7
qedfHBA driver- kernel-3.10.0-1160.90.1.el7 & kernel-3.10.0-1160.71.1.el7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.