FC680i(qla2xxx) get dma mapping resulted in different sg counts error on 22.04 but not 20.04.5

Bug #2055238 reported by Zhanglei Mao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-hwe-5.15 (Ubuntu)
New
Undecided
Unassigned

Bug Description

On of our partner reported that FC680i internalLoopBack test would fail on 22.04 but worked fine on 20.04.5. The dmesg error log is
[ 941.140500] qla2xxx [0000:63:00.1]-701c:7: dma mapping resulted in different sg counts, request_sg_cnt: 2 dma_request_sg_cnt: 1 reply_sg_cnt: 1 dma_reply_sg_cnt: 1.

Reproduce method: qaucli -pr fc -kl 21:00:f4:c7:aa:od:83:e8 DP CRPAT DS 256 TC 1 OE 1 LT 4

Revision history for this message
Zhanglei Mao (zhanglei-mao) wrote :

screen pictures for test commands and error output

Revision history for this message
Zhanglei Mao (zhanglei-mao) wrote :

screen pictures for test commands and error output

Revision history for this message
Zhanglei Mao (zhanglei-mao) wrote :

From lspci
63:00.0 Fibre Channel [0c04]: QLogic Corp. ISP2722-based 16/32Gb Fibre Channel to PCIe Adapter [1077:2261] (rev 01)
        Subsystem: Hangzhou H3C Technologies Co., Ltd. NIC-FC680i-Mb-2x16G [193d:100d]
        Physical Slot: 9
63:00.1 Fibre Channel [0c04]: QLogic Corp. ISP2722-based 16/32Gb Fibre Channel to PCIe Adapter [1077:2261] (rev 01)
        Subsystem: Hangzhou H3C Technologies Co., Ltd. NIC-FC680i-Mb-2x16G [193d:100d]

        Kernel driver in use: qla2xxx
        Kernel modules: qla2xxx

Revision history for this message
Zhanglei Mao (zhanglei-mao) wrote :

It seems specific to 5.15.0-25 version and have been fixed since 5.15.0-46-generic from 20.04.5 hwe-kernel and 5.15.0-97-generic (both are tested and verified -- worked well)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.