QCNFA765 in Lenovo Z16 fails after waking from s2idle

Bug #1982524 reported by josh d
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi, I use a pretty new model laptop lenovo z16 running kubuntu. Biggest issue right now is it has an issue where when it wakes up from sleep the wifi adapter fails to work. I have tried restarting network related services with no success. Visually it seems the wifi adapter may not be recognized as it only shows the lan icon after waking. The

I have found some relevant output in /var/log/syslog that seems to confirm the issue (wlp4s0) but not much else and I'm not sure where best to look for more detailed information on this type of issue. I attached that output as it is a couple hundred lines even though I tried to just get some informative bits.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: josh 9506 F.... pulseaudio
 /dev/snd/controlC1: josh 9506 F.... pulseaudio
CRDA: N/A
CasperMD5CheckResult: pass
CurrentDesktop: KDE
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2022-07-14 (8 days ago)
InstallationMedia: Kubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
MachineType: LENOVO 21D421D400
Package: linux (not installed)
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-41-generic root=UUID=e3c131dd-33bc-483e-aa46-b73d2d084cd4 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.15.0-41.44-generic 5.15.39
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-41-generic N/A
 linux-backports-modules-5.15.0-41-generic N/A
 linux-firmware 20220329.git681281e4-0ubuntu3.2
Tags: jammy
Uname: Linux 5.15.0-41-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 06/29/2022
dmi.bios.release: 1.16
dmi.bios.vendor: LENOVO
dmi.bios.version: N3GET35W (1.16 )
dmi.board.asset.tag: Not Available
dmi.board.name: 21D421D400
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.17
dmi.modalias: dmi:bvnLENOVO:bvrN3GET35W(1.16):bd06/29/2022:br1.16:efr1.17:svnLENOVO:pn21D421D400:pvrThinkPadZ16Gen1:rvnLENOVO:rn21D421D400:rvrNotDefined:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21D4_BU_Think_FM_ThinkPadZ16Gen1:
dmi.product.family: ThinkPad Z16 Gen 1
dmi.product.name: 21D421D400
dmi.product.sku: LENOVO_MT_21D4_BU_Think_FM_ThinkPad Z16 Gen 1
dmi.product.version: ThinkPad Z16 Gen 1
dmi.sys.vendor: LENOVO
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: josh 9506 F.... pulseaudio
 /dev/snd/controlC1: josh 9506 F.... pulseaudio
CRDA: N/A
CasperMD5CheckResult: pass
CurrentDesktop: KDE
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2022-07-14 (8 days ago)
InstallationMedia: Kubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
MachineType: LENOVO 21D421D400
Package: linux (not installed)
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-41-generic root=UUID=e3c131dd-33bc-483e-aa46-b73d2d084cd4 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.15.0-41.44-generic 5.15.39
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-41-generic N/A
 linux-backports-modules-5.15.0-41-generic N/A
 linux-firmware 20220329.git681281e4-0ubuntu3.2
Tags: jammy
Uname: Linux 5.15.0-41-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 06/29/2022
dmi.bios.release: 1.16
dmi.bios.vendor: LENOVO
dmi.bios.version: N3GET35W (1.16 )
dmi.board.asset.tag: Not Available
dmi.board.name: 21D421D400
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.17
dmi.modalias: dmi:bvnLENOVO:bvrN3GET35W(1.16):bd06/29/2022:br1.16:efr1.17:svnLENOVO:pn21D421D400:pvrThinkPadZ16Gen1:rvnLENOVO:rn21D421D400:rvrNotDefined:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21D4_BU_Think_FM_ThinkPadZ16Gen1:
dmi.product.family: ThinkPad Z16 Gen 1
dmi.product.name: 21D421D400
dmi.product.sku: LENOVO_MT_21D4_BU_Think_FM_ThinkPad Z16 Gen 1
dmi.product.version: ThinkPad Z16 Gen 1
dmi.sys.vendor: LENOVO

