Public bug reported:
On a ThinkPad X1 Carbon Gen 10 with the Intel XMM7560 WWAN modem (iosm driver),
the
machine freezes in s2idle suspend and never resumes if it is suspended again a
few
seconds after a resume. Keyboard, power button, lid and AC plug do not wake it;
only a
forced power-off (holding the power button) recovers. Nothing is left in pstore.
Both hangs seen so far have the same signature: shortly after a resume the
kernel logs
"iosm 0000:08:00.0: msg timeout" (the first time followed by "PORT open
refused, phase
A-ROM"), and the very next suspend logs "PM: suspend entry (s2idle)" and
nothing after.
System
- Ubuntu 26.04.1 LTS, kernel 7.0.0-34-generic (7.0.0-34.34, based on 7.0.14)
- LENOVO 21CB000DUS (ThinkPad X1 Carbon Gen 10), BIOS N3AET83W (1.48), EC
0.1.24 at the
time of the hangs
- Modem: Intel XMM7560 LTE Advanced Pro [8086:7560] rev 01, subsystem
[1cf8:8654],
firmware 18601.5001.00.01.17.30_GC, driver iosm
- ModemManager 1.25.95-1ubuntu1, WWAN connection active
- /sys/power/mem_sleep: [s2idle] (only state offered)
Steps to reproduce
1. Boot with the WWAN modem enabled and connected through ModemManager.
2. Suspend (systemctl suspend), resume, and suspend again about 6 seconds after
each
resume. Attached cycle-test.sh does this with an RTC wake alarm:
sudo ./cycle-test.sh control 12 6
3. Within a handful of cycles "iosm ... msg timeout" appears after a resume and
the next
suspend never returns.
Results (all on 7.0.0-34, same day, same machine)
- Manual suspends, 6-8 s awake between them, modem bound: hung on the 6th
suspend.
Before it: ModemManager "failed enabling modem: Operation was cancelled", then
"iosm: msg timeout" x2 and "PORT open refused, phase A-ROM".
- Script, 6 s awake, modem bound: hung on the 8th suspend, after "iosm: msg
timeout" x4.
- Script, 25 s awake, modem bound: 12/12 resumed.
- Script, 25 s awake, iosm unbound for the whole run: 8/8 resumed.
- Script, 6 s awake, iosm unbound before each suspend and rebound after resume
by the
attached iosm-sleep.service: 12/12 resumed.
So the hang needs the modem bound and a suspend that arrives while the modem is
still
being re-enabled after the previous resume.
Expected: suspend/resume works regardless of how soon after resume it is
requested, or
at worst the modem fails without taking the whole system down.
Other observations
- Unbinding the driver logs "DMAR: [DMA Read NO_PASID] Request device [08:00.0]
... PTE
Read access is not set" once, plus "iosm: msg timeout" lines.
- Every suspend on 7.0 also logs a DMAR fault for iwlwifi [00:14.3] and "Master
Disable
Timed Out". It occurs on the cycles that resume fine too, so it looks
unrelated; noted
for completeness.
- On 6.8.0-137/-142 (Ubuntu 24.04) the few suspends in my logs (one per boot)
resumed
without iosm errors. I have not run the rapid-cycle test on 6.8, so I cannot
say this is
a regression.
- Possibly related upstream thread (same laptop model, iosm "msg timeout" after
hibernate/suspend, 6.8+):
https://www.mail-archive.com/[email protected]/msg363234.html
Workaround
Unbind iosm before sleep.target and rebind on resume (attached
iosm-sleep.service).
Attachments
- journal-extract.txt: filtered journal (PM, iosm, DMAR, ModemManager, logind
lines) for
both hangs and two passing runs; hostname and MAC addresses removed
- cycle-test.sh, cycle-test.log: reproduction script and its log
- iosm-sleep.service: workaround unit
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: linux-image-7.0.0-34-generic 7.0.0-34.34
ProcVersionSignature: Ubuntu 7.0.0-34.34-generic 7.0.14
Uname: Linux 7.0.0-34-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: asif 13446 F.... pipewire
asif 13457 F.... wireplumber
/dev/snd/seq: asif 13446 F.... pipewire
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Thu Oct 1 17:26:06 2026
InstallationDate: Installed on 2020-05-04 (2341 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
IwDevWlp0s20f3Link: Not connected.
MachineType: LENOVO 21CB000DUS
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-7.0.0-34-generic
root=UUID=61bd093b-c8be-423b-94c1-fa7ae92879a6 ro quiet splash
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No
PulseAudio daemon running, or not running as session daemon.
SourcePackage: linux
UpgradeStatus: Upgraded to resolute on 2026-10-01 (0 days ago)
dmi.bios.date: 08/27/2024
dmi.bios.release: 1.48
dmi.bios.vendor: LENOVO
dmi.bios.version: N3AET83W (1.48 )
dmi.board.asset.tag: Not Available
dmi.board.name: 21CB000DUS
dmi.board.vendor: LENOVO
dmi.board.version: SDK0T76530 WIN
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.26
dmi.modalias:
dmi:bvnLENOVO:bvrN3AET83W(1.48):bd08/27/2024:br1.48:efr1.26:svnLENOVO:pn21CB000DUS:pvrThinkPadX1CarbonGen10:rvnLENOVO:rn21CB000DUS:rvrSDK0T76530WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21CB_BU_Think_FM_ThinkPadX1CarbonGen10:pfaThinkPadX1CarbonGen10:
dmi.product.family: ThinkPad X1 Carbon Gen 10
dmi.product.name: 21CB000DUS
dmi.product.sku: LENOVO_MT_21CB_BU_Think_FM_ThinkPad X1 Carbon Gen 10
dmi.product.version: ThinkPad X1 Carbon Gen 10
dmi.sys.vendor: LENOVO
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute wayland-session
** Attachment added: "Supporting files"
https://bugs.launchpad.net/bugs/2169141/+attachment/6004219/+files/files.zip
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169141
Title:
iosm (XMM7560): s2idle suspend never resumes after "msg timeout" when
re-suspending within seconds of resume (ThinkPad X1 Carbon Gen 10,
7.0.0-34)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2169141/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs