From unknown Tue Jun 17 21:53:56 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#63045 <63045@debbugs.gnu.org> To: bug#63045 <63045@debbugs.gnu.org> Subject: Status: Can't suspend and wakeup outside of gnome Reply-To: bug#63045 <63045@debbugs.gnu.org> Date: Wed, 18 Jun 2025 04:53:56 +0000 retitle 63045 Can't suspend and wakeup outside of gnome reassign 63045 guix submitter 63045 Stefan Huchler severity 63045 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 23 22:14:02 2023 Received: (at submit) by debbugs.gnu.org; 24 Apr 2023 02:14:02 +0000 Received: from localhost ([127.0.0.1]:47237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqliM-0001xS-IP for submit@debbugs.gnu.org; Sun, 23 Apr 2023 22:14:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:59616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqliL-0001wx-3U for submit@debbugs.gnu.org; Sun, 23 Apr 2023 22:14:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pqliK-0006Vu-LN for bug-guix@gnu.org; Sun, 23 Apr 2023 22:14:00 -0400 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pqliJ-0006sn-5q for bug-guix@gnu.org; Sun, 23 Apr 2023 22:14:00 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pqliF-00006j-WE for bug-guix@gnu.org; Mon, 24 Apr 2023 04:13:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-guix@gnu.org From: Stefan Huchler Subject: Can't suspend and wakeup outside of gnome Date: Mon, 24 Apr 2023 04:13:49 +0200 Message-ID: <87ildmf2n6.fsf@mail.de> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cancel-Lock: sha1:x4wg8RoqzypFp6Mzca/QeNW7NZ0= Received-SPF: pass client-ip=116.202.254.214; envelope-from=gcggb-bug-guix@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 11 X-Spam_score: 1.1 X-Spam_bar: + X-Spam_report: (1.1 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TO_NO_BRKTS_PCNT=2.499, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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 [...] Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefan.huchler[at]mail.de) -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.51.188.17 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=gcggb-bug-guix%40m.gmane-mx.org; ip=209.51.188.17; r=debbugs.gnu.org] 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 0.0 SPOOFED_FREEMAIL No description available. 2.5 TO_NO_BRKTS_PCNT To: lacks brackets + percentage X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 25 20:05:12 2023 Received: (at submit) by debbugs.gnu.org; 26 Apr 2023 00:05:12 +0000 Received: from localhost ([127.0.0.1]:53789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prSem-0008Li-0k for submit@debbugs.gnu.org; Tue, 25 Apr 2023 20:05:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:49168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prSek-0008La-6W for submit@debbugs.gnu.org; Tue, 25 Apr 2023 20:05:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1prSeh-0005rL-Mt for bug-guix@gnu.org; Tue, 25 Apr 2023 20:05:09 -0400 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1prSef-00080D-CU for bug-guix@gnu.org; Tue, 25 Apr 2023 20:05:07 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1prSeb-0003Q5-Ji for bug-guix@gnu.org; Wed, 26 Apr 2023 02:05:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-guix@gnu.org From: Stefan Huchler Subject: Re: bug#63045: Can't suspend and wakeup outside of gnome Date: Wed, 26 Apr 2023 02:04:56 +0200 Message-ID: <87a5yvfqzb.fsf@mail.de> References: <87ildmf2n6.fsf@mail.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cancel-Lock: sha1:E25j2fhp/c5lcqyZhh/9WRV0er4= Received-SPF: pass client-ip=116.202.254.214; envelope-from=gcggb-bug-guix@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) --=-=-= Content-Type: text/plain here is the part of the log that should show a crash from suspend. --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=error-suspend.txt 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 --=-=-=--