Bug 1977295 - Intel AX201 not recognized by iwlwifi
Summary: Intel AX201 not recognized by iwlwifi
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 34
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-29 12:25 UTC by TGP
Modified: 2021-08-04 22:06 UTC (History)
22 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-26 13:30:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
dmesg (37.91 KB, application/gzip)
2021-06-29 12:30 UTC, TGP
no flags Details

Description TGP 2021-06-29 12:25:09 UTC
1. Please describe the problem: Wifi Intel AX201 not recognized by iwlwifi in either 5.11.12 (default install) nor 5.12.12, nor 5.12.13 (from testing). On 5.12.13, lshw -C network output:

 *-network UNCLAIMED       
       description: Network controller
       product: Wi-Fi 6 AX201
       vendor: Intel Corporation
       physical id: 14.3
       bus info: pci@0000:00:14.3
       version: 20
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix cap_list
       configuration: latency=0
       resources: memory:51254000-51257fff

dmesg |grep iwl output:
[   10.466548] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[   10.472137] iwlwifi: No config found for PCI dev a0f0/6074, rev=0x354, rfid=0x10a100
[   10.472802] iwlwifi: probe of 0000:00:14.3 failed with error -22

Downloaded the latest firmware files from git, no joy:

iwlwifi-cc-a0-63.ucode.xz
iwlwifi-qu-48.13675109.0.tgz
iwlwifi-Qu-b0-hr-b0-63.ucode.xz
iwlwifi-Qu-b0-jf-b0-63.ucode.xz
iwlwifi-Qu-c0-hr-b0-63.ucode.xz
iwlwifi-Qu-c0-jf-b0-63.ucode.xz
iwlwifi-QuZ-a0-hr-b0-63.ucode.xz
iwlwifi-QuZ-a0-jf-b0-63.ucode.xz
iwlwifi-ty-a0-gf-a0-63.ucode.xz

ANy help highly appreciated.

Wifi works OK while booted in Windows 10. This is a Samsung Galaxy Book Flex2 Alpha. Please let me know if there is anything else I can provide.

Thank you
Tudor

Linux-firmware package: linux-firmware-20210511-120.fc34.noarch

2. What is the Version-Release number of the kernel: Linux fedora 5.12.13-300.fc34.x86_64


3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 : N/A - brand new install


4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below: Always, just booting the system and running dmesg|grep iwl shows the same message as above. On kernel 5.11.12 iwlwifi complaints about direct firmware load error:


Jun 29 08:03:44 fedora kernel: iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
Jun 29 08:03:44 fedora kernel: iwlwifi 0000:00:14.3: Direct firmware load for (efault)128.ucode failed with error -2
Jun 29 08:03:44 fedora kernel: iwlwifi 0000:00:14.3: Direct firmware load for (efault)127.ucode failed with error -2
Jun 29 08:03:44 fedora kernel: iwlwifi 0000:00:14.3: Direct firmware load for (efault)126.ucode failed with error -2
Jun 29 08:03:44 fedora kernel: iwlwifi 0000:00:14.3: Direct firmware load for (efault)125.ucode failed with error -2
Jun 29 08:03:44 fedora kernel: iwlwifi 0000:00:14.3: Direct firmware load for (efault)124.ucode failed with error -2
Jun 29 08:03:44 fedora kernel: iwlwifi 0000:00:14.3: Direct firmware load for (efault)123.ucode failed with error -2
Jun 29 08:03:44 fedora kernel: iwlwifi 0000:00:14.3: Direct firmware load for (efault)122.ucode failed with error -2
Jun 29 08:03:44 fedora kernel: iwlwifi 0000:00:14.3: Direct firmware load for (efault)121.ucode failed with error -2
Jun 29 08:03:44 fedora kernel: iwlwifi 0000:00:14.3: Direct firmware load for (efault)120.ucode failed with error -2
[......]
Jun 29 08:03:44 fedora kernel: iwlwifi 0000:00:14.3: Direct firmware load for (efault)0.ucode failed with error -2
Jun 29 08:03:44 fedora kernel: iwlwifi 0000:00:14.3: no suitable firmware found!
Jun 29 08:03:44 fedora kernel: iwlwifi 0000:00:14.3: minimum version required: (efault)0
Jun 29 08:03:44 fedora kernel: iwlwifi 0000:00:14.3: maximum version supported: (efault)128
Jun 29 08:03:44 fedora kernel: iwlwifi 0000:00:14.3: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git



5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``:


6. Are you running any modules that not shipped with directly Fedora's kernel?:


7. Please attach the kernel logs. You can get the complete kernel log
   for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the
   issue occurred on a previous boot, use the journalctl ``-b`` flag.

Comment 1 TGP 2021-06-29 12:29:31 UTC
Sorry, missed questions 5-7, please see below

5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``: yes 5.12.13 from testing

6. Are you running any modules that not shipped with directly Fedora's kernel?: no


