[Bug 279381] FreeBSD 13.3-RELEASE breaks isp driver with Qlogic QLE2692 16Gb fibre channel cards

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 29 May 2024 13:22:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279381

            Bug ID: 279381
           Summary: FreeBSD 13.3-RELEASE breaks isp driver with Qlogic
                    QLE2692 16Gb fibre channel cards
           Product: Base System
           Version: 13.3-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: drkspc@mailbox.org

Created attachment 251062
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=251062&action=edit
dmesg output for isp0 on FreeBSD 13.3 with firmware loading disabled

We have a bunch of Dell servers with Qlogic QLE2692 16Gb FC cards, pulling in
storage from a switched FC network.
Upgrading from FreeBSD 13.2 to 13.3 leaves us with all the paths to our
multipath devices and thus zpools missing.

Debug output as per hint.isp.0.debug="0x70f" in /boot/device.hints looks like
firmware loading is not an issue. However, on 13.3, we get a message
isp0: fabric topology, but cannot get info about fabric controller (0x400a)

Booting with hint.isp.0.debug="0x71f", this is preceeded by:
isp0: Chan 0 handle 0x7fe Port 0xfffffe flags 0x0 curstate 44 laststate 44

as opposed to (13.2):
isp0: Chan 0 handle 0x7fe Port 0xfffffe flags 0x0 curstate 4 laststate 4

Rolling back to 13.2 results in all devices/paths showing up properly again.
Enabling or disabling firmware loading (hint.isp.0.fwload_disable="0" or "1")
on 13.3 does not make any difference. Using even newer firmware than provided
by FreeBSD on the card (9.14.0 from Dell's firmware packages) shows the same
effect.

In addition to the QLE2692 card, we installed an older QLE2662 16Gb into one of
the servers, as the updated firmware loading in 13.3 (bug #273263) only affects
newer cards. With the older card (isp2 and isp3) everything works as expected.

I'll attach the dmesg entries for isp0 (QLE2692) on FreeBSD 13.2 and 13.3 as
well as isp3 (QLE2662) on 13.3.

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