[Bug 285905] iwx(4): wlwifi-so-a0-gf-a0-77.ucode: could not load firmware image, error 8

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 05 Apr 2025 18:29:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285905

            Bug ID: 285905
           Summary: iwx(4): wlwifi-so-a0-gf-a0-77.ucode: could not load
                    firmware image, error 8
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: trasz@FreeBSD.org

It looks like iwx(4) finds my card, but can't load firmware for some reason:

Apr  5 19:17:49 pustak kernel: iwx0: <Wi-Fi 6 AX210> mem 0xef000000-0xef003fff
irq 18 at device 0.0 on pci2
Apr  5 19:17:49 pustak kernel: iwlwifi-so-a0-gf-a0-77.ucode: could not load
firmware image, error 8
Apr  5 19:17:49 pustak kernel: iwx0: could not load firmware, 35
Apr  5 19:17:49 pustak kernel: iwx0: failed to load init firmware
Apr  5 19:17:49 pustak kernel: iwx0: failed to stop device

The error reported, 8, is ENOEXEC.  The file appears fine though:

% pkg which /boot/firmware/iwlwifi-so-a0-gf-a0-77.ucode
/boot/firmware/iwlwifi-so-a0-gf-a0-77.ucode was installed by package
wifi-firmware-iwlwifi-kmod-ax210-20241017.1500034_2

% md5 /boot/firmware/iwlwifi-so-a0-gf-a0-77.ucode
MD5 (/boot/firmware/iwlwifi-so-a0-gf-a0-77.ucode) =
3eca9cddada3ddf25ca4ee9a9aa5b3fa

The same NIC works fine with iwlwifi(4):

iwlwifi0: <iwlwifi> mem 0xef000000-0xef003fff irq 18 at device 0.0 on pci2
iwlwifi0: Detected crf-id 0x400410, cnv-id 0x400410 wfpm id 0x80000000
iwlwifi0: PCI dev 2725/0024, rev=0x420, rfid=0x10d000
iwlwifi0: Detected Intel(R) Wi-Fi 6 AX210 160MHz
iwlwifi0: successfully loaded firmware image 'iwlwifi-ty-a0-gf-a0-89.ucode'
iwlwifi0: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.0.2.42
iwl-debug-yoyo.bin: could not load binary firmware
/boot/firmware/iwl-debug-yoyo.bin either
iwl-debug-yoyo.bin: could not load binary firmware
/boot/firmware/iwl-debug-yoyo.bin either
iwl-debug-yoyo_bin: could not load binary firmware
/boot/firmware/iwl-debug-yoyo_bin either
iwl_debug_yoyo_bin: could not load binary firmware
/boot/firmware/iwl_debug_yoyo_bin either
iwlwifi0: loaded firmware version 89.6b44fa0b.0 ty-a0-gf-a0-89.ucode op_mode
iwlmvm
iwlwifi0: WFPM_UMAC_PD_NOTIFICATION: 0x20
iwlwifi0: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
iwlwifi0: WFPM_AUTH_KEY_0: 0x90
iwlwifi0: CNVI_SCU_SEQ_DATA_DW9: 0x0
iwlwifi0: successfully loaded firmware image 'iwlwifi-ty-a0-gf-a0.pnvm'
iwlwifi0: loaded PNVM version 181407b3
iwlwifi0: Detected RF GF, rfid=0x10d000
iwlwifi0: base HW address: c8:58:b3:fa:04:01
lkpi_l80211_to_net80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 8
(GCMP)
lkpi_l80211_to_net80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 9
(GCMP_256)
lkpi_l80211_to_net80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 6
(AES_CMAC)
lkpi_l80211_to_net80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 11
(BIP_GMAC_128)
lkpi_l80211_to_net80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 12
(BIP_GMAC_256)
acpi_wmi0: <ACPI-WMI mapping> on acpi0
acpi_wmi1: <ACPI-WMI mapping> on acpi0
acpi_wmi1: Embedded MOF found
ig4iic3: <Designware I2C Controller> iomem 0xfe028000-0xfe028fff irq 34 on
acpi0
ig4iic3: controller error during attach-1
device_attach: ig4iic3 attach returned 6
ig4iic3: <Designware I2C Controller> iomem 0xfe028000-0xfe028fff irq 34 on
acpi0
ig4iic3: controller error during attach-1
device_attach: ig4iic3 attach returned 6
iwlwifi0: WFPM_UMAC_PD_NOTIFICATION: 0x20
iwlwifi0: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
iwlwifi0: WFPM_AUTH_KEY_0: 0x90
iwlwifi0: CNVI_SCU_SEQ_DATA_DW9: 0x0
wlan0: Ethernet address: c8:58:b3:fa:04:01

It looks like iwlwifi(4) is using a different firmware image than iwx(4) for
some reason?

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