System crash in dma_direct_unmap_sg() while having rport issues and using bnx2fc driver

Solution Unverified - Updated -

Issue

  • System crash in dma_direct_unmap_sg() while having rport issues and using bnx2fc driver:
[  554.783785] bnx2fc: lun_rst: abts already in progress for this IO 0x105
[  554.821853] bnx2fc: lun_rst: abts already in progress for this IO 0x295
[  554.859719] bnx2fc: lun_rst: abts already in progress for this IO 0x17d
[  565.784657] BUG: unable to handle kernel NULL pointer dereference at 0000000000000018
[  565.829134] PGD 0 P4D 0 
[  565.846907] Oops: 0000 [#1] SMP PTI
[  565.869924] CPU: 18 PID: 1014 Comm: bnx2fc_thread/1 Kdump: loaded Not tainted 4.18.0-305.19.1.el8_4.x86_64 #1
[  565.924394] Hardware name: HP ProLiant WS460c Gen9, BIOS I36 04/29/2021
[  565.963252] RIP: 0010:dma_direct_unmap_sg+0x87/0x100
....
[  566.572076] Call Trace:
[  566.594178]  ? add_timer+0x13f/0x1f0
[  566.621732]  bnx2fc_unmap_sg_list+0x56/0x70 [bnx2fc]
[  566.655324]  bnx2fc_scsi_done+0x40/0xd0 [bnx2fc]
[  566.687069]  bnx2fc_process_abts_compl+0xc6/0x220 [bnx2fc]
[  566.722467]  bnx2fc_process_cq_compl+0x1a1/0x1f0 [bnx2fc]
[  566.757450]  bnx2fc_percpu_io_thread+0x127/0x1b0 [bnx2fc]
[  566.792583]  ? bnx2fc_ulp_init+0x380/0x380 [bnx2fc]
[  566.825066]  kthread+0x116/0x130
[  566.849782]  ? kthread_flush_work_fn+0x10/0x10
[  566.880861]  ret_from_fork+0x35/0x40

Environment

  • Red Hat Enterprise Linux 8

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