Bug 28589

Summary: Intel AX210NGW wireless stopped working
Product: Mageia Reporter: Muhammad Tailounie <mageia>
Component: RPM PackagesAssignee: Kernel and Drivers maintainers <kernel>
Status: NEW --- QA Contact:
Severity: major    
Priority: High CC: ouaurelien
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
See Also: https://bugzilla.kernel.org/show_bug.cgi?id=212371
Whiteboard:
Source RPM: iwlwifi-firmware-20210310-1.mga8.nonfree CVE:
Status comment:
Attachments: Working iwlwifi boot dmesg
dmesg on the non-working boot

Description Muhammad Tailounie 2021-03-12 09:05:28 CET
Hi;

Updating my Mageia 8 Plasma 64-bit this morning, got me iwlwifi-firmware-20201230-2.mga8.nonfree installed. I had to reboot for systemd update too.

After rebooting the card is not shown in the system at all.

the ip command shows this:

# ip -c l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 9c:5c:8e:17:3d:6e brd ff:ff:ff:ff:ff:ff
3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
    link/ether 52:54:00:a5:89:c0 brd ff:ff:ff:ff:ff:ff

The lspci command with respect to this card is:

# lspci | grep 2725
02:00.0 Network controller: Intel Corporation Device 2725 (rev 1a)

Hope to find a solution soon :)
Muhammad Tailounie 2021-03-12 09:07:28 CET

Priority: Normal => High

Comment 1 Aurelien Oudelet 2021-03-12 09:13:45 CET
Hi, thanks reporting this.

I carefully read your bug report. I found a potential culprit:
iwlwifi-firmware-20201230-2.mga8.nonfree  <=== This is an outdated version.

On my system:
$ rpm -qa --last | grep iwlwifi
iwlwifi-firmware-20210310-1.mga8.nonfree.noarch

installed on
Thu Mar 11 09:13:23 2021

So, I don't understand why such difference on 2 mga8 systems. Does core/updates repo enabled and nonfree/updates ?

Make sure both repositories are enabled, also, try to switch to a fully updated mirror next you after seen https://mirrors.mageia.org/status and choose a strong green mirror with drakrpm-edit-media.

Finally, do as root urpmi --auto-update

CC: (none) => ouaurelien

Comment 2 Thomas Backlund 2021-03-12 09:19:12 CET
(In reply to Aurelien Oudelet from comment #1)
> Hi, thanks reporting this.
> 
> I carefully read your bug report. I found a potential culprit:
> iwlwifi-firmware-20201230-2.mga8.nonfree  <=== This is an outdated version.
> 
> On my system:
> $ rpm -qa --last | grep iwlwifi
> iwlwifi-firmware-20210310-1.mga8.nonfree.noarch
> 
> installed on
> Thu Mar 11 09:13:23 2021
> 
> So, I don't understand why such difference on 2 mga8 systems. Does
> core/updates repo enabled and nonfree/updates ?
> 

because you installed from testing, and it was only pushed to mirrors last night... so the mirror he's using probably did not get it yet...


but he should have atleast gotten the iwlwifi-firmware-20210223-1.mga8.nonfree already...
Comment 3 Muhammad Tailounie 2021-03-12 09:31:18 CET
Thank you for the hint;

I have updated the package:

$ rpm -qa --last | grep iwlwifi
iwlwifi-firmware-20210310-1.mga8.nonfree.noarch Fri 12 Mar 2021 09:23:12 AM

SO I suppose, I got the latest one now.

After reboot I still have the same problem.

The card does not figure in the system!
Comment 4 Muhammad Tailounie 2021-03-12 09:38:58 CET
I downgraded again to version iwlwifi-firmware-20201230-2.mga8

$ rpm -qa --last | grep iwlwifi
iwlwifi-firmware-20201230-2.mga8.nonfree.noarch Fri 12 Mar 2021 09:34:09 AM

After reboot, the card is working again :))

Weird, But I am going to keep checking newer versions of this package.
Comment 5 Muhammad Tailounie 2021-03-12 09:48:09 CET
Created attachment 12455 [details]
Working iwlwifi boot dmesg

The dmesg dump when booting the original release iwlwifi-firmware package
Comment 6 Muhammad Tailounie 2021-03-12 09:49:54 CET
Created attachment 12456 [details]
dmesg on the non-working boot

