Arch Linux

Please read this before reporting a bug:

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!

FS#77563 - iwlwifi searches iwlwifi-so-a0-gf-a0-39.ucode, but it's not there

Attached to Project: Arch Linux
Opened by stephan44 (stephan44) - Saturday, 18 February 2023, 12:27 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 18 February 2023, 15:25 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


iwlwifi searches for iwlwifi-so-a0-gf-a0-39.ucode but /lib/firmware contains no such file.

$ iwconfig
lo no wireless extensions.

$ sudo dmesg -H
[ +0.001308] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-66.ucode failed with error -2
[..... all numbers between 39 and 66......]
[ +0.000021] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-39.ucode failed with error -2
[ +0.000003] iwlwifi 0000:00:14.3: no suitable firmware found!
[ +0.000001] iwlwifi 0000:00:14.3: minimum version required: iwlwifi-so-a0-gf-a0-39
[ +0.000002] iwlwifi 0000:00:14.3: maximum version supported: iwlwifi-so-a0-gf-a0-66
[ +0.000002] iwlwifi 0000:00:14.3: check git://

$ uname -a
Linux G17 5.15.94-1-lts #1 SMP Wed, 15 Feb 2023 07:09:02 +0000 x86_64 GNU/Linux

Longer explanation:
Laptop is LG Gram 17Z90Q. Wifi is Intel AX210/AX211/AX411. I'm using linux-lts, otherwise I have cpu load issues.
Based on my research all files in /lib/firmware/*iwlwifi* are from package linux-firmware. I've spent some time checking previous versions of the package and I couldn't find iwlwifi-so-a0-gf-a0-39.ucode in any versions. wifi seemed to work before last update (I don't know what updated (linux-lts or linux-firmware)). If I boot to non-lts kernel (6.x something), wifi works, but my cpu issues persist.

$ lspci -nnk | grep 0280 -A2
00:14.3 Network controller [0280]: Intel Corporation Alder Lake-P PCH CNVi WiFi [8086:51f0] (rev 01)
Subsystem: Intel Corporation Wi-Fi 6E AX211 160MHz [8086:0094]
Kernel modules: iwlwifi

This is the closest stackoverflow link I could find:

What other information can I provide to progress the investigation?
How can I ascertain which wifi chip I'm using? Which is the correct ucode for my card?
Is the kernel misrecognizing the wifi card and searching for the wrong ucode or is the kernel correct and just the ucode is missing? If it's the second, where can I find the correct ucode files (aur?))
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Saturday, 18 February 2023, 15:25 GMT
Reason for closing:  Duplicate
Additional comments about closing:  FS#77561
Comment by stephan44 (stephan44) - Saturday, 18 February 2023, 12:51 GMT
How it looks when it's working with the newest kernel (6.1.12) (offtopic: massive cpu issues - no load, but cpu temp consistently 90°C):

$ uname -a
Linux G17 6.1.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 14 Feb 2023 22:08:08 +0000 x86_64 GNU/Linux

$ sudo dmesg -H | grep iwlwifi
[ +0.000173] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[ +0.030383] iwlwifi 0000:00:14.3: api flags index 2 larger than supported by driver
[ +0.000020] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version:
[ +0.005532] iwlwifi 0000:00:14.3: loaded firmware version 72.daa05125.0 so-a0-gf-a0-72.ucode op_mode iwlmvm
[ +0.022338] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6E AX211 160MHz, REV=0x370
[ +0.021889] iwlwifi 0000:00:14.3: loaded PNVM version 64acdc51
[ +0.011292] iwlwifi 0000:00:14.3: Detected RF GF, rfid=0x2010d000
[ +0.069734] iwlwifi 0000:00:14.3: base HW address: f8:9e:94:5b:7a:70

So I guess my card is AX211.

$ lspci -v
00:14.3 Network controller: Intel Corporation Alder Lake-P PCH CNVi WiFi (rev 01)
Subsystem: Intel Corporation Wi-Fi 6E AX211 160MHz
Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 11
Memory at 603d18c000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi

$ ls -la /lib/firmware/*so-a0-gf-a0-72*
-rw-r--r-- 1 root root 513956 Feb 16 17:55 /lib/firmware/iwlwifi-so-a0-gf-a0-72.ucode.xz

$ pacman -Qo /lib/firmware/iwlwifi-so-a0-gf-a0-72.ucode.xz
/usr/lib/firmware/iwlwifi-so-a0-gf-a0-72.ucode.xz is owned by linux-firmware 20230210.bf4115c-1

So this means iwlwifi-so-a0-gf-a0-72.ucode works with my card. I looked for an lts version of linux-firmware but couldn't find it.