Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#79026 - [linux] Intel AX201 iwlwifi firmware fails to load on linux 6.4 if iwlmvm and iwldvm are needed

Attached to Project: Arch Linux
Opened by Justin Kromlinger (hashworks) - Sunday, 09 July 2023, 11:27 GMT
Last edited by Justin Kromlinger (hashworks) - Thursday, 03 August 2023, 11:42 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

On my Dell Latitude 5420 the iwlwifi firmware fails to load with linux 6.4: https://fb.hash.works/HQMCPGKK/dmesg
```
Direct firmware load for iwlwifi-QuZ-a0-hr-b0-74.ucode failed with error -2
```

With linux 6.3.9 it loads just fine: https://fb.hash.works/ZoaNmYhU/dmesg
```
loaded firmware version 74.a5e9588b.0 QuZ-a0-hr-b0-74.ucode op_mode iwlmvm
```

The device has an Intel Corporation Wi-Wi 6 AX201 (rev 20) network controller. The linux-firmware package is at version 20230625.ee91452d-4.
This task depends upon

Closed by  Justin Kromlinger (hashworks)
Thursday, 03 August 2023, 11:42 GMT
Reason for closing:  Upstream
Additional comments about closing:  https://github.com/grazzolini/mkinitcpio -netconf/issues/20
Comment by Justin Kromlinger (hashworks) - Sunday, 09 July 2023, 11:31 GMT
Attaching the linked dmesg logs just in case.
Comment by loqs (loqs) - Sunday, 09 July 2023, 13:40 GMT
Is the iwlwifi failing to load firmware attempted in the initrd? If so please try downgrading linux-firmware to 20230625.ee91452d-3 and provide details of how the initrd is generated.
If it is after the switch root from the initrd please post the full dmesg output.
Comment by Paul Simon (alpinist) - Tuesday, 11 July 2023, 14:55 GMT
The same happens with Intel AC-3168NGW. Downgrade of linux-firmware package solves the problem.
Comment by loqs (loqs) - Tuesday, 11 July 2023, 15:09 GMT
> The same happens with Intel AC-3168NGW. Downgrade of linux-firmware package solves the problem.
Downgrade of linux-firmware to what version? Is the WiFi firmware loaded in the initrd? Please provide the full dmesg for a boot with the issue.
Comment by Paul Simon (alpinist) - Tuesday, 11 July 2023, 15:26 GMT
> Downgrade of linux-firmware to what version? Is the WiFi firmware loaded in the initrd? Please provide the full dmesg for a boot with the issue.
Downgrade to linux-firmware-20230625.ee91452d-3. Firmware fails to load after switch root.
   dmesg (72.3 KiB)
Comment by loqs (loqs) - Tuesday, 11 July 2023, 15:34 GMT
Does your custom kernel have CONFIG_FW_LOADER_COMPRESS_ZSTD enabled?
Comment by Paul Simon (alpinist) - Tuesday, 11 July 2023, 15:38 GMT
CONFIG_FW_LOADER_COMPRESS_ZSTD is not set...

But I didn't change this setting from the standard configuration.
Comment by Paul Simon (alpinist) - Tuesday, 11 July 2023, 15:46 GMT
Thanks for your help! This must be the cause.
Comment by loqs (loqs) - Tuesday, 11 July 2023, 15:48 GMT Comment by Justin Kromlinger (hashworks) - Sunday, 23 July 2023, 12:25 GMT
Sorry for the delay.

> Is the iwlwifi failing to load firmware attempted in the initrd

Yes:
dmesg-linux-6.3.9-until-root https://fb.hash.works/PJzQac2z/
dmesg-linux-6.4.2-until-root https://fb.hash.works/6tzCBjj/

> If so please try downgrading linux-firmware to 20230625.ee91452d-3

Same issue.

> provide details of how the initrd is generated

https://fb.hash.works/THPfa/
I noticed that I actually add two modules to make Wi-Fi work at all in 6.3.9: `MODULES=(iwlmvm iwldvm)`

Must be due to that... If I drop those in 6.4.2 iwlfifi fails to load the firmware as well.
Comment by Justin Kromlinger (hashworks) - Sunday, 23 July 2023, 12:25 GMT
I've adjusted the title and the severity.
Comment by loqs (loqs) - Sunday, 23 July 2023, 12:50 GMT
From modinfo iwlwifi
firmware: iwlwifi-QuZ-a0-hr-b0-78.ucode
While linux-firmware only supplies up to iwlwifi-QuZ-a0-hr-b0-77.ucode
My guess is mkinitcpio is not adding all the firmwares in the range iwlwifi-QuZ-a0-hr-b0-{39-78}.ucode as they are not listed in the modinfo output.
When you run mkinitcpio is there a warning about missing firmware for iwlwifi-QuZ-a0-hr-b0-78.ucode?
Comment by Justin Kromlinger (hashworks) - Thursday, 03 August 2023, 11:41 GMT
This was actually a bug with netconf. Closing.

https://github.com/grazzolini/mkinitcpio-netconf/issues/20

Loading...