Summary: | sys-kernel/linux-firmware-20210315 breaks AX210 Wifi when using <linux-5.12 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rodrigo Saboya <saboya> |
Component: | Current packages | Assignee: | Chí-Thanh Christopher Nguyễn <chithanh> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | ionen, kernel, kilgorephotoshop, zerochaos |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | https://bugs.archlinux.org/task/70071 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Rodrigo Saboya
2021-03-19 21:24:33 UTC
Please add information about used kernel version. Kernel version used: 5.11.7-r1 The shown dmesg output is identical and is showing same firmware file/version. *** Bug 777342 has been marked as a duplicate of this bug. *** Well I don't disagree with you, I'm just reporting exactly what is happenning. I just emerged linux-firmware-20210315 again to confirm, and here it is: [ 3.731269] iwlwifi 0000:07:00.0: api flags index 2 larger than supported by driver [ 3.731295] iwlwifi 0000:07:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 93.8.63.28 [ 3.731603] iwlwifi 0000:07:00.0: loaded firmware version 59.601f3a66.0 ty-a0-gf-a0-59.ucode op_mode iwlmvm [ 3.748599] iwlwifi 0000:07:00.0: Detected Intel(R) Wi-Fi 6 AX210 160MHz, REV=0x420 [ 3.909133] iwlwifi 0000:07:00.0: loaded PNVM version 0x324cd670 [ 4.010747] iwlwifi 0000:07:00.0: Timeout waiting for PNVM load! [ 4.010754] iwlwifi 0000:07:00.0: Failed to start RT ucode: -110 [ 4.010759] iwlwifi 0000:07:00.0: iwl_trans_send_cmd bad state = 1 [ 4.214074] iwlwifi 0000:07:00.0: firmware didn't ACK the reset - continue anyway [ 4.226635] iwlwifi 0000:07:00.0: Failed to run INIT ucode: -110 Not sure if the PNVM file is faulty for this particular wifi adapter or not, if it's only compatible with the latest version (which, for some reason, is not being selected, which should be the 62.ucode merged recently). Relevant commit in linux-firmware between the working / non-working versions: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=5a2fd63596125d4ed5ac65614b1811b2d4a68536 So yeah, that's the issue. The same update that updated the fw version to 62 also introduced a PNVM file. That PNVM file is searched for and loaded in case it's found. However, apparently it only works with the new 62 version firmware. And I can confirm this because I manually bumped the max version in the kernel (like this commit, in 5.12): https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/net/wireless/intel/iwlwifi/cfg/22000.c?id=000735e5dbbb739ca3742413858c1d9cac899e10 And now it works with the latest linux-firmware-20210315: [ 3.162237] iwlwifi 0000:07:00.0: api flags index 2 larger than supported by driver [ 3.162271] iwlwifi 0000:07:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.59.2.22 [ 3.162579] iwlwifi 0000:07:00.0: loaded firmware version 62.49eeb572.0 ty-a0-gf-a0-62.ucode op_mode iwlmvm [ 3.181070] iwlwifi 0000:07:00.0: Detected Intel(R) Wi-Fi 6 AX210 160MHz, REV=0x420 [ 3.338164] iwlwifi 0000:07:00.0: loaded PNVM version 0x324cd670 [ 3.417160] iwlwifi 0000:07:00.0: base HW address: d8:f8:83:35:ea:bc [ 3.448157] iwlwifi 0000:07:00.0 wlp7s0: renamed from wlan0 Thank you for your report and your analysis! But please read bug 704084 comment #3. There is really nothing we can do for you. Masking the new version would be problematic for those running latest versions. I understand. The bug report is probably useful for people bumping into the same issue. I can deal with it locally just fine. Can't the patch that I linked (bumping IWL_22000_UCODE_API_MAX) be backported from 5.12 at least? Please ping Intel maintainer/linux-stable mailing list and ask for this. It's possible that the new firmware will also require additional driver changes which are not present in previous kernel version. Same problem here on my AX210. An easy fix for this right now can be to just build-in the firmware for the ax210 into your kernel. |