[RHEL 8.10] System crash due to panic in dma_direct_unmap_sg() called from pfc_scsi_unprep_dma_buf() with a NULL argument

Solution In Progress - Updated -

Issue

  • System crash due to panic in dma_direct_unmap_sg() called from pfc_scsi_unprep_dma_buf() with a NULL argument (details in the Diagnostic Steps section).
  • /var/log/messages reports underlying SAN instability issues:
lpfc 0000:5f:00.1: 157: [ 3323.996336] 3:(0):9024 FCP command x12 failed: x0 SNS x0 x0 Data: x8 xf2 x0 x0 x0
Jun 26 20:52:44 localhost kernel: lpfc 0000:5f:00.1: 158: [ 3323.996337] 3:(0):9025 FCP Underrun, expected 254, residual 242 Data: xf2 x12 x0
lpfc 0000:5f:00.1: 159: [ 3323.996418] 3:0373 FCP CQE cmpl: status=x1: CQE: 19720100 00000036 00000018 80010000
lpfc 0000:5f:00.1: 160: [ 3323.996420] 3:(0):9034 FCP cmd x12 failed <0/2> status: x1 result: x18 sid: x140e00 did: x142400 oxid: x1a6c Data: x18 x36 x1972
sd 18:0:0:2: [sde] tag#4657 FAILED Result: hostbyte=DID_TIME_OUT driverbyte=DRIVER_OK cmd_age=30s
sd 18:0:0:2: [sde] tag#4657 CDB: Read(10) 28 00 51 2d 96 60 00 06 00 00
blk_update_request: I/O error, dev sde, sector 1361942112 op 0x0:(READ) flags 0x84700 phys_seg 13 prio class 0

Environment

  • Red Hat Enterprise Linux 8.10
  • lpfc 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