FS#70071 - [linux-firmware] AX210 wifi card not working after last update

Attached to Project: Arch Linux
Opened by Térence Clastres (Terence) - Thursday, 18 March 2021, 22:42 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 13 May 2021, 08:23 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Laurent Carlier (lordheavy)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

After updating to the latest linux-firmware (20210208.b79d239-1), my AX210 wifi card no longer shows up.
Downgrading to 20210208.b79d239-1 makes it work again.

Logs after a modprobe of iwlwifi:

```
iwlwifi 0000:05:00.0: api flags index 2 larger than supported by driver
iwlwifi 0000:05:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 93.8.63.28
iwlwifi 0000:05:00.0: loaded firmware version 59.601f3a66.0 ty-a0-gf-a0-59.ucode op_mode iwlmvm
iwlwifi 0000:05:00.0: Detected Intel(R) Wi-Fi 6 AX210 160MHz, REV=0x420
iwlwifi 0000:05:00.0: loaded PNVM version 0x324cd670
iwlwifi 0000:05:00.0: Timeout waiting for PNVM load!
iwlwifi 0000:05:00.0: Failed to start RT ucode: -110
iwlwifi 0000:05:00.0: iwl_trans_send_cmd bad state = 1
iwlwifi 0000:05:00.0: firmware didn't ACK the reset - continue anyway
iwlwifi 0000:05:00.0: Failed to run INIT ucode: -110
```

This task depends upon

Closed by  Andreas Radke (AndyRTR)
Thursday, 13 May 2021, 08:23 GMT
Reason for closing:  Fixed
Comment by Celeste (Coelacanthus) - Sunday, 21 March 2021, 07:21 GMT
I ran into the same problem.

log with `grep iwlwifi` when it does not work
```
Mar 20 18:04:25 Coelacanthus kernel: iwlwifi 0000:07:00.0: api flags index 2 larger than supported by driver
Mar 20 18:04:25 Coelacanthus kernel: iwlwifi 0000:07:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 93.8.63.28
Mar 20 18:04:25 Coelacanthus kernel: iwlwifi 0000:07:00.0: loaded firmware version 59.601f3a66.0 ty-a0-gf-a0-59.ucode op_mode iwlmvm
Mar 20 18:04:25 Coelacanthus kernel: iwlwifi 0000:07:00.0: Detected Intel(R) Wi-Fi 6 AX210 160MHz, REV=0x420
Mar 20 18:04:25 Coelacanthus kernel: iwlwifi 0000:07:00.0: loaded PNVM version 0x324cd670
Mar 20 18:04:25 Coelacanthus kernel: iwlwifi 0000:07:00.0: Timeout waiting for PNVM load!
Mar 20 18:04:25 Coelacanthus kernel: iwlwifi 0000:07:00.0: Failed to start RT ucode: -110
Mar 20 18:04:25 Coelacanthus kernel: iwlwifi 0000:07:00.0: iwl_trans_send_cmd bad state = 1
Mar 20 18:04:25 Coelacanthus kernel: iwlwifi 0000:07:00.0: firmware didn't ACK the reset - continue anyway
Mar 20 18:04:25 Coelacanthus kernel: iwlwifi 0000:07:00.0: Failed to run INIT ucode: -110
```

log with `grep iwlwifi` when it works
```
[ 4.481198] iwlwifi 0000:07:00.0: api flags index 2 larger than supported by driver
[ 4.481213] iwlwifi 0000:07:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 93.8.63.28
[ 4.481453] iwlwifi 0000:07:00.0: loaded firmware version 59.601f3a66.0 ty-a0-gf-a0-59.ucode op_mode iwlmvm
[ 4.916660] iwlwifi 0000:07:00.0: Detected Intel(R) Wi-Fi 6 AX210 160MHz, REV=0x420
[ 5.132378] iwlwifi 0000:07:00.0: base HW address: fc:b3:bc:f0:fd:7f
[ 7.776090] iwlwifi 0000:07:00.0: Got NSS = 4 - trimming to 2
[ 2039.582945] iwlwifi 0000:07:00.0: Got NSS = 4 - trimming to 2
```
Comment by Celeste (Coelacanthus) - Monday, 22 March 2021, 04:36 GMT
I ran into the same problem.

log with `grep iwlwifi` when it does not work
```
Mar 20 18:04:25 Coelacanthus kernel: iwlwifi 0000:07:00.0: api flags index 2 larger than supported by driver
Mar 20 18:04:25 Coelacanthus kernel: iwlwifi 0000:07:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 93.8.63.28
Mar 20 18:04:25 Coelacanthus kernel: iwlwifi 0000:07:00.0: loaded firmware version 59.601f3a66.0 ty-a0-gf-a0-59.ucode op_mode iwlmvm
Mar 20 18:04:25 Coelacanthus kernel: iwlwifi 0000:07:00.0: Detected Intel(R) Wi-Fi 6 AX210 160MHz, REV=0x420
Mar 20 18:04:25 Coelacanthus kernel: iwlwifi 0000:07:00.0: loaded PNVM version 0x324cd670
Mar 20 18:04:25 Coelacanthus kernel: iwlwifi 0000:07:00.0: Timeout waiting for PNVM load!
Mar 20 18:04:25 Coelacanthus kernel: iwlwifi 0000:07:00.0: Failed to start RT ucode: -110
Mar 20 18:04:25 Coelacanthus kernel: iwlwifi 0000:07:00.0: iwl_trans_send_cmd bad state = 1
Mar 20 18:04:25 Coelacanthus kernel: iwlwifi 0000:07:00.0: firmware didn't ACK the reset - continue anyway
Mar 20 18:04:25 Coelacanthus kernel: iwlwifi 0000:07:00.0: Failed to run INIT ucode: -110
```

log with `grep iwlwifi` when it works
```
[ 4.481198] iwlwifi 0000:07:00.0: api flags index 2 larger than supported by driver
[ 4.481213] iwlwifi 0000:07:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 93.8.63.28
[ 4.481453] iwlwifi 0000:07:00.0: loaded firmware version 59.601f3a66.0 ty-a0-gf-a0-59.ucode op_mode iwlmvm
[ 4.916660] iwlwifi 0000:07:00.0: Detected Intel(R) Wi-Fi 6 AX210 160MHz, REV=0x420
[ 5.132378] iwlwifi 0000:07:00.0: base HW address: fc:b3:bc:f0:fd:7f
[ 7.776090] iwlwifi 0000:07:00.0: Got NSS = 4 - trimming to 2
[ 2039.582945] iwlwifi 0000:07:00.0: Got NSS = 4 - trimming to 2
```
Comment by Laurent Carlier (lordheavy) - Monday, 22 March 2021, 15:16 GMT Comment by Laurent Carlier (lordheavy) - Monday, 26 April 2021, 11:47 GMT
Please check with linux-firmware-20210315.3568f96-3 in testing - firmware has been updated
Comment by Jay Ta'ala (j.taala) - Tuesday, 27 April 2021, 07:14 GMT
No joy - still the same issue and error output (as reporter and Coelacanthus) on linux-firmware-20210315.3568f96-3.
Comment by Térence Clastres (Terence) - Tuesday, 27 April 2021, 13:53 GMT
The loaded firmware version with 20210315.3568f96-3 is still the same after a reboot (59.601f3a66.0 ty-a0-gf-a0-59.ucode).

Has the firmware been updated but not the version or does it indicate the new firmware isn't used?
Comment by loqs (loqs) - Tuesday, 27 April 2021, 14:17 GMT
linux-firmware-20210315.3568f96-3 update the Bluetooth firmware for the AX210 and AX201.
ty-a0-gf-a0-59.ucode is the WiFi firmware.
Comment by Térence Clastres (Terence) - Tuesday, 27 April 2021, 14:20 GMT
Ah right so that's why it doesn't fix it.
Comment by metapy (metapy) - Wednesday, 28 April 2021, 02:37 GMT
Another simple workaround is to remove/rename /lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm file.
Apparently currently used firmware is not compatible with this PNVM:
https://bugs.gentoo.org/777324#c6

I tried both downgrading and renaming the offending file above. Both worked, but the file listed above is only present in the newest firmware. Just a heads up for those that prefer not to downgrade.
Comment by Jay Ta'ala (j.taala) - Friday, 07 May 2021, 08:20 GMT
My AX210 card now works without workarounds on kernel 5.12.1-2 using the latest linux-firmware (20210426.r1905.fa0efef-1).

Note I previously removed /lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm (which now works and is required for 5.12) so just reinstalled linux-firmware and everything worked as expected on reboot.
Comment by Térence Clastres (Terence) - Friday, 07 May 2021, 09:03 GMT
Yup it's working now!

New output:
iwlwifi 0000:05:00.0: enabling device (0000 -> 0002)
iwlwifi 0000:05:00.0: api flags index 2 larger than supported by driver
iwlwifi 0000:05:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.59.2.22
iwlwifi 0000:05:00.0: loaded firmware version 62.49eeb572.0 ty-a0-gf-a0-62.ucode op_mode iwlmvm
iwlwifi 0000:05:00.0: Detected Intel(R) Wi-Fi 6 AX210 160MHz, REV=0x420
iwlwifi 0000:05:00.0: loaded PNVM version 0x324cd670
iwlwifi 0000:05:00.0: base HW address: 8c:55:4a:fd:3b:99

Loading...