Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2023 16:42:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 273263] isp(4): 32Gbit Qlogic cards do not work
Message-ID:  <bug-273263-227-orVKt3gYpV@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273263-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273263-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273263

Joerg Pulz <Joerg.Pulz@frm2.tum.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |imp@FreeBSD.org

--- Comment #12 from Joerg Pulz <Joerg.Pulz@frm2.tum.de> ---
I've finished my firmwae/NVRAM handling rework for now.

See pull request: https://github.com/freebsd/freebsd-src/pull/877

Runtime tested and approved to work on real hardware with:
  - QLogic ISP 2532 (QLogic QLE2560 8Gb FC Adapter)
  - QLogic ISP 2722 (QLogic QLE2690 16Gb FC Adapter)
  - QLogic ISP 2812 (QLogic QLE2772 32Gbit 2Port FC Adapter)

As soon as I can get my hands on a 26xx based card (Arne???) I will verify =
this
one too and provide feedback here.

Output using hint.isp.0.debug=3D"0xf" and hint.isp.0.fwload_disable NOT set:

QLogic ISP 2532:
isp0: <Qlogic ISP 2532 PCI FC-AL Adapter> port 0x8000-0x80ff mem
0xb8900000-0xb8903fff,0xb8800000-0xb88fffff at device 0.0 numa-domain 0 on =
pci9
isp0: FLT[FLT]: boot=3D0x0 fw=3D0x20000 vpd_nvram=3D0x48000 vpd=3D0x48000 n=
vram=3D0x48080
fdt=3D0x50000 flt=3D0x50400 npiv=3D0x5c000 fcp_prif_cfg=3D0x3c000
isp0: Loaded ispfw(4) firmware isp_2500
isp0: Firmware revision (ispfw) 8.8.207 (109095).
isp0: Board Type 2532, Chip Revision 0x2, loaded F/W Revision 8.8.207
isp0: FW Attributes Lower: Class2 MultiID T10CRC MSIX VP0_Decoupling
isp0: FW Attributes Upper: NPMOFF
isp0: FW Ext. Attributes Lower:
isp0: FW Ext. Attributes Upper:
isp0: 2048 max I/O command limit set

QLogic ISP 2722:
isp0: <Qlogic ISP 2722 PCI FC Adapter> mem
0xb8902000-0xb8902fff,0xb8900000-0xb8901fff,0xb8800000-0xb88fffff at device=
 0.0
numa-domain 0 on pci9
isp0: FLT[FLT]: boot=3D0x200000 fw=3D0x240000 vpd_nvram=3D0x270000 vpd=3D0x=
270000
nvram=3D0x270080 fdt=3D0xfc000 flt=3D0xfc400 npiv=3D0x2a8000 fcp_prif_cfg=
=3D0x0
isp0: Loaded ispfw(4) firmware isp_2700
isp0: Firmware revision (ispfw) 9.12.0 (785ad0d5).
isp0: Primary image is active
isp0: Loading primary firmware image.
isp0: Firmware revision (flash) 8.8.231 (785ad0d5).
isp0: Loading RISC with newer ispfw(4) firmware
isp0: Maximum supported speed: 16Gbit/s
isp0: Board Type 2700, Chip Revision 0x1, loaded F/W Revision 9.12.0
isp0: FW Attributes Lower: Class2 MultiID T10CRC MQ MSIX VP0_Decoupling Hot=
FW
isp0: FW Attributes Upper: EXMOFF NPMOFF DIFCHOP NVMe(updated) NVMe(first
burst) (unknown 0x3800)
isp0: FW Ext. Attributes Lower: ASICTMP ATIOMQ SCM NVMe-2 (unknown 0xc200)
isp0: FW Ext. Attributes Upper:
isp0: 2048 max I/O command limit set
isp0: Primary aux image not addressed
isp0: Secondary aux image not addressed

