Public bug reported:

Hardware:
- Lenovo ThinkPad T1g Gen 9 (21UGCTO1WW), BIOS N4SET31W (1.10)
- Intel Core Ultra 7 356H (Panther Lake), RTX 5060 Max-Q
- NVMe 1: Micron 2650 512GB (factory) on 00:06.0 (RP09)
- NVMe 2: WD_BLACK SN7100 2TB (aftermarket, Ubuntu installed here)
  on 00:1c.4 (RP05)
Software: Ubuntu 26.04 LTS, kernel 7.0.0-44-generic, mem_sleep = s2idle

Problem:
"systemctl suspend" enters s2idle, then fully resumes within ~2 s.

Findings:
- No suspend abort: no "failed to suspend" errors in the log.
- With pm_debug_messages=1 (attached s2idle-wake.txt), the SCI fires
  during the noirq suspend phase, before s2idle is entered:
    PM: Triggering wakeup from IRQ 9
    PM: noirq suspend of devices complete after 658.457 msecs
    ...
    PM: suspend-to-idle
    ACPI: PM: ACPI non-EC GPE wakeup
    PM: resume from suspend-to-idle
- /sys/power/pm_wakeup_irq = 9 (ACPI SCI).
- In /sys/kernel/debug/wakeup_sources, the only source with activity
  at the time of the suspend was 0000:00:1c.4 and its ACPI
  companion. With SSD firmware 7615M0WD, this source also fired
  ~1,700 times in ~30 h of normal use (about once a minute).
- Disabling wake on the port fixes it:
    echo disabled > /sys/bus/pci/devices/0000:00:1c.4/power/wakeup
  RP05 then shows *disabled in /proc/acpi/wakeup, and the system
  stays in s2idle (last_hw_sleep = 189550058 us in a ~3 min test).
- After updating the SSD firmware to 7619M0WD, the events during
  normal use stopped (count stayed at 1 after boot), but suspend
  still resumed immediately and the count went up by exactly one.
- Windows 11 on the same machine (Micron drive) sleeps normally.

Expected: a root port whose only device is an NVMe SSD should not
wake the system from s2idle.

Workaround (udev):
  ACTION=="add", SUBSYSTEM=="pci", KERNEL=="0000:00:1c.4", 
ATTR{power/wakeup}="disabled"

Possibly related: kernel bugzilla #212053 (Intel N6000 laptop, RP05
at 00:1c.4 waking the system; reproduced without the nvme driver),
which suggests a platform/firmware cause.

Attached: s2idle-wake.txt (kernel log of one failed suspend with
pm_debug_messages=1, wake re-enabled on 00:1c.4).

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: linux-image-7.0.0-44-generic 7.0.0-44.44
ProcVersionSignature: Ubuntu 7.0.0-44.44-generic 7.0.14
Uname: Linux 7.0.0-44-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC1:  andrea    10147 F.... pipewire
                      andrea    10159 F.... wireplumber
 /dev/snd/controlC0:  andrea    10159 F.... wireplumber
 /dev/snd/seq:        andrea    10147 F.... pipewire
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Nov 20 11:55:53 2026
InstallationDate: Installed on 2026-11-08 (12 days ago)
InstallationMedia: Ubuntu 26.04.1 LTS "Resolute Raccoon" - Release amd64 
(20260826)
MachineType: LENOVO 21UGCTO1WW
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
ProcFB: 0 xedrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-7.0.0-44-generic 
root=/dev/mapper/ubuntu--vg-ubuntu--lv ro quiet splash 
crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/03/2026
dmi.bios.release: 1.10
dmi.bios.vendor: LENOVO
dmi.bios.version: N4SET31W (1.10 )
dmi.board.asset.tag: Not Available
dmi.board.name: 21UGCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: SDK0T76576 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.10
dmi.modalias: 
dmi:bvnLENOVO:bvrN4SET31W(1.10):bd09/03/2026:br1.10:efr1.10:svnLENOVO:pn21UGCTO1WW:pvrThinkPadT1gGen9:rvnLENOVO:rn21UGCTO1WW:rvrSDK0T76576WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21UG_BU_Think_FM_ThinkPadT1gGen9:pfaThinkPadT1gGen9:
dmi.product.family: ThinkPad T1g Gen 9
dmi.product.name: 21UGCTO1WW
dmi.product.sku: LENOVO_MT_21UG_BU_Think_FM_ThinkPad T1g Gen 9
dmi.product.version: ThinkPad T1g Gen 9
dmi.sys.vendor: LENOVO

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute wayland-session

** Attachment added: "s2idle-wake.txt"
   
https://bugs.launchpad.net/bugs/2175156/+attachment/6019631/+files/s2idle-wake.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175156

Title:
  ThinkPad T1g Gen 9: s2idle resumes immediately due to wake from PCIe
  root port 00:1c.4 (RP05, NVMe slot)

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to