7. Please attach the kernel logs. You can get the complete kernel log
   for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the
   issue occurred on a previous boot, use the journalctl ``-b`` flag. Attached both 5.11.12 boot and 5.12.13 boot, concatenated in one file.

I hope this helps. Thanks once again !

Comment 2 TGP 2021-06-29 12:30:37 UTC
Created attachment 1795766 [details]
dmesg

Comment 3 TGP 2021-06-30 15:20:25 UTC
Installed kernel 5.13.0 from rawhide, same story as with 5.12.13, dmesg reports:

[   10.991666] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[   10.993764] iwlwifi: No config found for PCI dev a0f0/6074, rev=0x354, rfid=0x10a100
[   10.994802] iwlwifi: probe of 0000:00:14.3 failed with error -22


and lshw -C network:

 *-network UNCLAIMED       
       description: Network controller
       product: Wi-Fi 6 AX201
       vendor: Intel Corporation
       physical id: 14.3
       bus info: pci@0000:00:14.3
       version: 20
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix cap_list
       configuration: latency=0
       resources: memory:51254000-51257fff

Comment 4 TGP 2021-07-01 03:41:04 UTC
Looked at the kernel 5.12.13 source, specifically drivers/net/wireless/intel/iwlwifi/pcie/drv.c and it seems like the PCI ID a0f0/6074 is missing, added below for a diff:

557d556
<       IWL_DEV_INFO(0xA0F0, 0x6074, iwl_ax201_cfg_qu_hr, NULL),

Could this be the issue here ? Tried to rebuild the kernel package but ran out of disk space, loading the new module just like that doesn't work since it is not signed. Thoughts ?
Thanks,
Tudor

