unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#63045: Can't suspend and wakeup outside of gnome
@ 2023-04-24  2:13 Stefan Huchler
  2023-04-26  0:04 ` Stefan Huchler
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Huchler @ 2023-04-24  2:13 UTC (permalink / raw)
  To: 63045

When I try to suspend as example with loginctl suspend, but also other
methods like dbus command sending or the echo mem > ... it sometimes
works but around 60% mostly the 2nd time never reaches fully the suspend
state but monitor is out, no suspend typical power blinking, the only
way to recover is then to shut down the pc long power button press.

Now I switched from nixos where it worked I also tried to install the
5.15 kernel so in case it's a kernel bug, but the same issue.

I run into another person on #guix irc which claimed to have the same
issue, with a totally different system, I use a amd Ryzen 5 2400G with
the vanilla kernel not linux-libre he said he used the libre kernel with
a intel system.

Did report this already to the nonguix repo.
https://gitlab.com/nonguix/nonguix/-/issues/257

My workaround is to have a gnome instance runnig on tty8 and switch
there to suspend it over gnome then it works always.





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

* bug#63045: Can't suspend and wakeup outside of gnome
  2023-04-24  2:13 bug#63045: Can't suspend and wakeup outside of gnome Stefan Huchler
@ 2023-04-26  0:04 ` Stefan Huchler
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Huchler @ 2023-04-26  0:04 UTC (permalink / raw)
  To: 63045

[-- Attachment #1: Type: text/plain, Size: 68 bytes --]

here is the part of the log that should show a crash from suspend.


[-- Attachment #2: error-suspend.txt --]
[-- Type: text/plain, Size: 2190 bytes --]

Apr 15 19:38:32 localhost elogind[352]: Suspending system...
Apr 15 19:38:32 localhost vmunix: [   96.960350] PM: suspend entry (deep)
Apr 15 19:38:34 localhost vmunix: [   96.971363] Filesystems sync: 0.011 seconds
Apr 15 19:38:34 localhost vmunix: [   96.971643] Freezing user space processes
Apr 15 19:38:34 localhost vmunix: [   96.972920] Freezing user space processes completed (elapsed 0.001 seconds)
Apr 15 19:38:34 localhost vmunix: [   96.972926] OOM killer disabled.
Apr 15 19:38:34 localhost vmunix: [   96.972927] Freezing remaining freezable tasks
Apr 15 19:38:34 localhost vmunix: [   96.974038] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
Apr 15 19:38:34 localhost vmunix: [   96.974062] printk: Suspending console(s) (use no_console_suspend to debug)
Apr 15 19:38:34 localhost vmunix: [   96.975397] serial 00:04: disabled
Apr 15 19:38:34 localhost vmunix: [   96.975545] r8169 0000:02:00.0 enp2s0: Link is Down
Apr 15 19:38:34 localhost vmunix: [   97.002210] sd 0:0:0:0: [sda] Synchronizing SCSI cache
Apr 15 19:38:34 localhost vmunix: [   97.002481] sd 0:0:0:0: [sda] Stopping disk
Apr 15 19:38:34 localhost vmunix: [   97.290213] ACPI: PM: Preparing to enter system sleep state S3
Apr 15 19:38:34 localhost vmunix: [   97.830759] ACPI: PM: Saving platform NVS memory
Apr 15 19:38:34 localhost vmunix: [   97.830872] Disabling non-boot CPUs ...
Apr 15 19:38:34 localhost vmunix: [   97.830875] Wakeup pending. Abort CPU freeze
Apr 15 19:38:34 localhost vmunix: [   97.830876] Non-boot CPUs are not disabled
Apr 15 19:38:34 localhost vmunix: [   97.830886] ACPI: PM: Waking up from system sleep state S3
Apr 15 19:38:34 localhost vmunix: [   98.162855] xhci_hcd 0000:03:00.3: Controller not ready at resume -19
Apr 15 19:38:34 localhost vmunix: [   98.162881] xhci_hcd 0000:03:00.3: PCI post-resume error -19!
Apr 15 19:38:34 localhost vmunix: [   98.162884] xhci_hcd 0000:03:00.3: HC died; cleaning up
Apr 15 19:38:34 localhost vmunix: [   98.162892] xhci_hcd 0000:03:00.3: PM: dpm_run_callback(): pci_pm_resume+0x0/0x110
 returns -19
Apr 15 19:38:34 localhost vmunix: [   98.162908] xhci_hcd 0000:03:00.3: PM: failed to resume async: error -19

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

end of thread, other threads:[~2023-04-26 21:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-24  2:13 bug#63045: Can't suspend and wakeup outside of gnome Stefan Huchler
2023-04-26  0:04 ` Stefan Huchler

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).