QLogic ISP 2812:
isp0: <Qlogic ISP 2812 PCI FC Adapter> mem
0xeea05000-0xeea05fff,0xeea02000-0xeea03fff,0xee900000-0xee9fffff at device=
 0.0
numa-domain 1 on pci14
isp0: FLT[FLT]: boot=3D0x240000 fw=3D0xf0000 vpd_nvram=3D0x300000 vpd=3D0x3=
00000
nvram=3D0x300080 fdt=3D0x4000 flt=3D0x4400 npiv=3D0x320000 fcp_prif_cfg=3D0=
x338000
isp0: Loaded ispfw(4) firmware isp_2800
isp0: Firmware revision (ispfw) 9.12.1 (785ad0d5).
isp0: Secondary image is active
isp0: Loading secondary firmware image.
isp0: Firmware revision (flash) 9.4.1 (785ad0d5).
isp0: Loading RISC with newer ispfw(4) firmware
isp0: Maximum supported speed: 32Gbit/s
isp0: Board Type 2800, Chip Revision 0x2, loaded F/W Revision 9.12.1
isp0: FW Attributes Lower: Class2 MultiID T10CRC MQ MSIX VP0_Decoupling Hot=
FW
isp0: FW Attributes Upper: EXMOFF NPMOFF DIFCHOP NVMe(updated) NVMe(first
burst) (unknown 0x3800)
isp0: FW Ext. Attributes Lower: ASICTMP ATIOMQ EDIF SCM NVMe-2 (unknown 0xc=
600)
isp0: FW Ext. Attributes Upper: (unknown 0x0001)
isp0: 2048 max I/O command limit set
isp0: Secondary aux image is active
isp0: Loading primary NVRAM image


Output using hint.isp.0.debug=3D"0xf" and hint.isp.0.fwload_disable=3D"1":

QLogic ISP 2532:
isp0: <Qlogic ISP 2532 PCI FC-AL Adapter> port 0x8000-0x80ff mem
0xb8900000-0xb8903fff,0xb8800000-0xb88fffff at device 0.0 numa-domain 0 on =
pci9
isp0: FLT[FLT]: boot=3D0x0 fw=3D0x20000 vpd_nvram=3D0x48000 vpd=3D0x48000 n=
vram=3D0x48080
fdt=3D0x50000 flt=3D0x50400 npiv=3D0x5c000 fcp_prif_cfg=3D0x3c000
isp0: Skipping ispfw(4) firmware download
isp0: Board Type 2532, Chip Revision 0x2, resident F/W Revision 8.8.207
isp0: FW Attributes Lower: Class2 MultiID T10CRC MSIX VP0_Decoupling
isp0: FW Attributes Upper: NPMOFF
isp0: FW Ext. Attributes Lower:
isp0: FW Ext. Attributes Upper:
isp0: 2048 max I/O command limit set

QLogic ISP 2722:
isp0: <Qlogic ISP 2722 PCI FC Adapter> mem
0xb8902000-0xb8902fff,0xb8900000-0xb8901fff,0xb8800000-0xb88fffff at device=
 0.0
numa-domain 0 on pci9
isp0: FLT[FLT]: boot=3D0x200000 fw=3D0x240000 vpd_nvram=3D0x270000 vpd=3D0x=
270000
nvram=3D0x270080 fdt=3D0xfc000 flt=3D0xfc400 npiv=3D0x2a8000 fcp_prif_cfg=
=3D0x0
isp0: Primary image is active
isp0: Loading primary firmware image.
isp0: Firmware revision (flash) 8.8.231 (785ad0d5).
isp0: Skipping ispfw(4) firmware download
isp0: Maximum supported speed: 16Gbit/s
isp0: Board Type 2700, Chip Revision 0x1, resident F/W Revision 8.8.231
isp0: FW Attributes Lower: Class2 MultiID T10CRC MQ MSIX VP0_Decoupling Hot=
FW
isp0: FW Attributes Upper: EXMOFF NPMOFF DIFCHOP NVMe(updated) NVMe(first
burst)
 (unknown 0x3800)
isp0: FW Ext. Attributes Lower: ASICTMP ATIOMQ (unknown 0x0200)
isp0: FW Ext. Attributes Upper:
isp0: 2048 max I/O command limit set
isp0: Primary aux image not addressed
isp0: Secondary aux image not addressed

QLogic ISP 2812:
isp0: <Qlogic ISP 2812 PCI FC Adapter> mem
0xeea05000-0xeea05fff,0xeea02000-0xeea03fff,0xee900000-0xee9fffff at device=
 0.0
numa-domain 1 on pci14
isp0: FLT[FLT]: boot=3D0x240000 fw=3D0xf0000 vpd_nvram=3D0x300000 vpd=3D0x3=
00000
nvram=3D0x300080 fdt=3D0x4000 flt=3D0x4400 npiv=3D0x320000 fcp_prif_cfg=3D0=
x338000
isp0: Secondary image is active
isp0: Loading secondary firmware image.
isp0: Firmware revision (flash) 9.4.1 (785ad0d5).
isp0: Skipping ispfw(4) firmware download
isp0: Maximum supported speed: 32Gbit/s
isp0: Board Type 2800, Chip Revision 0x2, resident F/W Revision 9.4.1
isp0: FW Attributes Lower: Class2 MultiID T10CRC MQ MSIX VP0_Decoupling Hot=
FW
isp0: FW Attributes Upper: EXMOFF NPMOFF DIFCHOP NVMe(updated) NVMe(first
burst) (unknown 0x3800)
isp0: FW Ext. Attributes Lower: ASICTMP ATIOMQ EDIF SCM (unknown 0x0600)
isp0: FW Ext. Attributes Upper:
isp0: 2048 max I/O command limit set
isp0: Secondary aux image is active
isp0: Loading primary NVRAM image


For completeness
Output using hint.isp.0.debug=3D"0x3f" and hint.isp.0.fwload_disable NOT se=
t:

QLogic ISP 2722:
isp0: <Qlogic ISP 2722 PCI FC Adapter> mem
0xb8902000-0xb8902fff,0xb8900000-0xb8901fff,0xb8800000-0xb88fffff at device=
 0.0
numa-domain 0 on pci9
isp0: set PCI latency to 64
isp0: request area @ 0x6ccd5a000/0x80000
isp0: response area @ 0x6ccdda000/0x10000
isp0: FLTL[DEF]: 0xfc400
isp0: FLT[DEF]: version=3D0x1 length=3D0x448(1096) checksum=3D0x6e23
isp0: FLT[DEF]: regions=3D68
isp0: FLT[0xce]: start=3D0x0 end=3D0x3fff size=3D0x4000 attribute=3D0x0
isp0: FLT[0xd3]: start=3D0x4000 end=3D0x7fff size=3D0x4000 attribute=3D0x0
isp0: FLT[0xd1]: start=3D0x8000 end=3D0xffff size=3D0x8000 attribute=3D0x0
isp0: FLT[0xcf]: start=3D0x10000 end=3D0x17fff size=3D0x8000 attribute=3D0x0
isp0: FLT[0x13]: start=3D0x18000 end=3D0x1ffff size=3D0x8000 attribute=3D0x0
isp0: FLT[0xd2]: start=3D0x20000 end=3D0x27fff size=3D0x8000 attribute=3D0x0
isp0: FLT[0x66]: start=3D0x28000 end=3D0x2ffff size=3D0x8000 attribute=3D0x0
isp0: FLT[0x95]: start=3D0x30000 end=3D0x33fff size=3D0x4000 attribute=3D0x0
isp0: FLT[0x96]: start=3D0x34000 end=3D0x37fff size=3D0x4000 attribute=3D0x0
isp0: FLT[0xdc]: start=3D0x38000 end=3D0xdffff size=3D0xa8000 attribute=3D0=
x0
isp0: FLT[0x82]: start=3D0xe0000 end=3D0xe3fff size=3D0x4000 attribute=3D0x0
isp0: FLT[0xdd]: start=3D0xe4000 end=3D0xfbfff size=3D0x18000 attribute=3D0=
x0
isp0: FLT[0x1a]: start=3D0xfc000 end=3D0xfc01f size=3D0x20 attribute=3D0x0
isp0: FLT[0x1b]: start=3D0xfc020 end=3D0xfc3ff size=3D0x3e0 attribute=3D0x0
isp0: FLT[0x1c]: start=3D0xfc400 end=3D0xfc7ff size=3D0x400 attribute=3D0x0
isp0: FLT[0x26]: start=3D0xfc800 end=3D0xfcbff size=3D0x400 attribute=3D0x0
isp0: FLT[0xde]: start=3D0xfcc00 end=3D0x12ffff size=3D0x33400 attribute=3D=
0x0
isp0: FLT[0x84]: start=3D0x130000 end=3D0x137fff size=3D0x8000 attribute=3D=
0x0
isp0: FLT[0xf0]: start=3D0x138000 end=3D0x13bfff size=3D0x4000 attribute=3D=
0x0
isp0: FLT[0xdf]: start=3D0x13c000 end=3D0x13ffff size=3D0x4000 attribute=3D=
0x0
isp0: FLT[0xf1]: start=3D0x140000 end=3D0x147fff size=3D0x8000 attribute=3D=
0x0
isp0: FLT[0x67]: start=3D0x148000 end=3D0x14ffff size=3D0x8000 attribute=3D=
0x0
isp0: FLT[0xe0]: start=3D0x150000 end=3D0x1dffff size=3D0x90000 attribute=
=3D0x0
isp0: FLT[0x9]: start=3D0x1e0000 end=3D0x1effff size=3D0x10000 attribute=3D=
0x0
isp0: FLT[0xa]: start=3D0x1f0000 end=3D0x1fffff size=3D0x10000 attribute=3D=
0x0
isp0: FLT[0x7]: start=3D0x200000 end=3D0x20ffff size=3D0x10000 attribute=3D=
0x0
isp0: FLT[0x11]: start=3D0x210000 end=3D0x21ffff size=3D0x10000 attribute=
=3D0x0
isp0: FLT[0xe1]: start=3D0x220000 end=3D0x23ffff size=3D0x20000 attribute=
=3D0x0
isp0: FLT[0x1]: start=3D0x240000 end=3D0x25ffff size=3D0x20000 attribute=3D=
0x2
isp0: FLT[0x9e]: start=3D0x260000 end=3D0x267fff size=3D0x8000 attribute=3D=
0x0
isp0: FLT[0x9f]: start=3D0x268000 end=3D0x26ffff size=3D0x8000 attribute=3D=
0x0
isp0: FLT[0x14]: start=3D0x270000 end=3D0x27007f size=3D0x80 attribute=3D0x0
isp0: FLT[0x15]: start=3D0x270080 end=3D0x2700ff size=3D0x80 attribute=3D0x0
isp0: FLT[0x16]: start=3D0x270100 end=3D0x27017f size=3D0x80 attribute=3D0x0
isp0: FLT[0x17]: start=3D0x270180 end=3D0x2701ff size=3D0x80 attribute=3D0x0
isp0: FLT[0xd4]: start=3D0x270200 end=3D0x27027f size=3D0x80 attribute=3D0x0
isp0: FLT[0xd5]: start=3D0x270280 end=3D0x2702ff size=3D0x80 attribute=3D0x0
isp0: FLT[0xd6]: start=3D0x270300 end=3D0x27037f size=3D0x80 attribute=3D0x0
isp0: FLT[0xd7]: start=3D0x270380 end=3D0x2703ff size=3D0x80 attribute=3D0x0
isp0: FLT[0x3e]: start=3D0x270400 end=3D0x273fff size=3D0x3c00 attribute=3D=
0x0
isp0: FLT[0xba]: start=3D0x274000 end=3D0x27bfff size=3D0x8000 attribute=3D=
0x0
isp0: FLT[0x50]: start=3D0x27c000 end=3D0x27c07f size=3D0x80 attribute=3D0x0
isp0: FLT[0x51]: start=3D0x27c080 end=3D0x27c0ff size=3D0x80 attribute=3D0x0
isp0: FLT[0x52]: start=3D0x27c100 end=3D0x27c17f size=3D0x80 attribute=3D0x0
isp0: FLT[0x53]: start=3D0x27c180 end=3D0x27c1ff size=3D0x80 attribute=3D0x0
isp0: FLT[0xd8]: start=3D0x27c200 end=3D0x27c27f size=3D0x80 attribute=3D0x0
isp0: FLT[0xd9]: start=3D0x27c280 end=3D0x27c2ff size=3D0x80 attribute=3D0x0
isp0: FLT[0xda]: start=3D0x27c300 end=3D0x27c37f size=3D0x80 attribute=3D0x0
isp0: FLT[0xdb]: start=3D0x27c380 end=3D0x27c3ff size=3D0x80 attribute=3D0x0
isp0: FLT[0x3f]: start=3D0x27c400 end=3D0x27ffff size=3D0x3c00 attribute=3D=
0x0
isp0: FLT[0x1d]: start=3D0x280000 end=3D0x2803ff size=3D0x400 attribute=3D0=
x0
isp0: FLT[0x1f]: start=3D0x280400 end=3D0x2807ff size=3D0x400 attribute=3D0=
x0
isp0: FLT[0xf2]: start=3D0x280800 end=3D0x280bff size=3D0x400 attribute=3D0=
x0
isp0: FLT[0xf3]: start=3D0x280c00 end=3D0x280fff size=3D0x400 attribute=3D0=
x0
isp0: FLT[0xe3]: start=3D0x281000 end=3D0x283fff size=3D0x3000 attribute=3D=
0x0
isp0: FLT[0x21]: start=3D0x284000 end=3D0x287fff size=3D0x4000 attribute=3D=
0x0
isp0: FLT[0x2]: start=3D0x288000 end=3D0x2a7fff size=3D0x20000 attribute=3D=
0x2
isp0: FLT[0x29]: start=3D0x2a8000 end=3D0x2a9fff size=3D0x2000 attribute=3D=
0x0
isp0: FLT[0x2a]: start=3D0x2aa000 end=3D0x2abfff size=3D0x2000 attribute=3D=
0x0
isp0: FLT[0x5e]: start=3D0x2ac000 end=3D0x2adfff size=3D0x2000 attribute=3D=
0x0
isp0: FLT[0x5f]: start=3D0x2ae000 end=3D0x2affff size=3D0x2000 attribute=3D=
0x0
isp0: FLT[0x2f]: start=3D0x2b0000 end=3D0x2cffff size=3D0x20000 attribute=
=3D0x0
isp0: FLT[0xe5]: start=3D0x2d0000 end=3D0x2effff size=3D0x20000 attribute=
=3D0x0
isp0: FLT[0xc5]: start=3D0x2f0000 end=3D0x2f3fff size=3D0x4000 attribute=3D=
0x0
isp0: FLT[0xa0]: start=3D0x2f4000 end=3D0x2f40ff size=3D0x100 attribute=3D0=
x0
isp0: FLT[0xa1]: start=3D0x2f4100 end=3D0x2f7fff size=3D0x3f00 attribute=3D=
0x0
isp0: FLT[0xc1]: start=3D0x2f8000 end=3D0x3fffff size=3D0x108000 attribute=
=3D0x0
isp0: FLT[0xff]: start=3D0x0 end=3D0x3fffff size=3D0x400000 attribute=3D0x0
isp0: FLT[FLT]: boot=3D0x200000 fw=3D0x240000 vpd_nvram=3D0x270000 vpd=3D0x=
270000
nvram=3D0x270080 fdt=3D0xfc000 flt=3D0xfc400 npiv=3D0x2a8000 fcp_prif_cfg=
=3D0x0
isp0: Loaded ispfw(4) firmware isp_2700
isp0: Firmware revision (ispfw) 9.12.0 (785ad0d5).
isp0: Primary image status: mask=3D0x01 gen=3D0x0001 ver=3D1.0 map=3D0x0 su=
m=3D0x04310421
sig=3D0xfacefade
isp0: Primary image is active
isp0: Secondary image status: mask=3D0x00 gen=3D0x0000 ver=3D1.0 map=3D0x0
sum=3D0x04310522 sig=3D0xfacefade
isp0: active image primary (1)
isp0: Loading primary firmware image.
isp0: FW: Loading firmware from flash (0x240000).
isp0: Firmware revision (flash) 8.8.231 (785ad0d5).
isp0: Loading RISC with newer ispfw(4) firmware
isp0: LOAD RISC RAM 85888 (0x14f80) words at load address 0x100000
isp0: LOAD RISC RAM 23680 (0x5c80) words at load address 0x122000
isp0: Firmware ability mask: 0x1080010
isp0: Maximum supported speed: 16Gbit/s
isp0: Board Type 2700, Chip Revision 0x1, loaded F/W Revision 9.12.0
isp0: FW Attributes Lower: Class2 MultiID T10CRC MQ MSIX VP0_Decoupling Hot=
FW
isp0: FW Attributes Upper: EXMOFF NPMOFF DIFCHOP NVMe(updated) NVMe(first
burst) (unknown 0x3800)
isp0: FW Ext. Attributes Lower: ASICTMP ATIOMQ SCM NVMe-2 (unknown 0xc200)
isp0: FW Ext. Attributes Upper:
isp0: 2048 max I/O command limit set
isp0: Primary aux image not addressed
isp0: Secondary aux image not addressed
isp0: aux images active: BCFG=3D0 VPD/NVR=3D0 NPIV0/1=3D0 NPIV2/3=3D0, NVME=
=3D0
isp0: NVRAM 0x0000000000000000 0x210034800d3ebaac maxframelen 2048
isp0: NVRAM loopid 0 fwopt1 0x20c6 fwopt2 0x26 fwopt3 0x4000
isp0: Chan 0 0x200034800d3ebaac/0x210034800d3ebaac Role Initiator
isp0: Setting ICB Node 0x200034800d3ebaac Port 0x210034800d3ebaac
isp0: isp_init: fwopt1 0x60c6 fwopt2 0x4401026 fwopt3 0x4022
isp0: isp_init: rqst 00000006ccd5a000 rsp 00000006ccdda000
isp0: isp_init:
isp0: 0x00000000: 01 00 00 00 00 08 00 00 00 00 00 00 21 00 34 80
isp0: 0x00000010: 0d 3e ba ac 20 00 34 80 0d 3e ba ac 00 00 00 00
isp0: 0x00000020: 03 00 00 00 00 04 00 20 00 00 00 00 00 a0 d5 cc
isp0: 0x00000030: 06 00 00 00 00 a0 dd cc 06 00 00 00 00 00 00 00
isp0: 0x00000040: 00 00 00 00 01 00 02 00 00 00 00 00 00 00 00 00
isp0: 0x00000050: 00 00 00 00 00 00 00 00 00 00 0a 00 c6 60 00 00
isp0: 0x00000060: 26 10 40 04 22 40 00 00 00 00 00 00 00 00 00 00
isp0: 0x00000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
isp0: INIT F/W from 000000010a0e2000

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273263-227-orVKt3gYpV>