Dump of dmesg with the latest update of iwlwifi-firmware packge. Not detecting the card at all.
Comment 7 Aurelien Oudelet 2021-03-12 11:09:54 CET
Thanks,

Assigning to Kernel and Drivers maintainers.

Source RPM: iwlwifi-firmware-20201230-2.mga8.nonfree => iwlwifi-firmware-20210310-1.mga8.nonfree
Assignee: bugsquad => kernel

Comment 8 Thomas Backlund 2021-03-12 15:06:49 CET
(In reply to Muhammad Tailounie from comment #5)
> Created attachment 12455 [details]
> Working iwlwifi boot dmesg
> 
> The dmesg dump when booting the original release iwlwifi-firmware package

so this is loading firmware:
iwlwifi 0000:02:00.0: loaded firmware version 59.601f3a66.0 ty-a0-gf-a0-59.ucode op_mode iwlmvm



(In reply to Muhammad Tailounie from comment #6)
> Created attachment 12456 [details]
> dmesg on the non-working boot
> 
> Dump of dmesg with the latest update of iwlwifi-firmware packge. Not
> detecting the card at all.

same firmware loaded:
iwlwifi 0000:02:00.0: loaded firmware version 59.601f3a66.0 ty-a0-gf-a0-59.ucode op_mode iwlmvm

but now it fails:
iwlwifi 0000:02:00.0: loaded PNVM version 0x324cd670
iwlwifi 0000:02:00.0: Timeout waiting for PNVM load!
iwlwifi 0000:02:00.0: Failed to start RT ucode: -110
iwlwifi 0000:02:00.0: iwl_trans_send_cmd bad state = 0
iwlwifi 0000:02:00.0: Failed to run INIT ucode: -110


and both times on same kernel... so there is a subtle issue here...

One thing comes to mind... this has sometimes been an issue... dirt...

if you remove the card, and clean the connectors and reinstall the card, does it work better ?
Comment 9 Muhammad Tailounie 2021-03-12 15:38:09 CET
I installed the card more than a month ago and never disassembelled the laptop again. (I do not wish to do it actually :) )

But since it works with the older release of the package and on Windows, I cannot assume that there is a dirt issue now.

How probable is that?
Comment 10 Muhammad Tailounie 2021-03-12 15:39:44 CET
If you think it could be the issue, I'll try to disassemble the laptop tonight.
Comment 11 Thomas Backlund 2021-03-12 15:56:44 CET
an other thing you could test first...


if there is any "wake on lan" or "wake on wlan" in bios, try to disable it.
It could be the bit preventing it to power down completely / properly reset itself...

and as I pointed out in comment 8, it's the _same_ firmware both when it works and when it fails...

as for "working on windows" the bios is built for windows support, and the windows drivers might have more Intel "quirks/workarounds" builtin than has been applied to linus kernels yet...
Comment 12 Muhammad Tailounie 2021-03-12 16:59:31 CET
The only option in the BIOS related to wireless is lock/unlock it. When locked, the operating system does not see the card.
Comment 13 Thomas Backlund 2021-03-21 09:18:50 CET
looks like it happends for some users on other distros too... let's see if Intel guys can figure this one out

See Also: (none) => https://bugzilla.kernel.org/show_bug.cgi?id=212371

Comment 14 Muhammad Tailounie 2021-03-21 16:18:34 CET
Today at the end I could reinstall it. SO I can confirm that it is not related to dirt or anything like that.

It is simply strange that the newer version would not work and the older one only loads after rebooting Windows first due to bluetooth, as far a I can see.

Hopefully Intel shall solve it soon.
Comment 15 Thomas Backlund 2021-03-24 17:32:49 CET
if you remove this file:

/lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm

and reboot... does it work then ?
Comment 16 Muhammad Tailounie 2021-03-24 21:02:16 CET
(In reply to Thomas Backlund from comment #15)
> if you remove this file:
> 
> /lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm
> 
> and reboot... does it work then ?

Well yes :)

Brilliant, thanks :)
Comment 17 Muhammad Tailounie 2021-03-24 21:06:42 CET
Still, however, I need to boot windows first then reboot Mageia. Otherwise the bluetooth problem will make the boot process impossible.
Comment 18 Muhammad Tailounie 2021-04-23 17:43:50 CEST
Might be good news;

The 21.04 Ubuntu family running kernel 5.11 recognises the card correctly. WIFI and BT are working perfectly.

Might be a good sign for the next kernel update in Mageia. :)