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

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 11 Nov 2024 14:32:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281177

--- Comment #29 from Joerg Pulz <Joerg.Pulz@frm2.tum.de> ---
I have to correct myself regarding the firmware handling.

    For 27xx and newer adapters:
    - load ispfw(4) firmware
    - request (active) flash firmware information
    - compare version numbers of ispfw(4) and flash firmware
    - load firmware with highest version into RISC's RAM
    - if loading ispfw(4) is disabled or failed - load firmware from flash
    - if everything else fails use MBOX_LOAD_FLASH_FIRMWARE as fallback

    For 26xx and older adapters nothing changed:
    - load ispfw(4) firmware and load it into RISC's RAM
    - if loading ispfw(4) is disabled or failed use MBOX_EXEC_FIRMWARE
    - for 26xx a preceding MBOX_LOAD_FLASH_FIRMWARE is used

So for the old 25xx we are talking about, ispfw(4) is always loaded if
available and not explicit disabled by hint.
Only for the newer cards the version comparison is done.
But, the FLT parsing is always done to get all the addresses, especially NVRAM
where we read out WWPN, WWNN, command limit and so on.

So why does this probably fail for 14.2 while it works on 14.1 when nothing
changed there? And why is it not failing if ispfw(4) is loaded by loader?
Reading the FLT is done at the very beginning, before firmware is loaded into
RAM of and exec'd by the card.
I will try by myself tomorrow to get more data and details.

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