Comment 5 Justin M. Forbes 2021-07-01 12:32:49 UTC
(In reply to TGP from comment #4)
> Looked at the kernel 5.12.13 source, specifically
> drivers/net/wireless/intel/iwlwifi/pcie/drv.c and it seems like the PCI ID
> a0f0/6074 is missing, added below for a diff:
> 
> 557d556
> <       IWL_DEV_INFO(0xA0F0, 0x6074, iwl_ax201_cfg_qu_hr, NULL),
> 
> Could this be the issue here ? Tried to rebuild the kernel package but ran
> out of disk space, loading the new module just like that doesn't work since
> it is not signed. Thoughts ?


That might make it work, it may not. This is very new hardware, and no one has ever bothered to get a patch to support it upstream. Let me see what I can find on it.

Comment 6 TGP 2021-07-01 12:49:57 UTC
(In reply to Justin M. Forbes from comment #5)
> (In reply to TGP from comment #4)
> > Looked at the kernel 5.12.13 source, specifically
> > drivers/net/wireless/intel/iwlwifi/pcie/drv.c and it seems like the PCI ID
> > a0f0/6074 is missing, added below for a diff:
> > 
> > 557d556
> > <       IWL_DEV_INFO(0xA0F0, 0x6074, iwl_ax201_cfg_qu_hr, NULL),
> > 
> > Could this be the issue here ? Tried to rebuild the kernel package but ran
> > out of disk space, loading the new module just like that doesn't work since
> > it is not signed. Thoughts ?
> 
> 
> That might make it work, it may not. This is very new hardware, and no one
> has ever bothered to get a patch to support it upstream. Let me see what I
> can find on it.

Thanks a bunch, please let me know if there's something I can do, I'd be happy to help. By any chance, can anyone somehow insert that line in the dev.c, compile the kernel and send me the signed module so I can try it out ?
Thanks,
Tudor

Comment 7 Justin M. Forbes 2021-07-02 18:48:04 UTC
Want to give the scratch build at https://koji.fedoraproject.org/koji/taskinfo?taskID=71200832 a try?  you can download it from there, or create a temp directory and 'koji download-task 71200838; sudo dnf update *.rpm'  Let me know if that works for you.

Comment 8 TGP 2021-07-02 19:24:20 UTC
Yes Sir ! That did it, thank you ! Installed the new kernel (which btw is not signed, I had to disable the secureboot) and now I have wifi - I am writing this through that connection. Performed some speed tests and they look good, pretty much in line w/ the other computers on the same wifi infrastructure. Here's what dmesg says:

[   10.526022] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[   10.570406] iwlwifi 0000:00:14.3: api flags index 2 larger than supported by driver
[   10.570423] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37
[   10.570639] iwlwifi 0000:00:14.3: loaded firmware version 62.49eeb572.0 QuZ-a0-hr-b0-62.ucode op_mode iwlmvm
[   10.700555] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX201 160MHz, REV=0x354
[   10.887672] iwlwifi 0000:00:14.3: base HW address: e0:**:**:**:**:**
[   10.900694] iwlwifi 0000:00:14.3: iwlmvm doesn't allow to disable BT Coex, check bt_coex_active module parameter
[   10.908112] iwlwifi 0000:00:14.3 wlo1: renamed from wlan0

And lshw -C net:

  *-network                 
       description: Wireless interface
       product: Wi-Fi 6 AX201
       vendor: Intel Corporation
       physical id: 14.3
       bus info: pci@0000:00:14.3
       logical name: wlo1
       version: 20
       serial: e0:**:**:**:**:**
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=5.12.14-300.fc34.x86_64 firmware=62.49eeb572.0 QuZ-a0-hr-b0-62.u ip=192.168.11.120 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:16 memory:51254000-51257fff


Thanks once again for the help. I'll keep you posted of any changes, like slowdowns, interruptions, disconnects etc., hopefully it'll not be the case. Do you know when it reaches mainline kernels ?
Thanks,
Tudor

Comment 9 Justin M. Forbes 2021-07-02 22:34:01 UTC
I had to make sure it worked first. Will submit it upstream, and can add it to official Fedora kernels once it gets merged into the maintainer tree. Sorry, I can't secureboot sign scratch builds, but I will update this ticket when I bring the patch into a real kernel.

Comment 10 TGP 2021-07-02 22:43:07 UTC
Awesome ! Thank you !

Comment 11 TGP 2021-07-06 14:44:58 UTC
Still going strong w/ AX201, speed OK, on par w/ speeds on windows, no crashes, no weird messages about the driver. FYI, status update. Thanks again !

Comment 12 TGP 2021-07-10 15:16:25 UTC
Looks like the patch didn't make it yet to 5.12.15 kernel, which is in testing now. Any news on that ?
Thanks,
Tudor

Comment 13 TGP 2021-07-16 13:43:52 UTC
I can confirm that the patch didn't make it to official 5.12.15. Saw that 5.12.17 is in testing now and it doesn't have the patch either... Any news there ?
Thanks !

Comment 14 TGP 2021-07-21 18:10:55 UTC
Hello,
Any news on this? Looks like the newest released kernel 5.12.17 does not include the patch either, iwlwifi is not working.
Thanks,
Tudor

Comment 15 TGP 2021-07-22 20:25:28 UTC
Hello, 
Kernel 5.13.4 went through but it still doesn't have the patch. Any progress there ? Sorry to be a pest....
Thanks,
Tudor

Comment 16 GPXAFV 2021-07-22 20:47:12 UTC
See the patch that Justin submitted here:

 https://patchwork.kernel.org/project/linux-wireless/patch/20210702223155.1981510-1-jforbes@fedoraproject.org/

for updates.

Note it still has to be reviewed and looks like there is a backlog on linux wireless patches going back to mid June. So might be some time yet before it is integrated in new kernel versions going forward.

Also just to add to the discussion, the same change worked for me with this laptop on Ubuntu 21.04.

Comment 17 Justin M. Forbes 2021-07-22 22:23:16 UTC
Yup, no news either way from upstream. As I said, I will update this ticket when I receive some. Until then, expect kernel updates do not contain this patch. A lot of developers take vacation in the summer, and we end up with various backlogs.

Comment 18 Justin M. Forbes 2021-07-26 13:30:45 UTC
Of note, I still have not heard anything, but given the nature of the patch, I have gone ahead and included it in the 5.13 tree. It is in the 5.13.5 build and should be in newer builds. I am going to close out this bug, but please reopen if the driver disappears in 5.14 rebases, as that means it didn't get picked up upstream, and I need to follow up.

Comment 19 TGP 2021-07-26 19:13:20 UTC
Awesome ! Thanks ! I'll update if issues arise.
Thanks,
Tudor

Comment 20 TGP 2021-07-29 19:15:41 UTC
I can confirm that 5.13.5 has the patch and it works on my laptop. Thanks a lot for the work on this, highly appreciated !
All the best and regards,
Tudor

Comment 21 BogdanTheGeek 2021-08-04 21:53:59 UTC
I am on Linux 5.13.6-200.fc34.x86_64 #1 SMP Wed Jul 28 15:31:21 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
And I seem to have the same issue, same symptoms at least. Wifi card works on other distros.

```
~>lshw -C network
  *-network UNCLAIMED
       description: Network controller
       product: Dual Band Wireless-AC 3168NGW [Stone Peak]
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:26:00.0
       version: 10
       width: 64 bits
       clock: 33MHz
       capabilities: cap_list
       configuration: latency=0
       resources: memory:f7500000-f7501fff
```
Wifi has been flaky lately and soon after upgrading to F34 it broke, USB dongles don't work either.

Comment 22 BogdanTheGeek 2021-08-04 22:06:09 UTC
I have just updated to 5.14.0-0.rc4.36.fc35.x86_64 from rawhide but it still doesn't work

Comment 23 BogdanTheGeek 2021-08-04 22:06:25 UTC
I have just updated to 5.14.0-0.rc4.36.fc35.x86_64 from rawhide but it still doesn't work


Note You need to log in before you can comment on or make changes to this bug.