понедельник

[Bug 2080693] Re: Not resuming from suspend - Thinkpad E460

Ok, turns out it's not a version issue but a config issue:
CONFIG_INTEL_IOMMU_DEFAULT_ON=y is what causes the problem. The reason
that 6.6.18 from the mainline ppa is good while 6.6.19 is bad is that
the former has this disabled while the later has it enabled:

% diff -u0 /boot/config-6.6.1*-generic
--- /boot/config-6.6.18-060618-generic 2024-02-23 10:34:17.000000000 +0100
+++ /boot/config-6.6.19-060619-generic 2024-03-01 14:53:56.000000000 +0100
@@ -3 +3 @@
-# Linux/x86 6.6.18 Kernel Configuration
+# Linux/x86 6.6.19 Kernel Configuration
@@ -5 +5 @@
-CONFIG_CC_VERSION_TEXT="x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0"
+CONFIG_CC_VERSION_TEXT="x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-16ubuntu1) 13.2.0"
@@ -14 +13,0 @@
-CONFIG_RUST_IS_AVAILABLE=y
@@ -9781 +9780 @@
-# CONFIG_INTEL_IOMMU_DEFAULT_ON is not set
+CONFIG_INTEL_IOMMU_DEFAULT_ON=y
@@ -9783 +9782 @@
-# CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON is not set
+CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON=y

Indeed, by just enabling CONFIG_INTEL_IOMMU_DEFAULT_ON in 6.6.18 it
becomes bad, while just disabling it in 6.6.19 makes it good.


Going back to the kernels shipped by Ubuntu where I originally observed the problem, indeed that option is disabled in 6.5 (which works for me) and enabled in 6.8 (which doesn't work for me):

% grep CONFIG_INTEL_IOMMU_DEFAULT_ON /boot/config-6.[58]*
/boot/config-6.5.0-45-generic:# CONFIG_INTEL_IOMMU_DEFAULT_ON is not set
/boot/config-6.8.0-48-generic:CONFIG_INTEL_IOMMU_DEFAULT_ON=y

Please let me know if there's further information I can provide that
could help resolve this issue.

--
You received this bug notification because you are subscribed to linux
in Ubuntu.
Matching subscriptions: Bgg, Bmail, Nb
https://bugs.launchpad.net/bugs/2080693

Title:
Not resuming from suspend - Thinkpad E460

Status in linux package in Ubuntu:
Incomplete

Bug description:
After a routine upgrade which installed the 6.8 kernel, my laptop
(Lenovo Thinkpad E460) stopped resuming from suspend. I press keys,
hit the power button, but nothing works and I have to hard reboot in
the end.

Everything worked nicely with the 6.5 kernel (6.5.0-45-generic) and
previous versions provided by Ubuntu since 5.15.0-40-generic (before
that I was hit by
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1971437 with
similar symptoms).

I tried version-bisecting the issue using the mainline kernel ppa, as
in
https://wiki.ubuntu.com/Kernel/KernelBisection#Version_bisecting_upstream_kernels

The last good version is 6.6.18.

The first bad version is 6.6.19.

I'm happy to provide any further information that might be useful.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-6.8.0-40-generic 6.8.0-40.40~22.04.3
ProcVersionSignature: Ubuntu 6.8.0-40.40~22.04.3-generic 6.8.12
Uname: Linux 6.8.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Fri Sep 13 23:22:57 2024
InstallationDate: Installed on 2020-05-17 (1580 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
SourcePackage: linux-signed-hwe-6.8
UpgradeStatus: Upgraded to jammy on 2024-09-10 (2 days ago)
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: mpg 1453 F.... pulseaudio
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2020-05-17 (1583 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 5986:0708 Acer, Inc Integrated Camera
Bus 001 Device 002: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: LENOVO 20ETCTO1WW
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.5.0-45-generic root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 6.5.0-45.45~22.04.1-generic 6.5.13
RelatedPackageVersions:
linux-restricted-modules-6.5.0-45-generic N/A
linux-backports-modules-6.5.0-45-generic N/A
linux-firmware 20220329.git681281e4-0ubuntu3.31
Tags: wayland-session jammy
Uname: Linux 6.5.0-45-generic x86_64
UpgradeStatus: Upgraded to jammy on 2024-09-10 (5 days ago)
UserGroups: adm cdrom dialout dip lpadmin lxd plugdev sambashare sudo wireshark
_MarkForUpload: True
dmi.bios.date: 04/20/2016
dmi.bios.release: 1.17
dmi.bios.vendor: LENOVO
dmi.bios.version: R00ET42W (1.17 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20ETCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40709 WIN
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:bvrR00ET42W(1.17):bd04/20/2016:br1.17:efr1.17:svnLENOVO:pn20ETCTO1WW:pvrThinkPadE460:rvnLENOVO:rn20ETCTO1WW:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20ET_BU_Think_FM_ThinkPadE460:
dmi.product.family: ThinkPad E460
dmi.product.name: 20ETCTO1WW
dmi.product.sku: LENOVO_MT_20ET_BU_Think_FM_ThinkPad E460
dmi.product.version: ThinkPad E460
dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2080693/+subscriptions

Комментариев нет:

Отправить комментарий