You are not logged in.
Hey,
I am unable to properly suspend (or hibernate) my system.
After around 10 seconds of being suspended (10 seconds during which my system is able to wake up and starts running just fine) it randomly restarts. This happens for all kernels after 6.15.9 (in the core repo).
Here is an uploaded journal: http://0x0.st/KsAS.txt
go to
ago 18 22:16:36 dell-xps systemd-logind[1094]: The system will suspend now!Some discussion has previously happened here.
I'm running an XPS 9320 with an i7-1260P. It has an ipu6 camera and I have intel-ivsc-firmware installed.
All I found after attempting a bisection using kernels found here is that version all the way up to 6.16.rc7.140 are able to maintain suspension properly (later ones fail).
6.17.7 is the latest official release as of today, and it's still broken.
Last edited by alba4k (2025-11-12 17:42:40)
Offline
rc7 is the latest rc in https://github.com/gregkh/linux/commits/v6.16 (rc8 never got tagged)
There ~75 commits inbetween, so likely 6 bisection steps
ago 18 22:16:36 dell-xps systemd-logind[1094]: The system will suspend now!
ago 18 22:16:36 dell-xps NetworkManager[1090]: <info> [1755548196.0947] manager: sleep: sleep requested (sleeping: no enabled: yes)
ago 18 22:16:36 dell-xps NetworkManager[1090]: <info> [1755548196.0949] device (p2p-dev-wlp0s20f3): state change: disconnected -> unmanaged (reason 'unmanaged-sleeping', managed-type: 'full')
ago 18 22:16:36 dell-xps NetworkManager[1090]: <info> [1755548196.0954] device (18:26:54:3C:0F:AD): state change: disconnected -> unmanaged (reason 'unmanaged-sleeping', managed-type: 'full')
ago 18 22:16:36 dell-xps polkitd[1122]: Unregistered Authentication Agent for unix-process:5065:7804 (system bus name :1.534, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale it_CH.UTF-8) (disconnected from bus)
ago 18 22:16:36 dell-xps NetworkManager[1090]: <info> [1755548196.0958] manager: NetworkManager state is now ASLEEP
ago 18 22:16:36 dell-xps NetworkManager[1090]: <info> [1755548196.0960] device (wlp0s20f3): state change: activated -> deactivating (reason 'sleeping', managed-type: 'full')
ago 18 22:16:36 dell-xps systemd[1]: Starting Network Manager Script Dispatcher Service...
ago 18 22:16:36 dell-xps systemd[1]: Started Network Manager Script Dispatcher Service.
ago 18 22:16:36 dell-xps kernel: wlp0s20f3: deauthenticating from 00:31:92:28:11:86 by local choice (Reason: 3=DEAUTH_LEAVING)
ago 18 22:16:36 dell-xps wpa_supplicant[1123]: nl80211: send_event_marker failed: Source based routing not supported
ago 18 22:16:36 dell-xps wpa_supplicant[1123]: wlp0s20f3: CTRL-EVENT-DISCONNECTED bssid=00:31:92:28:11:86 reason=3 locally_generated=1
ago 18 22:16:36 dell-xps wpa_supplicant[1123]: wlp0s20f3: CTRL-EVENT-DSCP-POLICY clear_all
ago 18 22:16:36 dell-xps NetworkManager[1090]: <info> [1755548196.2324] device (wlp0s20f3): supplicant interface state: completed -> disconnected
ago 18 22:16:36 dell-xps NetworkManager[1090]: <info> [1755548196.2326] device (wlp0s20f3): state change: deactivating -> disconnected (reason 'sleeping', managed-type: 'full')
ago 18 22:16:36 dell-xps NetworkManager[1090]: <info> [1755548196.2330] dhcp4 (wlp0s20f3): canceled DHCP transaction
ago 18 22:16:36 dell-xps NetworkManager[1090]: <info> [1755548196.2330] dhcp4 (wlp0s20f3): activation: beginning transaction (timeout in 45 seconds)
ago 18 22:16:36 dell-xps NetworkManager[1090]: <info> [1755548196.2330] dhcp4 (wlp0s20f3): state changed no lease
ago 18 22:16:36 dell-xps NetworkManager[1090]: <info> [1755548196.2332] dhcp6 (wlp0s20f3): canceled DHCP transaction
ago 18 22:16:36 dell-xps NetworkManager[1090]: <info> [1755548196.2332] dhcp6 (wlp0s20f3): state changed no lease
ago 18 22:16:36 dell-xps NetworkManager[1090]: <info> [1755548196.2556] device (wlp0s20f3): set-hw-addr: set MAC address to 4A:17:29:16:A4:2B (scanning)
ago 18 22:16:36 dell-xps NetworkManager[1090]: <info> [1755548196.3058] device (wlp0s20f3): state change: disconnected -> unmanaged (reason 'unmanaged-sleeping', managed-type: 'full')
ago 18 22:16:36 dell-xps NetworkManager[1090]: <info> [1755548196.4375] device (wlp0s20f3): set-hw-addr: reset MAC address to 38:7A:0E:DB:63:BB (unmanage)
ago 18 22:16:36 dell-xps wpa_supplicant[1123]: p2p-dev-wlp0s20: CTRL-EVENT-DSCP-POLICY clear_all
ago 18 22:16:36 dell-xps wpa_supplicant[1123]: p2p-dev-wlp0s20: CTRL-EVENT-DSCP-POLICY clear_all
ago 18 22:16:36 dell-xps wpa_supplicant[1123]: nl80211: deinit ifname=p2p-dev-wlp0s20 disabled_11b_rates=0
ago 18 22:16:36 dell-xps systemd[1]: Reached target Sleep.
ago 18 22:16:36 dell-xps systemd[1]: Starting System Suspend...
ago 18 22:16:36 dell-xps wpa_supplicant[1123]: wlp0s20f3: CTRL-EVENT-DSCP-POLICY clear_all
ago 18 22:16:36 dell-xps systemd[1]: user@1000.service: Unit now frozen-by-parent.
ago 18 22:16:36 dell-xps systemd[1]: session-1.scope: Unit now frozen-by-parent.
ago 18 22:16:36 dell-xps systemd[1]: user-1000.slice: Unit now frozen-by-parent.
ago 18 22:16:36 dell-xps systemd[1]: user.slice: Unit now frozen.
ago 18 22:16:36 dell-xps systemd-sleep[5109]: Successfully froze unit 'user.slice'.
ago 18 22:16:36 dell-xps wpa_supplicant[1123]: wlp0s20f3: CTRL-EVENT-DSCP-POLICY clear_all
ago 18 22:16:36 dell-xps wpa_supplicant[1123]: nl80211: deinit ifname=wlp0s20f3 disabled_11b_rates=0
ago 18 22:16:36 dell-xps systemd-sleep[5109]: Performing sleep operation 'suspend'...
ago 18 22:16:36 dell-xps kernel: PM: suspend entry (s2idle)
-- Boot 4691f4c477e749e689c4d242473ec090 --Can you enter S3/deep sleep?
https://wiki.archlinux.org/title/Power_ … end_method
ago 18 22:17:02 archlinux kernel: nvme0n1: p1 p2
ago 18 22:17:02 archlinux systemd[1]: Found device PM9A1 NVMe Samsung 512GB 2.
ago 18 22:17:05 dell-xps systemd[1]: Condition check resulted in PM9A1 NVMe Samsung 512GB 1 being skipped.
ago 18 22:17:06 dell-xps kernel: FAT-fs (nvme0n1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
ago 18 22:17:18 dell-xps kernel: nvme nvme0: using unchecked data buffer
ago 18 22:17:18 dell-xps kernel: block nvme0n1: No UUID available providing old NGUIDhttps://wiki.archlinux.org/title/Solid_ … leshooting
nvme_core.default_ps_max_latency_us=0 pcie_port_pm=off iommu=softYou could also add "pcie_aspm=off" but
ago 17 00:17:20 archlinux kernel: ACPI FADT declares the system doesn't support PCIe ASPM, so disable itASPM isn't supported anyway?
Online
Regarding the kernel bisection, is there somewhere where I can find compiled kernels?
I don't this I can enter S3, as all I see In /sys/power/mem_sleep is "[s2idle]" (and I don't see anything in my fw settings to change this, just an option to block S3, but that's disabled)
I'll try adding those 4 kernel args but I don't expect much to change (edit: yeah no changes)
Last edited by alba4k (Yesterday 21:12:03)
Offline
gromit or loqs might volunteer to assist you with the bisection as build-monkeys, but there's no repo that holds build of every single kernel patch precompiled
(the beauty of bisection is the logarithmic scale, ie the ability to run through tens of thousands of patches with some dozen actual builds)
Online
So what, should I just try contacting one of them (referencing this post) and kindly ask? That feels a bit off haha
Last edited by alba4k (Yesterday 21:15:08)
Offline
"haha" - if you see no way to bisect the kernel yourself.
https://wiki.archlinux.org/title/Bisect … s_with_Git
https://wiki.gentoo.org/wiki/Kernel_git-bisect
Have you already checked the nvme behavior?
Online
I guess I'll take a look...
Regarding the NVME, those messages appeareven in LTS (http://0x0.st/Kp_m.txt) with
nvme_core.default_ps_max_latency_us=0 pcie_port_pm=off iommu=soft pcie_aspm=off I can still find these messages with 6.17.7 with that cmdline http://0x0.st/Kp_N.txt
I would say that not much is changed by those. I got rid of the fsck "reminder" by running fsck, but "sudo fsck.fat -r /dev/nvme0n1p1" still sometimes complains. I'm not sure this is relevant to the main issue however..?
No noteworthy difference when removing that cmdline (http://0x0.st/Kp_e.txt)
Last edited by alba4k (Yesterday 21:53:51)
Offline
You're not looking for any specific messages, I just pointed out that the nvme is there and maybe not the most reliable one to reason the approach.
"Some data may be corrupt." is from unclean shutdowns leading to the dirty bit on the /boot vfat.
Online
That is probably my fault and not the ssd's.
Regarding the bisect, this is probably a useless check but I can just use the AUR linux-git right?
Last edited by alba4k (Yesterday 21:56:29)
Offline
It's a direct consequence of the involuntary reboots and not the issue here.
So adding "nvme_core.default_ps_max_latency_us=0 pcie_port_pm=off iommu=soft pcie_aspm=off" didn't do anything about those?
You'll have to bisect this then - a cold reboot out of s2idle sounds like something triggers some hardware defect and we'll not get any data to analyze for that ![]()
My last idea would be https://wiki.archlinux.org/title/Intel_ … up_from_S3
Online
Actually, being able to use a PKGBUILD is 100% good enough for me even if it's not a compiled package, thanks for suggesting that. I don't know why I didn't think of it myself.
See my comment on the previous thread - I'll try bisecting based on linux-git from 89be9a8 (tag 6.16-rc7, should be good, will check) to 038d61f (tag 6.16, should be bad, will checked)
Let's hope this doesn't take an eternity, which it likely will ![]()
the nvme stuff is probably unrelated as I've seen it happen even before this whole issue, and honestly I don't care as long as it doesn't lead to further complications. I know it should be looked into. But it's not really the priority at the moment
Hey, I'm not exactly sure why the build of rc7 is failing? I accepted all defaults when I was prompted for anything before the build started, maybe there is some older pkgbuild I should use?
RUSTC L rust/core.o
BINDGEN rust/bindings/bindings_generated.rs
BINDGEN rust/bindings/bindings_helpers_generated.rs
CC rust/helpers/helpers.o
RUSTC P rust/libpin_init_internal.so
error: error loading target specification: target-pointer-width: invalid type: string "64", expected u16 at line 8 column 32
|
= help: run `rustc --print target-list` for a list of built-in targets
RUSTC P rust/libmacros.so
make[2]: *** [rust/Makefile:495: rust/core.o] Error 1
make[2]: *** Attesa per i processi non terminati....
make[1]: *** [/home/alba4k/linux-git/src/linux-torvalds/Makefile:1280: prepare] Error 2
make: *** [Makefile:248: __sub-make] Error 2edit: looks like cloning again, changing commit and building again fixed it... :shrug:
edit 2: it failed after ~1h with the following
ZSTD /home/alba4k/linux-git/pkg/linux-git/usr/lib/modules/6.16.0-rc7-1-git/kernel/virt/lib/irqbypass.ko.zst
DEPMOD /home/alba4k/linux-git/pkg/linux-git/usr/lib/modules/6.16.0-rc7-1-git
Warning: 'make modules_install' requires /doesnt/exist. Please install it.
This is probably in the kmod package.
==> Rimozione dei dati superflui in corso...
-> Rimozione dei file libtool in corso...
-> Eliminazione dei file indesiderati in corso...
-> Rimozione dei file dalle librerie statiche...
-> Compressione delle pagine man ed info in corso...
==> Controllo per il rilascio dei pacchetti in corso...
==> Creazione del pacchetto "linux-git" in corso...
-> Generazione del file .PKGINFO in corso...
-> Generazione del file .BUILDINFO in corso...
-> Aggiunta del file install in corso...
-> Creazione del file .MTREE in corso...
-> Compressione del pacchetto in corso...
==> Avvio di package_linux-git-headers() in corso...
Installing build files...
Installing headers...
Installing KConfig files...
Installing Rust files...
install: impossibile eseguire stat di 'rust/*.rmeta': File o directory non esistente
==> ERRORE: Si è verificato un errore in package_linux-git-headers().
L'operazione sta per essere interrotta...Regardless, I'm sitll getting a package as the error occurs after the compilation finishes, so I'm going with that. Let me know if this might be a problem
edit 3: linux-git from 89be9a8 (tag 6.16-rc7) carries the broken suspension apparently. I'll try to move back from there tomorrow and post a new comment once I find the first bad commit
edit 4: d7b8f8e also fails to build with
GEN modules.builtin
MODPOST Module.symvers
ERROR: modpost: missing MODULE_LICENSE() in sound/pci/hda/snd-hda-codec-idt.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/pci/hda/snd-hda-codec-idt.o
make[2]: *** [scripts/Makefile.modpost:147: Module.symvers] Error 1
make[1]: *** [/home/alba4k/linux-git/src/linux-torvalds/Makefile:1953: modpost] Error 2
make: *** [Makefile:248: __sub-make] Error 2
==> ERRORE: Si è verificato un errore in build().Last edited by alba4k (Today 08:39:49)
Offline