iwlwifi fails after suspend&resume (Failed to start RT ucode: -110)

Bug #1962471 reported by Julian Andres Klode
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
High
Unassigned

Bug Description

See attachments.

This is a regression from earlier kernel versions which worked fine, but I don't know at which point precisely it broke - with 5.15 perhaps? Laptop was running 24/7 mostly in the office, not a lot of suspend in there.

It's a ThinkPad T480s upgraded with an AX210 or AX211 (don't have concrete product number)

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-5.15.0-22-generic 5.15.0-22.22
ProcVersionSignature: Ubuntu 5.15.0-22.22-generic 5.15.19
Uname: Linux 5.15.0-22-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu78
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jak 7915 F.... wireplumber
 /dev/snd/seq: jak 7907 F.... pipewire
CasperMD5CheckResult: unknown
CurrentDesktop: GNOME
Date: Mon Feb 28 13:44:03 2022
HibernationDevice: RESUME=none
InstallationDate: Installed on 2018-03-14 (1446 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180313)
MachineType: LENOVO 20L8S02D00
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.15.0-22-generic root=/dev/mapper/ubuntu--vg-root ro rootflags=subvol=@ quiet splash vt.handoff=7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-22-generic N/A
 linux-backports-modules-5.15.0-22-generic N/A
 linux-firmware 20220217.git6342082c-0ubuntu3
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/11/2021
dmi.bios.release: 1.47
dmi.bios.vendor: LENOVO
dmi.bios.version: N22ET70W (1.47 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20L8S02D00
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.22
dmi.modalias: dmi:bvnLENOVO:bvrN22ET70W(1.47):bd08/11/2021:br1.47:efr1.22:svnLENOVO:pn20L8S02D00:pvrThinkPadT480s:rvnLENOVO:rn20L8S02D00:rvrNotDefined:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20L8_BU_Think_FM_ThinkPadT480s:
dmi.product.family: ThinkPad T480s
dmi.product.name: 20L8S02D00
dmi.product.sku: LENOVO_MT_20L8_BU_Think_FM_ThinkPad T480s
dmi.product.version: ThinkPad T480s
dmi.sys.vendor: LENOVO

Revision history for this message
Julian Andres Klode (juliank) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
description: updated
Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote (last edit ):

We have verified that the issue can be fixed with the Intel -67 iwlwifi firmware. Probably the firmware newer than -67 might have fix for it.
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/iwlwifi-ty-a0-gf-a0-67.ucode

Could you install the firmware to your system, and update the kernel here https://launchpad.net/~vicamo/+archive/ubuntu/ppa-1948375 for loading later firmware version?

Please let us know if the solution works for your system too.

Thanks,

Revision history for this message
Julian Andres Klode (juliank) wrote :

Hi, this works, yes. Thanks!

Revision history for this message
Julian Andres Klode (juliank) wrote :

Will we see these fixes cherry-picked in a 5.15.0-24 kernel or so soon? The linux-firmware package has been ready for a while now with the new firmware

Revision history for this message
Julian Andres Klode (juliank) wrote :

Ping! Releasing with broken WiFi after suspend & resume, with patches lying around for over a month, feels like a disservice to our users.

tags: added: rls-jj-incoming
Changed in linux (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

backport-iwlwifi-dkms 9858-0ubuntu1 is in jammy.

the linux kernel patches you see in that PPA has not been submitted for generic kernel for jammy. The changelog there needs fixing if we want to take that into generic kernel.

Revision history for this message
Arjan (iafilius) wrote (last edit ):

Hi a meetoo on Lenovo T430 using AX-210 MPCIE version and have resume issues with stock ubuntu 22.04, but i came to different workaround, by disabling offending ucode. and used trial error until i found working ucode.

in Short the result:
in /lib/firmware:
# ll iwlwifi-ty-a0-gf-a0-*
-rw-r--r-- 1 root root 1413868 jul 13 17:31 iwlwifi-ty-a0-gf-a0-59.ucode
-rw-r--r-- 1 root root 1455104 jul 13 17:31 iwlwifi-ty-a0-gf-a0-62.ucode_
-rw-r--r-- 1 root root 1460012 jul 13 17:31 iwlwifi-ty-a0-gf-a0-63.ucode_
-rw-r--r-- 1 root root 1481960 jul 13 17:31 iwlwifi-ty-a0-gf-a0-66.ucode_
-rw-r--r-- 1 root root 1482872 jul 13 17:31 iwlwifi-ty-a0-gf-a0-67.ucode
-rw-r--r-- 1 root root 1494304 jul 13 17:31 iwlwifi-ty-a0-gf-a0-68.ucode
-rw-r--r-- 1 root root 1494024 jul 13 17:31 iwlwifi-ty-a0-gf-a0-71.ucode
-rw-r--r-- 1 root root 1502900 jul 13 17:31 iwlwifi-ty-a0-gf-a0-73.ucode

in /lib/firmware:
# ll iwlwifi-ty-a0-gf-a0.pnvm*
-rw-r--r-- 1 root root 41588 jul 13 17:31 iwlwifi-ty-a0-gf-a0.pnvm_

(yes i also tried to install newer firmware, but current kernel refuses to load anything above -66.

The -59 works perfectly fine with resuming, don't have the feeling i miss something important using slightly older ucode.

dmesg shows like:
# dmesg -T |grep iwlwifi |grep loaded
[vr jul 15 20:55:28 2022] iwlwifi 0000:03:00.0: loaded firmware version 59.601f3a66.0 ty-a0-gf-a0-59.ucode op_mode iwlmvm

So you can solve the issue, without installing any ppa stuff, just rename few files. Even no need to reboot if you stop networking, unload iwlwifi and related modules and restart networking again.

Regards

Revision history for this message
Arjan (iafilius) wrote :

Hi, small update.
tried kernel linux-oem-22.04, and noteced the suspend issue is also solved that way.

```
$ uname -a
Linux T430-i7 5.17.0-1015-oem #16-Ubuntu SMP PREEMPT Mon Aug 8 19:09:19 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

dmesg -T| grep loaded:
[ma aug 15 15:41:44 2022] iwlwifi 0000:03:00.0: loaded firmware version 68.01d30b0c.0 ty-a0-gf-a0-68.ucode op_mode iwlmvm
[ma aug 15 15:41:44 2022] iwlwifi 0000:03:00.0: loaded PNVM version 05a8dfca
```

So it seems newer kernel allows to load more recent firmware (.68 as apposed to .66), and with that the suspend/wakeup issue is also solved.

Note for random visitor: linux-oem-22.04 requires kernel modules to be signed, so can't add custom modules, so it might not be for everyone.

Regards,

Arjan

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.