Linux Power Management development
 help / color / mirror / Atom feed
* [REGRESSION?] hibernation soft lockup in migration/0 at multi_cpu_stop after image creation
@ 2026-07-09 18:38 Hlib Wondertan
  2026-07-09 18:42 ` Hlib Wondertan
  2026-07-10  7:18 ` Thorsten Leemhuis
  0 siblings, 2 replies; 4+ messages in thread
From: Hlib Wondertan @ 2026-07-09 18:38 UTC (permalink / raw)
  To: linux-pm; +Cc: linux-kernel, regressions


[-- Attachment #1.1: Type: text/plain, Size: 3574 bytes --]

Hi,

I am seeing hibernation failures on a Framework Laptop 16 AMD Ryzen AI
300 Series. The best capture I have is from EFI pstore: the kernel
creates the hibernation image, then CPU0 soft-locks in the CPU stopper
thread and panics.

Impact: the machine powers/reboots instead of resuming the previous
session. The next boot reported no valid hibernation image.

System:

```text
Machine: Framework Laptop 16 (AMD Ryzen AI 300 Series)
DMI board: FRANMHCP09
BIOS: 03.06, 2026-04-23
Kernel: 7.1.2-arch3-1
Arch Linux
```

Kernel config has the debug options requested for this class of issue:

```text
CONFIG_HIBERNATION=y
CONFIG_PM_DEBUG=y
CONFIG_PM_SLEEP_DEBUG=y
CONFIG_SLUB_DEBUG=y
CONFIG_PAGE_POISONING=y
CONFIG_STACKTRACE=y
```

Relevant command line, with the root UUID elided:

```text
root=/dev/mapper/root rootfstype=btrfs rootflags=subvol=@ rw
resume=/dev/mapper/root resume_offset=4728064
rtc_cmos.use_acpi_alarm=1 drm.debug=0x1df log_buf_len=32M
ignore_loglevel printk.devkmsg=on slub_debug=UFPZ
```

The hibernate attempt was triggered by upowerd at low battery. A
systemd sleep hook ran before hibernation and captured:

```text
phase=pre
operation=hibernate
date=2026-07-09T17:45:04+04:00
uname=Linux Wonderframe 7.1.2-arch3-1 #1 SMP PREEMPT_DYNAMIC Fri, 03
Jul 2026 23:25:36 +0000 x86_64 GNU/Linux
pm_test=[none] core processors platform devices freezer
disk=platform [shutdown] reboot suspend test_resume
panic_on_oops=1
hardlockup_panic=1
softlockup_panic=1

BAT1 status=Discharging
BAT1 capacity=4
MemAvailable:   18303436 kB
SwapTotal:      48212748 kB
SwapFree:       48212748 kB
HardwareCorrupted:     0 kB
```

Relevant GPUs:

```text
amdgpu 0000:c4:00.0 PCI_ID=1002:7480
amdgpu 0000:c5:00.0 PCI_ID=1002:150E
```

pstore excerpt from the failed hibernate:

```text
[17199.818113] PM: hibernation: Creating image
[17200.075162] PM: hibernation: Need to copy 3578614 pages
[17200.075167] PM: hibernation: Normal pages needed: 3578614 + 1024,
available pages: 4622595
[17223.501212] PM: hibernation: Image created (2866538 pages copied,
712076 zero pages)
[17224.160864] watchdog: BUG: soft lockup - CPU#0 stuck for 26s!
[migration/0:20]
[17224.160965] CPU: 0 UID: 0 PID: 20 Comm: migration/0 Not tainted
7.1.2-arch3-1 #1 PREEMPT(full)
914ec70c9fc54a99dc91d290948a1dd1bb226c49
[17224.160969] Hardware name: Framework Laptop 16 (AMD Ryzen AI 300
Series)/FRANMHCP09, BIOS 03.06 04/23/2026
[17224.160970] Stopper: multi_cpu_stop+0x0/0x140 <-
__stop_cpus.constprop.0+0x6d/0xb0
[17224.160980] RIP: 0010:multi_cpu_stop+0x87/0x140
[17224.161015] Kernel panic - not syncing: softlockup: hung tasks
[17224.161017] CPU: 0 UID: 0 PID: 20 Comm: migration/0 Tainted: G
       L      7.1.2-arch3-1 #1 PREEMPT(full)
914ec70c9fc54a99dc91d290948a1dd1bb226c49
[17224.161019] Tainted: [L]=SOFTLOCKUP
[17224.161020] Hardware name: Framework Laptop 16 (AMD Ryzen AI 300
Series)/FRANMHCP09, BIOS 03.06 04/23/2026
[17224.161020] Stopper: multi_cpu_stop+0x0/0x140 <-
__stop_cpus.constprop.0+0x6d/0xb0
[17224.161063] RIP: 0010:multi_cpu_stop+0x87/0x140
```

There were no SLUB/page-poison corruption messages in the pstore
chunks, despite `slub_debug=UFPZ`.

An earlier hibernation pstore capture on the same kernel showed the
same broad failure class, also in `migration/0`, but with `RIP:
stop_machine_yield+0x6/0x10`.

I have attached:

```text
pstore-20260709-1748.tar.gz
hibernate-pre-20260709-174504.log
```

Please let me know what additional data would be useful. I can keep
the debug boot parameters enabled and retest with a proposed patch or
additional PM/debug options.

[-- Attachment #1.2: Type: text/html, Size: 3624 bytes --]

[-- Attachment #2: hibernate-pre-20260709-174504.log --]
[-- Type: text/x-log, Size: 24791 bytes --]

phase=pre
operation=hibernate
date=2026-07-09T17:45:04+04:00
boot_id=79c3915a-2e93-4afa-a60a-465a14ddb7d7
uname=Linux Wonderframe 7.1.2-arch3-1 #1 SMP PREEMPT_DYNAMIC Fri, 03 Jul 2026 23:25:36 +0000 x86_64 GNU/Linux
uptime=17163.38 369132.59

== kernel debug knobs ==
cmdline=rd.luks.name=4f329a7b-c4b0-4738-bf81-375f242c2964=root root=/dev/mapper/root rootfstype=btrfs rootflags=subvol=@ rw resume=/dev/mapper/root resume_offset=4728064 rtc_cmos.use_acpi_alarm=1 drm.debug=0x1df log_buf_len=32M ignore_loglevel printk.devkmsg=on slub_debug=UFPZ
pm_test=[none] core processors platform devices freezer
disk=platform [shutdown] reboot suspend test_resume
state=freeze mem disk
panic_print=0
panic_on_oops=1
hardlockup_panic=1
softlockup_panic=1

== power supplies ==
-- ACAD --
type=Mains
-- BAT1 --
type=Battery
status=Discharging
capacity=4
voltage_now=13226000
current_now=2232000
charge_now=198000
charge_full=4951000
cycle_count=60
model_name=FRANDBA
manufacturer=NVT
-- ucsi-source-psy-USBC000:001 --
type=USB
status=Not charging
voltage_now=0
current_now=0
-- ucsi-source-psy-USBC000:002 --
type=USB
status=Not charging
voltage_now=0
current_now=0
-- ucsi-source-psy-USBC000:003 --
type=USB
status=Discharging
voltage_now=0
current_now=680000
-- ucsi-source-psy-USBC000:004 --
type=USB
status=Discharging
voltage_now=5000000
current_now=1500000

== memory ==
MemTotal:       31929524 kB
MemFree:         6996864 kB
MemAvailable:   18303436 kB
Buffers:            2144 kB
Cached:          8763612 kB
SwapCached:            0 kB
Active:         12794236 kB
Inactive:        8929528 kB
Active(anon):   10129860 kB
Inactive(anon):        0 kB
Active(file):    2664376 kB
Inactive(file):  8929528 kB
Unevictable:       86160 kB
Mlocked:             288 kB
SwapTotal:      48212748 kB
SwapFree:       48212748 kB
Zswap:                 0 kB
Zswapped:              0 kB
Dirty:             13740 kB
Writeback:           456 kB
AnonPages:      12981056 kB
Mapped:          1511436 kB
Shmem:            165532 kB
KReclaimable:     152736 kB
Slab:             590796 kB
SReclaimable:     152736 kB
SUnreclaim:       438060 kB
KernelStack:       33648 kB
PageTables:       116384 kB
SecPageTables:      4552 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    64177508 kB
Committed_AS:   24382568 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      191484 kB
VmallocChunk:          0 kB
Percpu:            24672 kB
HardwareCorrupted:     0 kB

== drm devices ==
-- /sys/class/drm/card1/device --
DRIVER=amdgpu
PCI_CLASS=30000
PCI_ID=1002:7480
PCI_SUBSYS_ID=F111:0007
PCI_SLOT_NAME=0000:c4:00.0
MODALIAS=pci:v00001002d00007480sv0000F111sd00000007bc03sc00i00
-- /sys/class/drm/card1-DP-1/device --
MAJOR=226
MINOR=1
DEVNAME=dri/card1
DEVTYPE=drm_minor
-- /sys/class/drm/card1-eDP-1/device --
MAJOR=226
MINOR=1
DEVNAME=dri/card1
DEVTYPE=drm_minor
-- /sys/class/drm/card1-Writeback-1/device --
MAJOR=226
MINOR=1
DEVNAME=dri/card1
DEVTYPE=drm_minor
-- /sys/class/drm/card2/device --
DRIVER=amdgpu
PCI_CLASS=38000
PCI_ID=1002:150E
PCI_SUBSYS_ID=F111:000D
PCI_SLOT_NAME=0000:c5:00.0
MODALIAS=pci:v00001002d0000150Esv0000F111sd0000000Dbc03sc80i00
-- /sys/class/drm/card2-DP-2/device --
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
-- /sys/class/drm/card2-DP-3/device --
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
-- /sys/class/drm/card2-DP-4/device --
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
-- /sys/class/drm/card2-DP-5/device --
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
-- /sys/class/drm/card2-DP-6/device --
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
-- /sys/class/drm/card2-DP-7/device --
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
-- /sys/class/drm/card2-DP-8/device --
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
-- /sys/class/drm/card2-DP-9/device --
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
-- /sys/class/drm/card2-eDP-2/device --
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
-- /sys/class/drm/card2-Writeback-2/device --
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor

== pstore files ==
dmesg-efi_pstore-178353458301001 1676 bytes 2026-07-08 22:16:23.0000000000
dmesg-efi_pstore-178353458302001 1659 bytes 2026-07-08 22:16:23.0000000000
dmesg-efi_pstore-178353458303001 1647 bytes 2026-07-08 22:16:23.0000000000
dmesg-efi_pstore-178353458404001 1699 bytes 2026-07-08 22:16:24.0000000000
dmesg-efi_pstore-178353458405001 1699 bytes 2026-07-08 22:16:24.0000000000
dmesg-efi_pstore-178353458406001 1666 bytes 2026-07-08 22:16:24.0000000000
dmesg-efi_pstore-178353458407001 1501 bytes 2026-07-08 22:16:24.0000000000
dmesg-efi_pstore-178353458408001 1556 bytes 2026-07-08 22:16:24.0000000000
dmesg-efi_pstore-178353458409001 1590 bytes 2026-07-08 22:16:24.0000000000
dmesg-efi_pstore-178353458410001 1587 bytes 2026-07-08 22:16:24.0000000000
dmesg-efi_pstore-178353458511001 1587 bytes 2026-07-08 22:16:25.0000000000
dmesg-efi_pstore-178353458512001 1587 bytes 2026-07-08 22:16:25.0000000000
dmesg-efi_pstore-178353458513001 1587 bytes 2026-07-08 22:16:25.0000000000
dmesg-efi_pstore-178353458514001 1591 bytes 2026-07-08 22:16:25.0000000000
dmesg-efi_pstore-178353458515001 1587 bytes 2026-07-08 22:16:25.0000000000
dmesg-efi_pstore-178353458516001 1591 bytes 2026-07-08 22:16:25.0000000000
dmesg-efi_pstore-178353458517001 1587 bytes 2026-07-08 22:16:25.0000000000
dmesg-efi_pstore-178353458618001 1587 bytes 2026-07-08 22:16:26.0000000000
dmesg-efi_pstore-178353458619001 1595 bytes 2026-07-08 22:16:26.0000000000
dmesg-efi_pstore-178353458620001 1503 bytes 2026-07-08 22:16:26.0000000000
dmesg-efi_pstore-178353458621001 1537 bytes 2026-07-08 22:16:26.0000000000
dmesg-efi_pstore-178353458622001 1679 bytes 2026-07-08 22:16:26.0000000000
dmesg-efi_pstore-178353458623001 1679 bytes 2026-07-08 22:16:26.0000000000
dmesg-efi_pstore-178353458624001 1652 bytes 2026-07-08 22:16:26.0000000000
dmesg-efi_pstore-178353458725001 1670 bytes 2026-07-08 22:16:27.0000000000
dmesg-efi_pstore-178353732501001 1692 bytes 2026-07-08 23:02:05.0000000000
dmesg-efi_pstore-178353732502001 1623 bytes 2026-07-08 23:02:05.0000000000
dmesg-efi_pstore-178353732603001 1362 bytes 2026-07-08 23:02:06.0000000000
dmesg-efi_pstore-178353732604001 1541 bytes 2026-07-08 23:02:06.0000000000
dmesg-efi_pstore-178353732605001 1690 bytes 2026-07-08 23:02:06.0000000000
dmesg-efi_pstore-178353732606001 1697 bytes 2026-07-08 23:02:06.0000000000
dmesg-efi_pstore-178353732607001 1652 bytes 2026-07-08 23:02:06.0000000000
dmesg-efi_pstore-178353732608001 1657 bytes 2026-07-08 23:02:06.0000000000
dmesg-efi_pstore-178353732709001 1680 bytes 2026-07-08 23:02:07.0000000000
dmesg-efi_pstore-178353732710001 1639 bytes 2026-07-08 23:02:07.0000000000
dmesg-efi_pstore-178353732711001 1655 bytes 2026-07-08 23:02:07.0000000000
dmesg-efi_pstore-178353732712001 1658 bytes 2026-07-08 23:02:07.0000000000
dmesg-efi_pstore-178353732713001 1622 bytes 2026-07-08 23:02:07.0000000000
dmesg-efi_pstore-178353732714001 1698 bytes 2026-07-08 23:02:07.0000000000
dmesg-efi_pstore-178353732715001 1628 bytes 2026-07-08 23:02:07.0000000000
dmesg-efi_pstore-178353732816001 1659 bytes 2026-07-08 23:02:08.0000000000
dmesg-efi_pstore-178353732817001 1625 bytes 2026-07-08 23:02:08.0000000000
dmesg-efi_pstore-178353732818001 1690 bytes 2026-07-08 23:02:08.0000000000
dmesg-efi_pstore-178353732819001 1630 bytes 2026-07-08 23:02:08.0000000000
dmesg-efi_pstore-178353732820001 1594 bytes 2026-07-08 23:02:08.0000000000
dmesg-efi_pstore-178353732821001 1678 bytes 2026-07-08 23:02:08.0000000000
dmesg-efi_pstore-178353732822001 1647 bytes 2026-07-08 23:02:08.0000000000

== recent kernel warnings ==

== recent journal warnings ==
Jul 09 12:59:54 Wonderframe systemd[1818]: /etc/systemd/user.conf.d/99-omarchy-nofile.conf:2: Unknown key 'DefaultLimitNOFILESoft' in section [Manager], ignoring.
Jul 09 12:59:54 Wonderframe dbus-broker-launch[1865]: Service file '/usr/share//dbus-1/services/fr.emersion.mako.service' is not named after the D-Bus name 'org.freedesktop.Notifications'.
Jul 09 12:59:55 Wonderframe systemd[1818]: /etc/systemd/user.conf.d/99-omarchy-nofile.conf:2: Unknown key 'DefaultLimitNOFILESoft' in section [Manager], ignoring.
Jul 09 12:59:57 Wonderframe wireplumber[2653]: s-monitors: Failed to create 'api.alsa.acp.device' device
Jul 09 12:59:59 Wonderframe Telegram[2210]: Failed to initialize EGL display. There is no EGL_WL_bind_wayland_display extension.
Jul 09 13:00:07 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:00:07 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:00:13 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:00:22 Wonderframe Telegram[2210]: Corrupt JPEG data: premature end of data segment
Jul 09 13:00:22 Wonderframe Telegram[2210]: Corrupt JPEG data: premature end of data segment
Jul 09 13:00:22 Wonderframe Telegram[2210]: Corrupt JPEG data: premature end of data segment
Jul 09 13:00:26 Wonderframe swayosd-server[2509]: GtkGizmo 0x55717daf1ae0 (progress) reported min width -2, but sizes must be >= 0
Jul 09 13:01:18 Wonderframe swayosd-server[2509]: GtkGizmo 0x55717daf1ae0 (progress) reported min width -2, but sizes must be >= 0
Jul 09 13:01:18 Wonderframe swayosd-server[2509]: GtkGizmo 0x55717daf1ae0 (progress) reported min width -2, but sizes must be >= 0
Jul 09 13:01:18 Wonderframe swayosd-server[2509]: GtkGizmo 0x55717daf1ae0 (progress) reported min width -2, but sizes must be >= 0
Jul 09 13:01:18 Wonderframe swayosd-server[2509]: GtkGizmo 0x55717daf1ae0 (progress) reported min width -2, but sizes must be >= 0
Jul 09 13:01:45 Wonderframe swayosd-server[2509]: GtkGizmo 0x55717daf1ae0 (progress) reported min width -2, but sizes must be >= 0
Jul 09 13:01:48 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:01:48 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:02:24 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:02:24 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:02:27 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:02:27 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:02:43 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:02:43 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:03:01 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:03:01 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:03:49 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:03:49 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:04:31 Wonderframe swayosd-server[2509]: GtkGizmo 0x55717daf1ae0 (progress) reported min width -2, but sizes must be >= 0
Jul 09 13:04:31 Wonderframe swayosd-server[2509]: GtkGizmo 0x55717daf1ae0 (progress) reported min width -2, but sizes must be >= 0
Jul 09 13:04:31 Wonderframe swayosd-server[2509]: GtkGizmo 0x55717daf1ae0 (progress) reported min width -2, but sizes must be >= 0
Jul 09 13:04:31 Wonderframe swayosd-server[2509]: GtkGizmo 0x55717daf1ae0 (progress) reported min width -2, but sizes must be >= 0
Jul 09 13:04:32 Wonderframe swayosd-server[2509]: GtkGizmo 0x55717daf1ae0 (progress) reported min width -2, but sizes must be >= 0
Jul 09 13:04:55 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:04:55 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:05:20 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:05:25 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:05:49 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:07:10 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:07:11 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:07:11 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:08:14 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:08:14 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:08:54 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:08:54 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:10:44 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:10:44 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:14:22 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:14:22 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:15:35 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:15:35 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:15:44 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:15:44 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:15:51 Wonderframe swayosd-server[2509]: GtkGizmo 0x55717daf1ae0 (progress) reported min width -2, but sizes must be >= 0
Jul 09 13:24:05 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:24:05 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:24:25 Wonderframe swayosd-server[2509]: GtkGizmo 0x55717daf1ae0 (progress) reported min width -2, but sizes must be >= 0
Jul 09 13:25:20 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:25:20 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:25:27 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:25:27 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:25:30 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:25:30 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:25:35 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:25:35 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:25:39 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:25:39 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:25:47 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:25:47 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:25:58 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:25:58 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:39:58 Wonderframe Telegram[2210]: Corrupt JPEG data: premature end of data segment
Jul 09 13:39:58 Wonderframe Telegram[2210]: Corrupt JPEG data: premature end of data segment
Jul 09 13:39:58 Wonderframe Telegram[2210]: Corrupt JPEG data: premature end of data segment
Jul 09 13:45:32 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 13:46:26 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 14:02:37 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 14:02:38 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 14:02:38 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 14:02:49 Wonderframe swayosd-server[2509]: GtkGizmo 0x55717daf1ae0 (progress) reported min width -2, but sizes must be >= 0
Jul 09 14:02:49 Wonderframe swayosd-server[2509]: GtkGizmo 0x55717daf1ae0 (progress) reported min width -2, but sizes must be >= 0
Jul 09 14:02:50 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 14:02:50 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 14:03:19 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 14:03:19 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 14:47:33 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:01:04 Wonderframe Telegram[2210]: Corrupt JPEG data: premature end of data segment
Jul 09 15:01:05 Wonderframe Telegram[2210]: Corrupt JPEG data: premature end of data segment
Jul 09 15:01:06 Wonderframe Telegram[2210]: Corrupt JPEG data: premature end of data segment
Jul 09 15:01:59 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:01:59 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:02:41 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:02:41 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:03:44 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:03:44 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:03:58 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:03:58 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:04:05 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:04:05 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:04:45 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:04:52 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:05:07 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:05:13 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:05:14 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:05:15 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:05:16 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:05:18 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:06:37 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:06:37 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:06:47 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:06:47 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:08:48 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:08:48 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:09:08 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:09:08 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:10:06 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:10:06 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:11:08 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:11:08 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:11:46 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:11:46 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:12:52 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:12:52 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:13:02 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:13:06 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:13:09 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:13:10 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:13:11 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:13:15 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported
Jul 09 15:42:07 Wonderframe Telegram[2210]: Corrupt JPEG data: premature end of data segment
Jul 09 15:42:07 Wonderframe Telegram[2210]: Corrupt JPEG data: premature end of data segment
Jul 09 15:49:33 Wonderframe Telegram[2210]: Corrupt JPEG data: premature end of data segment
Jul 09 16:26:14 Wonderframe Telegram[2210]: Corrupt JPEG data: premature end of data segment
Jul 09 16:26:14 Wonderframe Telegram[2210]: Corrupt JPEG data: premature end of data segment
Jul 09 16:26:14 Wonderframe Telegram[2210]: Corrupt JPEG data: premature end of data segment
Jul 09 16:35:26 Wonderframe /usr/lib/xdg-desktop-portal[2569]: A backend call failed: Inhibiting other than idle not supported

[-- Attachment #3: pstore-20260709-2234.tar.gz --]
[-- Type: application/gzip, Size: 32119 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [REGRESSION?] hibernation soft lockup in migration/0 at multi_cpu_stop after image creation
  2026-07-09 18:38 [REGRESSION?] hibernation soft lockup in migration/0 at multi_cpu_stop after image creation Hlib Wondertan
@ 2026-07-09 18:42 ` Hlib Wondertan
  2026-07-10  7:18 ` Thorsten Leemhuis
  1 sibling, 0 replies; 4+ messages in thread
From: Hlib Wondertan @ 2026-07-09 18:42 UTC (permalink / raw)
  To: linux-pm


[-- Attachment #1.1: Type: text/plain, Size: 5961 bytes --]

Follow-up: I reproduced this again with a cleaner case, so low battery
is not required.

This hibernate attempt was triggered manually with `systemctl
hibernate` at `2026-07-09T22:23:05+04:00`. The pre-hibernate hook
captured:

```text
BAT1 status=Discharging
BAT1 capacity=94
MemAvailable:   19404760 kB
SwapTotal:      48212748 kB
SwapFree:       48212748 kB
HardwareCorrupted:     0 kB
```

The machine failed to resume again. The next boot reported:

```text
systemd-hibernate-resume: Reported hibernation image: ID=arch
kernel=7.1.2-arch3-1 UUID=... offset=4728064
systemd-hibernate-resume: Unable to resume from device
'/dev/mapper/root' (253:0) offset 4728064, continuing boot process.
kernel: PM: Image not found (code -22)
```

Fresh pstore entries from `2026-07-09 22:24:14..22:24:18` show the
same failure class:

```text
[16564.968865] PM: hibernation: Creating image
[16565.220053] PM: hibernation: Need to copy 3572244 pages
[16565.220058] PM: hibernation: Normal pages needed: 3572244 + 1024,
available pages: 4628990
[16590.011591] PM: hibernation: Image created (2796313 pages copied,
775931 zero pages)
[16592.366242] watchdog: BUG: soft lockup - CPU#0 stuck for 26s!
[migration/0:20]
[16592.366314] CPU: 0 UID: 0 PID: 20 Comm: migration/0 Not tainted
7.1.2-arch3-1 #1 PREEMPT(full)
914ec70c9fc54a99dc91d290948a1dd1bb226c49
[16592.366318] Stopper: multi_cpu_stop+0x0/0x140 <-
__stop_cpus.constprop.0+0x6d/0xb0
[16592.366324] RIP: 0010:stop_machine_yield+0x6/0x10
[16592.366354] Kernel panic - not syncing: softlockup: hung tasks
```

No SLUB/page-poison corruption messages appeared in this pstore
capture either. AMDGPU appears in the PM freeze path, but both GPUs
returned successfully before image creation:

```text
[16562.600668] amdgpu 0000:c4:00.0: PM: pci_pm_freeze returned 0 after
674791 usecs
[16564.745332] amdgpu 0000:c5:00.0: PM: pci_pm_freeze returned 0 after
3979478 usecs
[16564.828409] amdgpu 0000:c4:00.0: PM: pci_pm_freeze_noirq returned 0
after 46601 usecs
[16564.828411] amdgpu 0000:c5:00.0: PM: pci_pm_freeze_noirq returned 0
after 41254 usecs
```

I am attaching the new capture:


On Thu, 9 Jul 2026 at 22:38, Hlib Wondertan <hlibwondertan@gmail.com> wrote:

> Hi,
>
> I am seeing hibernation failures on a Framework Laptop 16 AMD Ryzen AI 300 Series. The best capture I have is from EFI pstore: the kernel creates the hibernation image, then CPU0 soft-locks in the CPU stopper thread and panics.
>
> Impact: the machine powers/reboots instead of resuming the previous session. The next boot reported no valid hibernation image.
>
> System:
>
> ```text
> Machine: Framework Laptop 16 (AMD Ryzen AI 300 Series)
> DMI board: FRANMHCP09
> BIOS: 03.06, 2026-04-23
> Kernel: 7.1.2-arch3-1
> Arch Linux
> ```
>
> Kernel config has the debug options requested for this class of issue:
>
> ```text
> CONFIG_HIBERNATION=y
> CONFIG_PM_DEBUG=y
> CONFIG_PM_SLEEP_DEBUG=y
> CONFIG_SLUB_DEBUG=y
> CONFIG_PAGE_POISONING=y
> CONFIG_STACKTRACE=y
> ```
>
> Relevant command line, with the root UUID elided:
>
> ```text
> root=/dev/mapper/root rootfstype=btrfs rootflags=subvol=@ rw
> resume=/dev/mapper/root resume_offset=4728064
> rtc_cmos.use_acpi_alarm=1 drm.debug=0x1df log_buf_len=32M
> ignore_loglevel printk.devkmsg=on slub_debug=UFPZ
> ```
>
> The hibernate attempt was triggered by upowerd at low battery. A systemd sleep hook ran before hibernation and captured:
>
> ```text
> phase=pre
> operation=hibernate
> date=2026-07-09T17:45:04+04:00
> uname=Linux Wonderframe 7.1.2-arch3-1 #1 SMP PREEMPT_DYNAMIC Fri, 03 Jul 2026 23:25:36 +0000 x86_64 GNU/Linux
> pm_test=[none] core processors platform devices freezer
> disk=platform [shutdown] reboot suspend test_resume
> panic_on_oops=1
> hardlockup_panic=1
> softlockup_panic=1
>
> BAT1 status=Discharging
> BAT1 capacity=4
> MemAvailable:   18303436 kB
> SwapTotal:      48212748 kB
> SwapFree:       48212748 kB
> HardwareCorrupted:     0 kB
> ```
>
> Relevant GPUs:
>
> ```text
> amdgpu 0000:c4:00.0 PCI_ID=1002:7480
> amdgpu 0000:c5:00.0 PCI_ID=1002:150E
> ```
>
> pstore excerpt from the failed hibernate:
>
> ```text
> [17199.818113] PM: hibernation: Creating image
> [17200.075162] PM: hibernation: Need to copy 3578614 pages
> [17200.075167] PM: hibernation: Normal pages needed: 3578614 + 1024, available pages: 4622595
> [17223.501212] PM: hibernation: Image created (2866538 pages copied, 712076 zero pages)
> [17224.160864] watchdog: BUG: soft lockup - CPU#0 stuck for 26s! [migration/0:20]
> [17224.160965] CPU: 0 UID: 0 PID: 20 Comm: migration/0 Not tainted 7.1.2-arch3-1 #1 PREEMPT(full)  914ec70c9fc54a99dc91d290948a1dd1bb226c49
> [17224.160969] Hardware name: Framework Laptop 16 (AMD Ryzen AI 300 Series)/FRANMHCP09, BIOS 03.06 04/23/2026
> [17224.160970] Stopper: multi_cpu_stop+0x0/0x140 <- __stop_cpus.constprop.0+0x6d/0xb0
> [17224.160980] RIP: 0010:multi_cpu_stop+0x87/0x140
> [17224.161015] Kernel panic - not syncing: softlockup: hung tasks
> [17224.161017] CPU: 0 UID: 0 PID: 20 Comm: migration/0 Tainted: G             L      7.1.2-arch3-1 #1 PREEMPT(full)  914ec70c9fc54a99dc91d290948a1dd1bb226c49
> [17224.161019] Tainted: [L]=SOFTLOCKUP
> [17224.161020] Hardware name: Framework Laptop 16 (AMD Ryzen AI 300 Series)/FRANMHCP09, BIOS 03.06 04/23/2026
> [17224.161020] Stopper: multi_cpu_stop+0x0/0x140 <- __stop_cpus.constprop.0+0x6d/0xb0
> [17224.161063] RIP: 0010:multi_cpu_stop+0x87/0x140
> ```
>
> There were no SLUB/page-poison corruption messages in the pstore chunks, despite `slub_debug=UFPZ`.
>
> An earlier hibernation pstore capture on the same kernel showed the same broad failure class, also in `migration/0`, but with `RIP: stop_machine_yield+0x6/0x10`.
>
> I have attached:
>
> ```text
> pstore-20260709-1748.tar.gz
> hibernate-pre-20260709-174504.log
> ```
>
> Please let me know what additional data would be useful. I can keep the debug boot parameters enabled and retest with a proposed patch or additional PM/debug options.
>
>
>

[-- Attachment #1.2: Type: text/html, Size: 6294 bytes --]

[-- Attachment #2: pstore-20260709-2234.tar.gz --]
[-- Type: application/gzip, Size: 32119 bytes --]

[-- Attachment #3: hibernate-pre-20260709-222305.log --]
[-- Type: text/x-log, Size: 14513 bytes --]

phase=pre
operation=hibernate
date=2026-07-09T22:23:05+04:00
boot_id=fdeab120-ff32-4130-af03-666f9029f3fe
uname=Linux Wonderframe 7.1.2-arch3-1 #1 SMP PREEMPT_DYNAMIC Fri, 03 Jul 2026 23:25:36 +0000 x86_64 GNU/Linux
uptime=16548.68 372846.85

== kernel debug knobs ==
cmdline=rd.luks.name=4f329a7b-c4b0-4738-bf81-375f242c2964=root root=/dev/mapper/root rootfstype=btrfs rootflags=subvol=@ rw resume=/dev/mapper/root resume_offset=4728064 rtc_cmos.use_acpi_alarm=1 drm.debug=0x1df log_buf_len=32M ignore_loglevel printk.devkmsg=on slub_debug=UFPZ
pm_test=[none] core processors platform devices freezer
disk=platform [shutdown] reboot suspend test_resume
state=freeze mem disk
panic_print=0
panic_on_oops=1
hardlockup_panic=1
softlockup_panic=1

== power supplies ==
-- ACAD --
type=Mains
-- BAT1 --
type=Battery
status=Discharging
capacity=94
voltage_now=17159000
current_now=364000
charge_now=4571000
charge_full=4884000
cycle_count=60
model_name=FRANDBA
manufacturer=NVT
-- ucsi-source-psy-USBC000:001 --
type=USB
status=Not charging
voltage_now=0
current_now=0
-- ucsi-source-psy-USBC000:002 --
type=USB
status=Not charging
voltage_now=0
current_now=0
-- ucsi-source-psy-USBC000:003 --
type=USB
status=Discharging
voltage_now=0
current_now=680000
-- ucsi-source-psy-USBC000:004 --
type=USB
status=Not charging
voltage_now=0
current_now=0

== memory ==
MemTotal:       31929524 kB
MemFree:         8423736 kB
MemAvailable:   19404760 kB
Buffers:            1400 kB
Cached:          8740944 kB
SwapCached:            0 kB
Active:         11416456 kB
Inactive:        8602036 kB
Active(anon):    8769136 kB
Inactive(anon):        0 kB
Active(file):    2647320 kB
Inactive(file):  8602036 kB
Unevictable:       86160 kB
Mlocked:             288 kB
SwapTotal:      48212748 kB
SwapFree:       48212748 kB
Zswap:                 0 kB
Zswapped:              0 kB
Dirty:              4228 kB
Writeback:             0 kB
AnonPages:      11342628 kB
Mapped:          1555972 kB
Shmem:            217624 kB
KReclaimable:     190736 kB
Slab:             604144 kB
SReclaimable:     190736 kB
SUnreclaim:       413408 kB
KernelStack:       29888 kB
PageTables:       103748 kB
SecPageTables:      4596 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    64177508 kB
Committed_AS:   22122560 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      186744 kB
VmallocChunk:          0 kB
Percpu:            24384 kB
HardwareCorrupted:     0 kB

== drm devices ==
-- /sys/class/drm/card1/device --
DRIVER=amdgpu
PCI_CLASS=30000
PCI_ID=1002:7480
PCI_SUBSYS_ID=F111:0007
PCI_SLOT_NAME=0000:c4:00.0
MODALIAS=pci:v00001002d00007480sv0000F111sd00000007bc03sc00i00
-- /sys/class/drm/card1-DP-1/device --
MAJOR=226
MINOR=1
DEVNAME=dri/card1
DEVTYPE=drm_minor
-- /sys/class/drm/card1-eDP-1/device --
MAJOR=226
MINOR=1
DEVNAME=dri/card1
DEVTYPE=drm_minor
-- /sys/class/drm/card1-Writeback-1/device --
MAJOR=226
MINOR=1
DEVNAME=dri/card1
DEVTYPE=drm_minor
-- /sys/class/drm/card2/device --
DRIVER=amdgpu
PCI_CLASS=38000
PCI_ID=1002:150E
PCI_SUBSYS_ID=F111:000D
PCI_SLOT_NAME=0000:c5:00.0
MODALIAS=pci:v00001002d0000150Esv0000F111sd0000000Dbc03sc80i00
-- /sys/class/drm/card2-DP-2/device --
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
-- /sys/class/drm/card2-DP-3/device --
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
-- /sys/class/drm/card2-DP-4/device --
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
-- /sys/class/drm/card2-DP-5/device --
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
-- /sys/class/drm/card2-DP-6/device --
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
-- /sys/class/drm/card2-DP-7/device --
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
-- /sys/class/drm/card2-DP-8/device --
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
-- /sys/class/drm/card2-DP-9/device --
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
-- /sys/class/drm/card2-eDP-2/device --
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor
-- /sys/class/drm/card2-Writeback-2/device --
MAJOR=226
MINOR=2
DEVNAME=dri/card2
DEVTYPE=drm_minor

== pstore files ==
dmesg-efi_pstore-178353458301001 1676 bytes 2026-07-08 22:16:23.0000000000
dmesg-efi_pstore-178353458302001 1659 bytes 2026-07-08 22:16:23.0000000000
dmesg-efi_pstore-178353458303001 1647 bytes 2026-07-08 22:16:23.0000000000
dmesg-efi_pstore-178353458404001 1699 bytes 2026-07-08 22:16:24.0000000000
dmesg-efi_pstore-178353458405001 1699 bytes 2026-07-08 22:16:24.0000000000
dmesg-efi_pstore-178353458406001 1666 bytes 2026-07-08 22:16:24.0000000000
dmesg-efi_pstore-178353458407001 1501 bytes 2026-07-08 22:16:24.0000000000
dmesg-efi_pstore-178353458408001 1556 bytes 2026-07-08 22:16:24.0000000000
dmesg-efi_pstore-178353458409001 1590 bytes 2026-07-08 22:16:24.0000000000
dmesg-efi_pstore-178353458410001 1587 bytes 2026-07-08 22:16:24.0000000000
dmesg-efi_pstore-178353458511001 1587 bytes 2026-07-08 22:16:25.0000000000
dmesg-efi_pstore-178353458512001 1587 bytes 2026-07-08 22:16:25.0000000000
dmesg-efi_pstore-178353458513001 1587 bytes 2026-07-08 22:16:25.0000000000
dmesg-efi_pstore-178353458514001 1591 bytes 2026-07-08 22:16:25.0000000000
dmesg-efi_pstore-178353458515001 1587 bytes 2026-07-08 22:16:25.0000000000
dmesg-efi_pstore-178353458516001 1591 bytes 2026-07-08 22:16:25.0000000000
dmesg-efi_pstore-178353458517001 1587 bytes 2026-07-08 22:16:25.0000000000
dmesg-efi_pstore-178353458618001 1587 bytes 2026-07-08 22:16:26.0000000000
dmesg-efi_pstore-178353458619001 1595 bytes 2026-07-08 22:16:26.0000000000
dmesg-efi_pstore-178353458620001 1503 bytes 2026-07-08 22:16:26.0000000000
dmesg-efi_pstore-178353458621001 1537 bytes 2026-07-08 22:16:26.0000000000
dmesg-efi_pstore-178353458622001 1679 bytes 2026-07-08 22:16:26.0000000000
dmesg-efi_pstore-178353458623001 1679 bytes 2026-07-08 22:16:26.0000000000
dmesg-efi_pstore-178353458624001 1652 bytes 2026-07-08 22:16:26.0000000000
dmesg-efi_pstore-178353458725001 1670 bytes 2026-07-08 22:16:27.0000000000
dmesg-efi_pstore-178353732501001 1692 bytes 2026-07-08 23:02:05.0000000000
dmesg-efi_pstore-178353732502001 1623 bytes 2026-07-08 23:02:05.0000000000
dmesg-efi_pstore-178353732603001 1362 bytes 2026-07-08 23:02:06.0000000000
dmesg-efi_pstore-178353732604001 1541 bytes 2026-07-08 23:02:06.0000000000
dmesg-efi_pstore-178353732605001 1690 bytes 2026-07-08 23:02:06.0000000000
dmesg-efi_pstore-178353732606001 1697 bytes 2026-07-08 23:02:06.0000000000
dmesg-efi_pstore-178353732607001 1652 bytes 2026-07-08 23:02:06.0000000000
dmesg-efi_pstore-178353732608001 1657 bytes 2026-07-08 23:02:06.0000000000
dmesg-efi_pstore-178353732709001 1680 bytes 2026-07-08 23:02:07.0000000000
dmesg-efi_pstore-178353732710001 1639 bytes 2026-07-08 23:02:07.0000000000
dmesg-efi_pstore-178353732711001 1655 bytes 2026-07-08 23:02:07.0000000000
dmesg-efi_pstore-178353732712001 1658 bytes 2026-07-08 23:02:07.0000000000
dmesg-efi_pstore-178353732713001 1622 bytes 2026-07-08 23:02:07.0000000000
dmesg-efi_pstore-178353732714001 1698 bytes 2026-07-08 23:02:07.0000000000
dmesg-efi_pstore-178353732715001 1628 bytes 2026-07-08 23:02:07.0000000000
dmesg-efi_pstore-178353732816001 1659 bytes 2026-07-08 23:02:08.0000000000
dmesg-efi_pstore-178353732817001 1625 bytes 2026-07-08 23:02:08.0000000000
dmesg-efi_pstore-178353732818001 1690 bytes 2026-07-08 23:02:08.0000000000
dmesg-efi_pstore-178353732819001 1630 bytes 2026-07-08 23:02:08.0000000000
dmesg-efi_pstore-178353732820001 1594 bytes 2026-07-08 23:02:08.0000000000
dmesg-efi_pstore-178353732821001 1678 bytes 2026-07-08 23:02:08.0000000000
dmesg-efi_pstore-178353732822001 1647 bytes 2026-07-08 23:02:08.0000000000
dmesg-efi_pstore-178360478901001 1692 bytes 2026-07-09 17:46:29.0000000000
dmesg-efi_pstore-178360479002001 1662 bytes 2026-07-09 17:46:30.0000000000
dmesg-efi_pstore-178360479003001 1276 bytes 2026-07-09 17:46:30.0000000000
dmesg-efi_pstore-178360479004001 1561 bytes 2026-07-09 17:46:30.0000000000
dmesg-efi_pstore-178360479005001 1670 bytes 2026-07-09 17:46:30.0000000000
dmesg-efi_pstore-178360479006001 1697 bytes 2026-07-09 17:46:30.0000000000
dmesg-efi_pstore-178360479007001 1652 bytes 2026-07-09 17:46:30.0000000000
dmesg-efi_pstore-178360479108001 1657 bytes 2026-07-09 17:46:31.0000000000
dmesg-efi_pstore-178360479109001 1690 bytes 2026-07-09 17:46:31.0000000000
dmesg-efi_pstore-178360479110001 1637 bytes 2026-07-09 17:46:31.0000000000
dmesg-efi_pstore-178360479111001 1670 bytes 2026-07-09 17:46:31.0000000000
dmesg-efi_pstore-178360479112001 1676 bytes 2026-07-09 17:46:31.0000000000
dmesg-efi_pstore-178360479113001 1635 bytes 2026-07-09 17:46:31.0000000000
dmesg-efi_pstore-178360479114001 1646 bytes 2026-07-09 17:46:31.0000000000
dmesg-efi_pstore-178360479215001 1698 bytes 2026-07-09 17:46:32.0000000000
dmesg-efi_pstore-178360479216001 1700 bytes 2026-07-09 17:46:32.0000000000
dmesg-efi_pstore-178360479217001 1651 bytes 2026-07-09 17:46:32.0000000000
dmesg-efi_pstore-178360479218001 1651 bytes 2026-07-09 17:46:32.0000000000
dmesg-efi_pstore-178360479219001 1651 bytes 2026-07-09 17:46:32.0000000000
dmesg-efi_pstore-178360479220001 1651 bytes 2026-07-09 17:46:32.0000000000
dmesg-efi_pstore-178360479221001 1651 bytes 2026-07-09 17:46:32.0000000000
dmesg-efi_pstore-178360479322001 1651 bytes 2026-07-09 17:46:33.0000000000
dmesg-efi_pstore-178360479323001 1668 bytes 2026-07-09 17:46:33.0000000000

== recent kernel warnings ==

== recent journal warnings ==
Jul 09 17:48:34 Wonderframe systemd[2753]: /etc/systemd/user.conf.d/99-omarchy-nofile.conf:2: Unknown key 'DefaultLimitNOFILESoft' in section [Manager], ignoring.
Jul 09 17:48:34 Wonderframe systemd[2753]: sys-devices-pci0000:00-0000:00:03.1-0000:c2:00.0-0000:c3:00.0-0000:c4:00.1-sound-card1-controlC1.device: Failed to enqueue SYSTEMD_USER_WANTS job, ignoring: Transaction for sound.target/start is destructive (sound.target has 'stop' job queued, but 'start' is included in transaction).
Jul 09 17:48:34 Wonderframe systemd[2753]: sys-devices-pci0000:00-0000:00:08.1-0000:c5:00.1-sound-card2-controlC2.device: Failed to enqueue SYSTEMD_USER_WANTS job, ignoring: Transaction for sound.target/start is destructive (sound.target has 'stop' job queued, but 'start' is included in transaction).
Jul 09 17:48:34 Wonderframe systemd[2753]: sys-devices-pci0000:00-0000:00:08.1-0000:c5:00.5-acp_asoc_acp70.0-acp\x2dpdm\x2dmach-sound-card0-controlC0.device: Failed to enqueue SYSTEMD_USER_WANTS job, ignoring: Transaction for sound.target/start is destructive (sound.target has 'stop' job queued, but 'start' is included in transaction).
Jul 09 17:48:34 Wonderframe dbus-broker-launch[2806]: Service file '/usr/share//dbus-1/services/fr.emersion.mako.service' is not named after the D-Bus name 'org.freedesktop.Notifications'.
Jul 09 17:48:34 Wonderframe systemd[2753]: /etc/systemd/user.conf.d/99-omarchy-nofile.conf:2: Unknown key 'DefaultLimitNOFILESoft' in section [Manager], ignoring.
Jul 09 17:48:36 Wonderframe wireplumber[3494]: s-monitors: Failed to create 'api.alsa.acp.device' device
Jul 09 17:48:38 Wonderframe Telegram[3098]: Failed to initialize EGL display. There is no EGL_WL_bind_wayland_display extension.
Jul 09 17:49:06 Wonderframe Telegram[3098]: Corrupt JPEG data: premature end of data segment
Jul 09 17:53:29 Wonderframe sudo[12127]: pam_unix(sudo:auth): conversation failed
Jul 09 17:53:29 Wonderframe sudo[12127]: pam_unix(sudo:auth): auth could not identify password for [wondertan]
Jul 09 18:11:45 Wonderframe Telegram[3098]: Corrupt JPEG data: premature end of data segment
Jul 09 18:11:45 Wonderframe Telegram[3098]: Corrupt JPEG data: premature end of data segment
Jul 09 18:11:46 Wonderframe Telegram[3098]: Corrupt JPEG data: premature end of data segment
Jul 09 18:11:46 Wonderframe Telegram[3098]: Corrupt JPEG data: premature end of data segment
Jul 09 18:34:28 Wonderframe /usr/lib/xdg-desktop-portal[3461]: A backend call failed: Inhibiting other than idle not supported
Jul 09 18:34:28 Wonderframe /usr/lib/xdg-desktop-portal[3461]: A backend call failed: Inhibiting other than idle not supported
Jul 09 18:34:41 Wonderframe /usr/lib/xdg-desktop-portal[3461]: A backend call failed: Inhibiting other than idle not supported
Jul 09 20:13:55 Wonderframe Telegram[3098]: Corrupt JPEG data: premature end of data segment
Jul 09 20:13:55 Wonderframe Telegram[3098]: Corrupt JPEG data: premature end of data segment
Jul 09 20:13:57 Wonderframe Telegram[3098]: Corrupt JPEG data: premature end of data segment
Jul 09 20:13:57 Wonderframe Telegram[3098]: Corrupt JPEG data: premature end of data segment
Jul 09 21:23:27 Wonderframe swayosd-server[3410]: GtkGizmo 0x55746ca59dd0 (progress) reported min width -2, but sizes must be >= 0
Jul 09 21:28:24 Wonderframe /usr/lib/xdg-desktop-portal[3461]: A backend call failed: Inhibiting other than idle not supported
Jul 09 21:31:40 Wonderframe swayosd-server[3410]: GtkGizmo 0x55746ca59dd0 (progress) reported min width -2, but sizes must be >= 0
Jul 09 21:31:40 Wonderframe swayosd-server[3410]: GtkGizmo 0x55746ca59dd0 (progress) reported min width -2, but sizes must be >= 0
Jul 09 21:31:41 Wonderframe swayosd-server[3410]: GtkGizmo 0x55746ca59dd0 (progress) reported min width -2, but sizes must be >= 0
Jul 09 21:31:41 Wonderframe swayosd-server[3410]: GtkGizmo 0x55746ca59dd0 (progress) reported min width -2, but sizes must be >= 0
Jul 09 21:31:42 Wonderframe swayosd-server[3410]: GtkGizmo 0x55746ca59dd0 (progress) reported min width -2, but sizes must be >= 0
Jul 09 21:38:04 Wonderframe /usr/lib/xdg-desktop-portal[3461]: A backend call failed: Inhibiting other than idle not supported
Jul 09 21:38:13 Wonderframe /usr/lib/xdg-desktop-portal[3461]: A backend call failed: Inhibiting other than idle not supported
Jul 09 21:46:10 Wonderframe swayosd-server[3410]: GtkGizmo 0x55746ca59dd0 (progress) reported min width -2, but sizes must be >= 0
Jul 09 21:48:01 Wonderframe /usr/lib/xdg-desktop-portal[3461]: A backend call failed: Inhibiting other than idle not supported
Jul 09 21:48:05 Wonderframe (udev-worker)[148364]: ACAD: Process '/usr/bin/systemd-run --no-block --collect --unit=omarchy-power-profile --property=After=power-profiles-daemon.service /home/wondertan/.local/share/omarchy/bin/omarchy-powerprofiles-set' failed with exit code 1.
Jul 09 21:58:43 Wonderframe /usr/lib/xdg-desktop-portal[3461]: A backend call failed: Inhibiting other than idle not supported
Jul 09 22:23:05 Wonderframe fprintd[151692]: Device reported an error during verify: Cannot run while suspended.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [REGRESSION?] hibernation soft lockup in migration/0 at multi_cpu_stop after image creation
  2026-07-09 18:38 [REGRESSION?] hibernation soft lockup in migration/0 at multi_cpu_stop after image creation Hlib Wondertan
  2026-07-09 18:42 ` Hlib Wondertan
@ 2026-07-10  7:18 ` Thorsten Leemhuis
       [not found]   ` <CAFdGzA6zQd9+1bqgpLgZJxbxh-krLo--J8q4yC_ODN9vdW+Tew@mail.gmail.com>
  1 sibling, 1 reply; 4+ messages in thread
From: Thorsten Leemhuis @ 2026-07-10  7:18 UTC (permalink / raw)
  To: Hlib Wondertan, linux-pm; +Cc: linux-kernel, regressions

Hi!

On 7/9/26 20:38, Hlib Wondertan wrote:
>
> I am seeing hibernation failures on a Framework Laptop 16 AMD Ryzen
> AI 300 Series. The best capture I have is from EFI pstore: the kernel
> creates the hibernation image, then CPU0 soft-locks in the CPU stopper
> thread and panics.

Thx for the report. You CCed the regression list, which leads to a
questions: what was the last version this was working?

Furthermore: Is mainline (7.2-rc) still affected?

And FWIW, if we are lucky some developer will show up in the next few
days with an idea what's wrong. But I doubt this will happen in this
case. So you most likely will have to bisect this to get this resolved:

https://docs.kernel.org/admin-guide/verify-bugs-and-bisect-regressions.html
https://docs.kernel.org/admin-guide/bug-bisect.html

Ciao, Thorsten
P.S.: Wild guess, but I wonder if this is related to (also waiting for
somebody to bisect):
https://gitlab.freedesktop.org/drm/amd/-/work_items/5387

> Impact: the machine powers/reboots instead of resuming the previous
> session. The next boot reported no valid hibernation image.
> 
> System:
> 
> ```text
> Machine: Framework Laptop 16 (AMD Ryzen AI 300 Series)
> DMI board: FRANMHCP09
> BIOS: 03.06, 2026-04-23
> Kernel: 7.1.2-arch3-1
> Arch Linux
> ```
> 
> Kernel config has the debug options requested for this class of issue:
> 
> ```text
> CONFIG_HIBERNATION=y
> CONFIG_PM_DEBUG=y
> CONFIG_PM_SLEEP_DEBUG=y
> CONFIG_SLUB_DEBUG=y
> CONFIG_PAGE_POISONING=y
> CONFIG_STACKTRACE=y
> ```
> 
> Relevant command line, with the root UUID elided:
> 
> ```text
> root=/dev/mapper/root rootfstype=btrfs rootflags=subvol=@ rw
> resume=/dev/mapper/root resume_offset=4728064
> rtc_cmos.use_acpi_alarm=1 drm.debug=0x1df log_buf_len=32M
> ignore_loglevel printk.devkmsg=on slub_debug=UFPZ
> ```
> 
> The hibernate attempt was triggered by upowerd at low battery. A systemd sleep hook ran before hibernation and captured:
> 
> ```text
> phase=pre
> operation=hibernate
> date=2026-07-09T17:45:04+04:00
> uname=Linux Wonderframe 7.1.2-arch3-1 #1 SMP PREEMPT_DYNAMIC Fri, 03 Jul 2026 23:25:36 +0000 x86_64 GNU/Linux
> pm_test=[none] core processors platform devices freezer
> disk=platform [shutdown] reboot suspend test_resume
> panic_on_oops=1
> hardlockup_panic=1
> softlockup_panic=1
> 
> BAT1 status=Discharging
> BAT1 capacity=4
> MemAvailable:   18303436 kB
> SwapTotal:      48212748 kB
> SwapFree:       48212748 kB
> HardwareCorrupted:     0 kB
> ```
> 
> Relevant GPUs:
> 
> ```text
> amdgpu 0000:c4:00.0 PCI_ID=1002:7480
> amdgpu 0000:c5:00.0 PCI_ID=1002:150E
> ```
> 
> pstore excerpt from the failed hibernate:
> 
> ```text
> [17199.818113] PM: hibernation: Creating image
> [17200.075162] PM: hibernation: Need to copy 3578614 pages
> [17200.075167] PM: hibernation: Normal pages needed: 3578614 + 1024, available pages: 4622595
> [17223.501212] PM: hibernation: Image created (2866538 pages copied, 712076 zero pages)
> [17224.160864] watchdog: BUG: soft lockup - CPU#0 stuck for 26s! [migration/0:20]
> [17224.160965] CPU: 0 UID: 0 PID: 20 Comm: migration/0 Not tainted 7.1.2-arch3-1 #1 PREEMPT(full)  914ec70c9fc54a99dc91d290948a1dd1bb226c49
> [17224.160969] Hardware name: Framework Laptop 16 (AMD Ryzen AI 300 Series)/FRANMHCP09, BIOS 03.06 04/23/2026
> [17224.160970] Stopper: multi_cpu_stop+0x0/0x140 <- __stop_cpus.constprop.0+0x6d/0xb0
> [17224.160980] RIP: 0010:multi_cpu_stop+0x87/0x140
> [17224.161015] Kernel panic - not syncing: softlockup: hung tasks
> [17224.161017] CPU: 0 UID: 0 PID: 20 Comm: migration/0 Tainted: G             L      7.1.2-arch3-1 #1 PREEMPT(full)  914ec70c9fc54a99dc91d290948a1dd1bb226c49
> [17224.161019] Tainted: [L]=SOFTLOCKUP
> [17224.161020] Hardware name: Framework Laptop 16 (AMD Ryzen AI 300 Series)/FRANMHCP09, BIOS 03.06 04/23/2026
> [17224.161020] Stopper: multi_cpu_stop+0x0/0x140 <- __stop_cpus.constprop.0+0x6d/0xb0
> [17224.161063] RIP: 0010:multi_cpu_stop+0x87/0x140
> ```
> 
> There were no SLUB/page-poison corruption messages in the pstore chunks, despite `slub_debug=UFPZ`.
> 
> An earlier hibernation pstore capture on the same kernel showed the same broad failure class, also in `migration/0`, but with `RIP: stop_machine_yield+0x6/0x10`.
> 
> I have attached:
> 
> ```text
> pstore-20260709-1748.tar.gz
> hibernate-pre-20260709-174504.log
> ```
> 
> Please let me know what additional data would be useful. I can keep the debug boot parameters enabled and retest with a proposed patch or additional PM/debug options.
> 
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [REGRESSION?] hibernation soft lockup in migration/0 at multi_cpu_stop after image creation
       [not found]     ` <CAFdGzA67J-RBmY_zePXKpVbuJ1nFB1poNouNvP65fYot1k0LZQ@mail.gmail.com>
@ 2026-07-10 10:27       ` Thorsten Leemhuis
  0 siblings, 0 replies; 4+ messages in thread
From: Thorsten Leemhuis @ 2026-07-10 10:27 UTC (permalink / raw)
  To: Hlib Wondertan
  Cc: linux-pm, linux-kernel, regressions,
	amd-gfx@lists.freedesktop.org, Alex Deucher, Christian König

[Sending this with a amdgpu list and maintainers in CC to ensure they
know about this. Note, looks a bit like this is another variant of
https://gitlab.freedesktop.org/drm/amd/-/work_items/5387 ]

On 7/10/26 11:07, Hlib Wondertan wrote:
> Last known actually working: unknown. I do not currently have a kernel version where hibernation was known to work reliably on this machine.
> 
> For this exact `migration/0` soft-lockup signature, however, I only remember seeing it after updating to `7.1.2-arch3-1`. I do not have pstore evidence of this soft-lockup on the earlier 7.0.x kernels and I've logged every failure while staying on 7. Therefore, there is a chance this is a regression.
> 
> What I have locally is:
> 
> 7.0.11-arch1-1: hibernate/image-not-found failure with pstore pointing at amdgpu/ttm, but not this soft-lockup
> 7.0.12/7.0.13/7.0.14: other hibernate/resume failures, not always with useful pstore, and no captured migration/0 soft-lockup
> 7.1.2-arch3-1: current pstore captures show the soft-lockup in migration/0 after image creation
> 
> 
> So yes, this may be related to the drm/amd issue you linked: https://gitlab.freedesktop.org/drm/amd/-/work_items/5387 <https://gitlab.freedesktop.org/drm/amd/-/work_items/5387>
> 
> 
> I have seen the 5387-style TTM/amdgpu issue quite often on this machine before 7.1 and also on 7.1, and I have been reporting those reproductions in that GitLab issue as well. The reason I filed this separately is that the visible pstore signature changed from the TTM/amdgpu oops path to a hibernation `migration/0` soft-lockup after image creation.
> 
> Mainline 7.2-rc: not tested yet. The only currently installed/running kernel here is `7.1.2-arch3-1`.
> 
> I can test a mainline/vanilla 7.2-rc kernel next and report whether it is still affected. If it still reproduces, I can then work on finding a real good/bad range for a bisect; right now I do not have a trustworthy last-good baseline.
> 
> 
> 
> On Fri, 10 Jul 2026 at 12:54, Hlib Wondertan <hlibwondertan@gmail.com
> <mailto:hlibwondertan@gmail.com>> wrote:
> 
> 
>     Last known actually working: unknown. I do not currently have a kernel version where hibernation was known to work reliably on this machine.
> 
>     For this exact `migration/0` soft-lockup signature, however, I only remember seeing it after updating to `7.1.2-arch3-1`. I do not have pstore evidence of this soft-lockup on the earlier 7.0.x kernels and I've logged every failure while staying on 7. Therefore, there is a chance this is a regression.
> 
>     What I have locally is:
> 
>     ```text
>     7.0.11-arch1-1: hibernate/image-not-found failure with pstore pointing at amdgpu/ttm, but not this soft-lockup
>     7.0.12/7.0.13/7.0.14: other hibernate/resume failures, not always with useful pstore, and no captured migration/0 soft-lockup
>     7.1.2-arch3-1: current pstore captures show the soft-lockup in migration/0 after image creation
>     ```
> 
>     So yes, this may be related to the drm/amd issue you linked:
> 
>     ```text
>     https://gitlab.freedesktop.org/drm/amd/-/work_items/5387 <https://gitlab.freedesktop.org/drm/amd/-/work_items/5387>
>     ```
> 
>     I have seen the 5387-style TTM/amdgpu issue quite often on this machine before 7.1 and also on 7.1, and I have been reporting those reproductions in that GitLab issue as well. The reason I filed this separately is that the visible pstore signature changed from the TTM/amdgpu oops path to a hibernation `migration/0` soft-lockup after image creation.
> 
>     Mainline 7.2-rc: not tested yet. The only currently installed/running kernel here is `7.1.2-arch3-1`.
> 
>     I can test a mainline/vanilla 7.2-rc kernel next and report whether it is still affected. If it still reproduces, I can then work on finding a real good/bad range for a bisect; right now I do not have a trustworthy last-good baseline.
> 
> 
> 
>     On Fri, 10 Jul 2026 at 11:19, Thorsten Leemhuis
>     <regressions@leemhuis.info <mailto:regressions@leemhuis.info>> wrote:
> 
>         Hi!
> 
>         On 7/9/26 20:38, Hlib Wondertan wrote:
>         >
>         > I am seeing hibernation failures on a Framework Laptop 16 AMD
>         Ryzen
>         > AI 300 Series. The best capture I have is from EFI pstore: the
>         kernel
>         > creates the hibernation image, then CPU0 soft-locks in the CPU
>         stopper
>         > thread and panics.
> 
>         Thx for the report. You CCed the regression list, which leads to a
>         questions: what was the last version this was working?
> 
>         Furthermore: Is mainline (7.2-rc) still affected?
> 
>         And FWIW, if we are lucky some developer will show up in the
>         next few
>         days with an idea what's wrong. But I doubt this will happen in this
>         case. So you most likely will have to bisect this to get this
>         resolved:
> 
>         https://docs.kernel.org/admin-guide/verify-bugs-and-bisect-
>         regressions.html <https://docs.kernel.org/admin-guide/verify-
>         bugs-and-bisect-regressions.html>
>         https://docs.kernel.org/admin-guide/bug-bisect.html <https://
>         docs.kernel.org/admin-guide/bug-bisect.html>
> 
>         Ciao, Thorsten
>         P.S.: Wild guess, but I wonder if this is related to (also
>         waiting for
>         somebody to bisect):
>         https://gitlab.freedesktop.org/drm/amd/-/work_items/5387
>         <https://gitlab.freedesktop.org/drm/amd/-/work_items/5387>
> 
>         > Impact: the machine powers/reboots instead of resuming the
>         previous
>         > session. The next boot reported no valid hibernation image.
>         >
>         > System:
>         >
>         > ```text
>         > Machine: Framework Laptop 16 (AMD Ryzen AI 300 Series)
>         > DMI board: FRANMHCP09
>         > BIOS: 03.06, 2026-04-23
>         > Kernel: 7.1.2-arch3-1
>         > Arch Linux
>         > ```
>         >
>         > Kernel config has the debug options requested for this class
>         of issue:
>         >
>         > ```text
>         > CONFIG_HIBERNATION=y
>         > CONFIG_PM_DEBUG=y
>         > CONFIG_PM_SLEEP_DEBUG=y
>         > CONFIG_SLUB_DEBUG=y
>         > CONFIG_PAGE_POISONING=y
>         > CONFIG_STACKTRACE=y
>         > ```
>         >
>         > Relevant command line, with the root UUID elided:
>         >
>         > ```text
>         > root=/dev/mapper/root rootfstype=btrfs rootflags=subvol=@ rw
>         > resume=/dev/mapper/root resume_offset=4728064
>         > rtc_cmos.use_acpi_alarm=1 drm.debug=0x1df log_buf_len=32M
>         > ignore_loglevel printk.devkmsg=on slub_debug=UFPZ
>         > ```
>         >
>         > The hibernate attempt was triggered by upowerd at low battery.
>         A systemd sleep hook ran before hibernation and captured:
>         >
>         > ```text
>         > phase=pre
>         > operation=hibernate
>         > date=2026-07-09T17:45:04+04:00
>         > uname=Linux Wonderframe 7.1.2-arch3-1 #1 SMP PREEMPT_DYNAMIC
>         Fri, 03 Jul 2026 23:25:36 +0000 x86_64 GNU/Linux
>         > pm_test=[none] core processors platform devices freezer
>         > disk=platform [shutdown] reboot suspend test_resume
>         > panic_on_oops=1
>         > hardlockup_panic=1
>         > softlockup_panic=1
>         >
>         > BAT1 status=Discharging
>         > BAT1 capacity=4
>         > MemAvailable:   18303436 kB
>         > SwapTotal:      48212748 kB
>         > SwapFree:       48212748 kB
>         > HardwareCorrupted:     0 kB
>         > ```
>         >
>         > Relevant GPUs:
>         >
>         > ```text
>         > amdgpu 0000:c4:00.0 PCI_ID=1002:7480
>         > amdgpu 0000:c5:00.0 PCI_ID=1002:150E
>         > ```
>         >
>         > pstore excerpt from the failed hibernate:
>         >
>         > ```text
>         > [17199.818113] PM: hibernation: Creating image
>         > [17200.075162] PM: hibernation: Need to copy 3578614 pages
>         > [17200.075167] PM: hibernation: Normal pages needed: 3578614 +
>         1024, available pages: 4622595
>         > [17223.501212] PM: hibernation: Image created (2866538 pages
>         copied, 712076 zero pages)
>         > [17224.160864] watchdog: BUG: soft lockup - CPU#0 stuck for
>         26s! [migration/0:20]
>         > [17224.160965] CPU: 0 UID: 0 PID: 20 Comm: migration/0 Not
>         tainted 7.1.2-arch3-1 #1 PREEMPT(full) 
>         914ec70c9fc54a99dc91d290948a1dd1bb226c49
>         > [17224.160969] Hardware name: Framework Laptop 16 (AMD Ryzen
>         AI 300 Series)/FRANMHCP09, BIOS 03.06 04/23/2026
>         > [17224.160970] Stopper: multi_cpu_stop+0x0/0x140 <-
>         __stop_cpus.constprop.0+0x6d/0xb0
>         > [17224.160980] RIP: 0010:multi_cpu_stop+0x87/0x140
>         > [17224.161015] Kernel panic - not syncing: softlockup: hung tasks
>         > [17224.161017] CPU: 0 UID: 0 PID: 20 Comm: migration/0
>         Tainted: G             L      7.1.2-arch3-1 #1 PREEMPT(full) 
>         914ec70c9fc54a99dc91d290948a1dd1bb226c49
>         > [17224.161019] Tainted: [L]=SOFTLOCKUP
>         > [17224.161020] Hardware name: Framework Laptop 16 (AMD Ryzen
>         AI 300 Series)/FRANMHCP09, BIOS 03.06 04/23/2026
>         > [17224.161020] Stopper: multi_cpu_stop+0x0/0x140 <-
>         __stop_cpus.constprop.0+0x6d/0xb0
>         > [17224.161063] RIP: 0010:multi_cpu_stop+0x87/0x140
>         > ```
>         >
>         > There were no SLUB/page-poison corruption messages in the
>         pstore chunks, despite `slub_debug=UFPZ`.
>         >
>         > An earlier hibernation pstore capture on the same kernel
>         showed the same broad failure class, also in `migration/0`, but
>         with `RIP: stop_machine_yield+0x6/0x10`.
>         >
>         > I have attached:
>         >
>         > ```text
>         > pstore-20260709-1748.tar.gz
>         > hibernate-pre-20260709-174504.log
>         > ```
>         >
>         > Please let me know what additional data would be useful. I can
>         keep the debug boot parameters enabled and retest with a
>         proposed patch or additional PM/debug options.
>         >
>         >
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-07-10 10:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-09 18:38 [REGRESSION?] hibernation soft lockup in migration/0 at multi_cpu_stop after image creation Hlib Wondertan
2026-07-09 18:42 ` Hlib Wondertan
2026-07-10  7:18 ` Thorsten Leemhuis
     [not found]   ` <CAFdGzA6zQd9+1bqgpLgZJxbxh-krLo--J8q4yC_ODN9vdW+Tew@mail.gmail.com>
     [not found]     ` <CAFdGzA67J-RBmY_zePXKpVbuJ1nFB1poNouNvP65fYot1k0LZQ@mail.gmail.com>
2026-07-10 10:27       ` Thorsten Leemhuis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox