[ThinkPad Yoga 460] STR (suspend-to-RAM) freezes at suspend

Bug #1959041 reported by Thomas
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned
Kinetic
Incomplete
Undecided
Unassigned

Bug Description

Hi,

I want to report, that Ubuntu's shipped kernel has a problem with STR on my Laptop.
When I run `echo mem | sudo tee /sys/power/state` the systems try to go in standby mode. Everything shuts down, but the power led flashes fast (how it does every time between going into standby and before the standby is reached). It never reaches the state that the led starts slowly "breathing in and out". So the final step is missing and the machine can only be forced to poweroff and on again.

I already tested with the mainline kernel from https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.15/

And there standby works flawless.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-5.15.0-17-generic 5.15.0-17.17
ProcVersionSignature: Ubuntu 5.15.0-17.17-generic 5.15.12
Uname: Linux 5.15.0-17-generic x86_64
ApportVersion: 2.20.11-0ubuntu75
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: thomas 1409 F.... pipewire-media-
                      thomas 1410 F.... pulseaudio
 /dev/snd/seq: thomas 1408 F.... pipewire
CasperMD5CheckResult: pass
CurrentDesktop: KDE
Date: Tue Jan 25 20:06:44 2022
InstallationDate: Installed on 2022-01-21 (4 days ago)
InstallationMedia: Kubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220121)
MachineType: LENOVO 20ELS03U00
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.15.0-17-generic root=UUID=28ca1143-6369-4859-83f1-307e09a49858 ro initcall_debug no_console_suspend ignore_loglevel
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-17-generic N/A
 linux-backports-modules-5.15.0-17-generic N/A
 linux-firmware 1.204
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/14/2019
dmi.bios.release: 1.59
dmi.bios.vendor: LENOVO
dmi.bios.version: R05ET81W (1.59)
dmi.board.asset.tag: Not Available
dmi.board.name: 20ELS03U00
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 31
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.25
dmi.modalias: dmi:bvnLENOVO:bvrR05ET81W(1.59):bd05/14/2019:br1.59:efr1.25:svnLENOVO:pn20ELS03U00:pvrThinkPadYoga460:rvnLENOVO:rn20ELS03U00:rvrSDK0J40697WIN:cvnLENOVO:ct31:cvrNone:skuLENOVO_MT_20EL_BU_Think_FM_ThinkPadYoga460:
dmi.product.family: ThinkPad Yoga 460
dmi.product.name: 20ELS03U00
dmi.product.sku: LENOVO_MT_20EL_BU_Think_FM_ThinkPad Yoga 460
dmi.product.version: ThinkPad Yoga 460
dmi.sys.vendor: LENOVO

Revision history for this message
Thomas (t.c) wrote :
Thomas (t.c)
description: updated
Thomas (t.c)
tags: added: regression
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
Revision history for this message
Thomas (t.c) wrote (last edit ): Re: STR (suspend-to-RAM) freezes at suspend

Today I also tested with linux-image-5.15.0-18-generic but the problem still persists.

Anything else I can test?

Revision history for this message
Thomas (t.c) wrote :

So, now I could find a little more detail about my issue:

I tested with other mainline kernel from 5.15 series and the problem started with 5.15.5

And it is also present on 5.15.10 and 5.15.24 (thats what I have also tested)

STR works with 5.15.0, 5.15.3, 5.15.4 (thats what I have tested)

After knowing the version I could find this on the net:

https://www.reddit.com/r/pop_os/comments/radfeg/psa_kernel_5155_and_intel_6th_gen_cpus_issue_with/

And so after adding intel_iommu=off as kernel option STR works also with linux-image-5.15.0-18-generic

Revision history for this message
Thomas (t.c) wrote :

Maybe unset INTEL_IOMMU_DEFAULT_ON

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Can you please also attach dmesg under mainline kernel 5.15?

Revision history for this message
Spencer Seidel (jsseidel) wrote (last edit ):

FYI -- experiencing same suspend issue with a Lenovo T460S running Ubuntu 22.04 default ISO. intel_iommu=off on the grub command line fixed the issue.

summary: - STR (suspend-to-RAM) freezes at suspend
+ [ThinkPad Yoga 460] STR (suspend-to-RAM) freezes at suspend
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in linux (Ubuntu Jammy):
status: New → Fix Released
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Is this an issue in kinetic still?

Changed in linux (Ubuntu Kinetic):
status: Confirmed → Incomplete
tags: added: iommu
Revision history for this message
Heinrich Schuchardt (xypron) wrote :

intel_iommu=off may result in a security risk as PCIe devices can access all of the RAM. intel_iommu=igfx_off should be enough to resolve issues with GPUs.

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

Other bug subscribers

Remote bug watches

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