You are not logged in.

#1 2019-12-12 05:24:51

antikythera
Member
Registered: 2019-12-12
Posts: 4

iwlwifi attempting to load incorrect (newer AX) drivers Intel AC 9560

I've installed arch a few times, but mainly use Ubuntu. I'm looking to make the switch permanently with my new machine. Ubuntu works out of the box. lspci, etc all show it as a 9560.

So, I've installed everything and it all seems to be working well, except wifi.

I have linux-firmware and have tried linux-firmware-git, but when I run: dmesg | grep 'iwlwifi' it returns that it's attempting to load: iwlwifi-Qu-xx-xx-xx, which is the incorrect driver for the 9560. This is the newer driver for the Intel AX200/WIFI 6 adapters.

How do I manually redirect it to the iwlwifi-9000-xx-xx-xx-xx/iwlwifi-9260-xx-xx-xx-xx drivers?

They are the correct drivers as seen here: https://github.com/torvalds/linux/blob/ … cfg/9000.c

relevant excerpt:

const struct iwl_cfg iwl9560_2ac_cfg = {
    .name = "Intel(R) Dual Band Wireless AC 9560",
    .fw_name_pre = IWL9260_FW_PRE,
    IWL_DEVICE_9000,
};

const struct iwl_cfg iwl9560_2ac_160_cfg = {
    .name = "Intel(R) Wireless-AC 9560 160MHz",
    .fw_name_pre = IWL9260_FW_PRE,
    IWL_DEVICE_9000,
};

const struct iwl_cfg iwl9560_2ac_cfg_soc = {
    .name = "Intel(R) Dual Band Wireless AC 9560",
    .fw_name_pre = IWL9000_FW_PRE,
    IWL_DEVICE_9000,
    .integrated = true,
    .soc_latency = 5000,
};

const struct iwl_cfg iwl9560_2ac_160_cfg_soc = {
    .name = "Intel(R) Wireless-AC 9560 160MHz",
    .fw_name_pre = IWL9000_FW_PRE,
    IWL_DEVICE_9000,
    .integrated = true,
    .soc_latency = 5000,

I think part of the problem might be because I have an X1 Carbon Gen 7 with the 10th gen Intel chip, but a non-wifi 6 card. Afaik it's the only laptop that has 10th gen CPU with an older wifi adapter.

Not sure though.

Basically I'm trying to figure out how to change the iwlwifi module to look for and load the correct driver. I've tried moving the Qu (AX) drivers to see if it'd fallback on the correct driver, but it returns:

minimum version required: iwlwifi-Qu-b0-jf-b0-39

maximum version supported: iwlwifi-Qu-b0-jf-b0-50

Not sure why what is pointing to grab these drivers, but if I could find and change it, I'm thinking this will be an easy fix.

Thanks for your time.

Last edited by antikythera (2019-12-12 05:25:39)

Offline

#2 2019-12-12 11:03:43

loqs
Member
Registered: 2014-03-06
Posts: 18,078

Re: iwlwifi attempting to load incorrect (newer AX) drivers Intel AC 9560

Please post the output of the following:

dmesg
lspci -nnk

Offline

#3 2019-12-12 19:16:01

antikythera
Member
Registered: 2019-12-12
Posts: 4

Re: iwlwifi attempting to load incorrect (newer AX) drivers Intel AC 9560

https://imgur.com/a/Zn274Cd

Not sure why it detects 9462, ubuntu, Windows, arch live usb and manufacturer spec sheet all show 9560. Regardless it’s loading the wrong driver.

Ty for the help. I’ve sorted through all of the logs I could find already and it doesn’t even make an attempt at loading the correct driver but instead the AX series ones.

Offline

#4 2019-12-12 19:32:36

loqs
Member
Registered: 2014-03-06
Posts: 18,078

Re: iwlwifi attempting to load incorrect (newer AX) drivers Intel AC 9560

Please use code tags and do not paste images of text.  In the following commit
https://github.com/torvalds/linux/commi … d70e0dd269

 	{IWL_PCI_DEVICE(0x02F0, 0x0030, iwl9560_2ac_160_cfg_quz_a0_jf_b0_soc)},

is changed to

 	{IWL_PCI_DEVICE(0x02F0, 0x0030, iwl9560_2ac_160_cfg_qu_b0_jf_b0)},

Edit:
See also https://bugs.archlinux.org/task/64703

Last edited by loqs (2019-12-12 19:42:29)

Offline

#5 2019-12-12 20:02:31

antikythera
Member
Registered: 2019-12-12
Posts: 4

Re: iwlwifi attempting to load incorrect (newer AX) drivers Intel AC 9560

I normally would just copy paste and use code tags but I don’t have Internet on that device, so not sure of a better way to do that, as I wasn’t going to hand type all of that out.

In that bug report thread, someone with an x1c7 with 9560 said 5.4.x isn’t working but 5.3.x is.

AcidicX is having the same issue I am. lspci is seeing intel 9462 instead of 9560. It’s also attempting to load intel-Qu-xx-xx-xx drivers instead of intel-9000 series drivers.

I can attest to no issues under 5.3.13 as that’s what the live usb is running and it has no issues pairing the correct firmware and initializing the device upon boot.

Seems still no “true” fix yet. I’ll just install 5.3.13 and test.

Thank you for pointing me to that thread. I’ll keep up with it.

Last edited by antikythera (2019-12-12 20:07:05)

Offline

#6 2019-12-12 20:09:59

dglt
Member
Registered: 2019-08-14
Posts: 82

Re: iwlwifi attempting to load incorrect (newer AX) drivers Intel AC 9560

5.4 and iwlwifi have problems as mentioned in the other 5.4/iwlwifi threads and the above linked bug report,  linux-zen 5.4 is the same way. use linux-lts for now

Offline

#7 2019-12-12 21:20:10

loqs
Member
Registered: 2014-03-06
Posts: 18,078

Re: iwlwifi attempting to load incorrect (newer AX) drivers Intel AC 9560

You could try 5.5.-rc1 or revert the commit I suggested or bisect 5.4 to 5.5 while waiting for a response to the opened upstream bug reports.

Offline

#8 2019-12-13 07:38:44

antikythera
Member
Registered: 2019-12-12
Posts: 4

Re: iwlwifi attempting to load incorrect (newer AX) drivers Intel AC 9560

Okay, so I tried the LTS kernel and I get a different error now.

Failed to load firmware chunk!
iwlwifi transaction failed, dumping registers
iwlwifi device config registers:
00000000: 02f08086 00100406 02800000 00800000 ea238004 00000000 00000000 00000000
00000020: 0000000 00000000 00000000 00308086 00000000 000000c8 00000000 000001ff
iwlwifi device memory mapped registers:
00000000: 00489004 00000040 00000000 00000000 000000000 00000000 00000000 00000000
00000020: 00000011 0c040005 00000351 d55555d5 d55555d5 d55555d5 80008040 001f0040
could not load the [0] uCode section
Failed to start INIT ucode: -110
Failing on timeout while stopping DMA channel 8 [0x0bad1122]
Failed to run INIT ucode: -110

Didn't have a ton of time for testing tonight, will try more tomorrow.

Last edited by antikythera (2019-12-13 07:39:57)

Offline

Board footer

Powered by FluxBB