Revision history for this message
josh d (jd531) wrote :
Revision history for this message
josh d (jd531) wrote :
description: updated
Revision history for this message
josh d (jd531) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Libera.chat.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1982524/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1982524

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
josh d (jd531) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected jammy
description: updated
Revision history for this message
josh d (jd531) wrote : CurrentDmesg.txt

apport information

Revision history for this message
josh d (jd531) wrote : IwConfig.txt

apport information

Revision history for this message
josh d (jd531) wrote : Lspci.txt

apport information

Revision history for this message
josh d (jd531) wrote : Lspci-vt.txt

apport information

Revision history for this message
josh d (jd531) wrote : Lsusb.txt

apport information

Revision history for this message
josh d (jd531) wrote : Lsusb-t.txt

apport information

Revision history for this message
josh d (jd531) wrote : Lsusb-v.txt

apport information

Revision history for this message
josh d (jd531) wrote : PaInfo.txt

apport information

Revision history for this message
josh d (jd531) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
josh d (jd531) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
josh d (jd531) wrote : ProcEnviron.txt

apport information

Revision history for this message
josh d (jd531) wrote : ProcInterrupts.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
description: updated
Revision history for this message
josh d (jd531) wrote : AlsaInfo.txt

apport information

Revision history for this message
josh d (jd531) wrote : CurrentDmesg.txt

apport information

Revision history for this message
josh d (jd531) wrote : IwConfig.txt

apport information

Revision history for this message
josh d (jd531) wrote : Lspci.txt

apport information

Revision history for this message
josh d (jd531) wrote : Lspci-vt.txt

apport information

Revision history for this message
josh d (jd531) wrote : Lsusb.txt

apport information

Revision history for this message
josh d (jd531) wrote : Lsusb-t.txt

apport information

Revision history for this message
josh d (jd531) wrote : Lsusb-v.txt

apport information

Revision history for this message
josh d (jd531) wrote : PaInfo.txt

apport information

Revision history for this message
josh d (jd531) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
josh d (jd531) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
josh d (jd531) wrote : ProcEnviron.txt

apport information

Revision history for this message
josh d (jd531) wrote : ProcInterrupts.txt

apport information

Revision history for this message
josh d (jd531) wrote : ProcModules.txt

apport information

Revision history for this message
josh d (jd531) wrote : PulseList.txt

apport information

Revision history for this message
josh d (jd531) wrote : RfKill.txt

apport information

Revision history for this message
josh d (jd531) wrote : UdevDb.txt

apport information

Revision history for this message
josh d (jd531) wrote : WifiSyslog.txt

apport information

Revision history for this message
josh d (jd531) wrote : acpidump.txt

apport information

Revision history for this message
josh d (jd531) wrote : Re: wifi adapter fails after waking from sleep

I have ran the command (twice, I thought it had an error the first time). This is the output I received as a note:

➜ ~ apport-collect 1982524
dpkg-query: no packages found matching linux

Revision history for this message
Mario Limonciello (superm1) wrote :

Just FYI - Lenovo hasn't certified this hardware yet, they're still working on some Linux issues.

> Jul 18 14:34:03 thinkpad kernel: [11523.159593] [Hardware Error]: Corrected error, no action required.
> Jul 18 14:34:03 thinkpad kernel: [11523.159598] [Hardware Error]: CPU:0 (19:44:1) MC15_STATUS[Over|CE|MiscV|AddrV|-|-|SyndV|CECC|-|-|-]: 0xdc204000000c011b
> Jul 18 14:34:03 thinkpad kernel: [11523.159610] [Hardware Error]: Error Addr: 0x00000001f7cee200
> Jul 18 14:34:03 thinkpad kernel: [11523.159612] [Hardware Error]: IPID: 0x0000009600050f00, Syndrome: 0x000001ff0a240701
> Jul 18 14:34:03 thinkpad kernel: [11523.159617] [Hardware Error]: Unified Memory Controller Ext. Error Code: 12

These will be fixed by a BIOS upgrade from Lenovo.

> Jul 18 18:00:01 thinkpad kernel: [11545.328176] nvme 0000:06:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0013 address=0x7132b000 flags=0x0000]

These will be fixed by a BIOS upgrade from Lenovo.

> Jul 18 18:00:01 thinkpad kernel: [11545.442781] mhi mhi0: Resuming from non M3 state (SYS ERROR)

> Jul 18 18:00:01 thinkpad kernel: [11635.799937] ath11k_pci 0000:04:00.0: failed to set mhi state: RESUME(6)
> Jul 18 18:00:01 thinkpad kernel: [11638.871787] ath11k_pci 0000:04:00.0: timed out while waiting for wow wakeup completion
> Jul 18 18:00:01 thinkpad kernel: [11638.871793] ath11k_pci 0000:04:00.0: failed to wakeup wow during resume: -110
> Jul 18 18:00:01 thinkpad kernel: [11638.871796] ath11k_pci 0000:04:00.0: failed to resume core: -110
> Jul 18 18:00:01 thinkpad kernel: [11638.871798] PM: dpm_run_callback(): pci_pm_resume+0x0/0xf0 returns -110
> Jul 18 18:00:01 thinkpad kernel: [11638.871822] ath11k_pci 0000:04:00.0: PM: failed to resume async: error -110
> Jul 18 18:00:01 thinkpad kernel: [11638.873654] OOM killer enabled.

That's your problem with WLAN after resume.

I think a few debugging steps that might be useful.
1) Try using the OEM 5.17 kernel instead. If this fixes the issue, then probably some commits need to be backported to Jammy 5.15 still.
sudo apt install linux-oem-22.04a

2) Try to use 5.19-rc7 mainline kernel. Note: You'll have to turn off secure boot to use this kernel.
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.19-rc7/

If this issue persists with that kernel, you should file an upstream bug report on the wireless module (Details here: https://wireless.wiki.kernel.org/en/users/drivers/ath11k/bugreport). Please drop a link here so it can be tracked too.

summary: - wifi adapter fails after waking from sleep
+ QCNFA765 in Lenovo Z16 fails after waking from s2idle
Revision history for this message
josh d (jd531) wrote :

Mario,

Thanks for the support so far. I've finally gotten around to testing the newer kernels to no avail. The issue, if it was the same one, seemed worse. After updating the kernels the wifi would display off as normal in the taskbar (lan icon with an x instead of wifi icon) however clicking on it also froze the kde ui for a bit. This isn't occurring on the older 5.15.0-41-generic kernel which I think was a result of a normal upgrade.

I'll take a look at filing the but with ath11k as recommended. TYVM!

Revision history for this message
Mario Limonciello (superm1) wrote :

I'd suggest adding logs for the two other kernel tests for confirm it really is the same too.

Revision history for this message
AaronMa (mapengyu) wrote :

ath11k issue will be fixed by next release of linux-firmware which is already in proposed channel.
20220329.git681281e4-0ubuntu3.3

WCN6855 firmware version:
ath11k: WCN6855 hw2.0: update to WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.9

Revision history for this message
Mario Limonciello (superm1) wrote :
Revision history for this message
josh d (jd531) wrote :

Aaron and Mario, TYVM! This package has indeed fixed my error! Waking from sleep is also much faster which was probably related to having driver problems while waking.

Will updates continue as normal leaving this installed? I figure apt will recognize newer versions as they become available. I am simply not sure how that would work though to be honest.

Also, is there anyway to repay for this service? Perhaps donation to canonical? This has been wonderful and super helpful.

Revision history for this message
Mario Limonciello (superm1) wrote :

You're just a little ahead of the curve using this machine before it's certified and ready to go. You'll keep getting updates, that package was just in progress (In the "proposed" repo). It will promote to updates repo soon.

I'll mark this as a duplicate of the other in progress bug for that WLAN firmware.

To post a comment you must log in.