[Bug 281177] 13.2 works, 13.3 and 14.x installers panic on older qlogic isp card

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 31 Aug 2024 23:01:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281177

            Bug ID: 281177
           Summary: 13.2 works, 13.3 and 14.x installers panic on older
                    qlogic isp card
           Product: Base System
           Version: 13.3-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: cheeky.m@gmx.com

The 13.3 and 14.x install images panic when booting, then reboot on 13.3 and
14.x releases.  13.2 works.   We can make 13.3 and 14.x work by breaking to the
loader on boot, unloading the kernel, loading it again, and loading ispfw.ko,
then booting.  Adding 'ispfw_load="YES"' to /boot/loader.conf keeps the system
working after installation.

https://mail-archive.freebsd.org/cgi/getmsg.cgi?fetch=75207+0+archive/2024/freebsd-current/20240722.freebsd-current


https://mail-archive.freebsd.org/cgi/getmsg.cgi?fetch=371870+0+archive/2024/freebsd-current/20240805.freebsd-current

sorry for html.



an older system with two qlogic isp cards, isp0 and isp1, nothing attached to
them, and it panics on boot with 13.3 and 14.x images.
13.2 works

Autoloading module: ichsmb
ichsmb0: &lt;Intel 631xESB/6321ESB (ESB2) SMBus controller&gt; port 0x300-0x31f
irq 22 at device 31.3 on pci0
smbus0: &lt;System Management Bus&gt; on ichsmb0
isp1: &lt;Qlogic ISP 2432 PCI FC-AL Adapter&gt; port 0x9c00-0x9cff mem
0xfcbfc000-0xfcbfffff irq 18 at device 0.0 on pci9
isp1: FLT[DEF]: Invalid length=0xffff(65535)
panic: vm_fault_lookup: fault on nofault entry, addr: 0xfffffe0127d22000
cpuid = 6
time = 1721060956
KDB: stack backtrace:
Uptime: 17s
Dumping 936 out of 24532 MB:..2%..11%..21%..31%..42%..52%..62%..71%..81%..91%
------------------------------------------------------------------------







13.2:

grep ^isp 13.2-dmesg

isp0: &lt;Qlogic ISP 2432 PCI FC-AL Adapter&gt; port 0x6c00-0x6cff mem
0xfc4fc000-0xfc4fffff irq 16 at device 0.0 on pci3
isp0: Mailbox Command (0x8) Timeout (5000000us) (isp_reset:439)
isp0: Mailbox Command &#39;ABOUT FIRMWARE&#39; failed (TIMEOUT)
isp0: isp_reinit: cannot reset card
isp0: See the ispfw(4) man page on how to load known good firmware at boot time
isp0: &lt;Qlogic ISP 2432 PCI FC-AL Adapter&gt; port 0x9c00-0x9cff mem
0xfcbfc000-0xfcbfffff irq 18 at device 0.0 on pci9
isp0: Mailbox Command (0x8) Timeout (5000000us) (isp_reset:439)
isp0: Mailbox Command &#39;ABOUT FIRMWARE&#39; failed (TIMEOUT)
isp0: isp_reinit: cannot reset card
isp0: See the ispfw(4) man page on how to load known good firmware at boot time
isp0: &lt;Qlogic ISP 2432 PCI FC-AL Adapter&gt; port 0x6c00-0x6cff mem
0xfc4fc000-0xfc4fffff irq 16 at device 0.0 on pci3
isp_2400: could not load firmware image, error 6
isp0: Mailbox Command (0x8) Timeout (5000000us) (isp_reset:439)
isp0: Mailbox Command &#39;ABOUT FIRMWARE&#39; failed (TIMEOUT)
isp0: isp_reinit: cannot reset card
isp0: See the ispfw(4) man page on how to load known good firmware at boot time
isp0: &lt;Qlogic ISP 2432 PCI FC-AL Adapter&gt; port 0x9c00-0x9cff mem
0xfcbfc000-0xfcbfffff irq 18 at device 0.0 on pci9
isp_2400: could not load firmware image, error 6
isp0: Mailbox Command (0x8) Timeout (5000000us) (isp_reset:439)
isp0: Mailbox Command &#39;ABOUT FIRMWARE&#39; failed (TIMEOUT)
isp0: isp_reinit: cannot reset card
isp0: See the ispfw(4) man page on how to load known good firmware at boot time
isp0: &lt;Qlogic ISP 2432 PCI FC-AL Adapter&gt; port 0x6c00-0x6cff mem
0xfc4fc000-0xfc4fffff irq 16 at device 0.0 on pci3
isp1: &lt;Qlogic ISP 2432 PCI FC-AL Adapter&gt; port 0x9c00-0x9cff mem
0xfcbfc000-0xfcbfffff irq 18 at device 0.0 on pci9







working 13.3 dmesg with ispfw loaded in loader.conf

grep ^isp 13.3-dmesg

isp0: &lt;Qlogic ISP 2432 PCI FC-AL Adapter&gt; port 0x6c00-0x6cff mem
0xfc4fc000-0xfc4fffff irq 16 at device 0.0 on pci3
isp0: FLT[DEF]: Invalid length=0xffff(65535)
isp0: invalid NVRAM header (55 aa 56)
isp0: invalid NVRAM header (55 aa 56)
isp0: bad frame length (0) from NVRAM - using 1024
isp1: &lt;Qlogic ISP 2432 PCI FC-AL Adapter&gt; port 0x9c00-0x9cff mem
0xfcbfc000-0xfcbfffff irq 18 at device 0.0 on pci9
isp1: FLT[DEF]: Invalid length=0xffff(65535)
isp1: invalid NVRAM header (55 aa 56)
isp1: invalid NVRAM header (55 aa 56)
isp1: bad frame length (0) from NVRAM - using 1024











maybe 279381 is related.

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