Leap 15.6 randomly suspends
Hello, never had this issue with Leap <=15.4. The PC randomly (sometimes after days, sometimes only after a few hours of now HID-input) goes into suspend mode: (from /var/log/messages: ) 2024-07-30T20:57:09.297900+02:00 lambda systemd[1]: suspend.target: Collecting. [...] 2024-07-30T21:38:21.750934+02:00 lambda systemd-logind[1754]: The system will suspend now! [...] 2024-07-30T21:38:22.620979+02:00 lambda systemd[1]: systemd-suspend.service: About to execute: /usr/lib/systemd/systemd-sleep suspend Most times the PC fails to resume from suspend. But that is not the issue, I do not want the PC to go into suspend mode at all. Can't find anything related in /etc/sysconfig or any file related to suspend/sleep in /etc. If it is somehow caused by the display or window manager, I use GDM and Gnome, but in the latter's setting suspend is also disabled. What's going on? Thanks for any assistance. Regards Paul P.S.: Just found something. Before last suspend gnome-shell dumped core and I found this in /var/log/messages: 2024-07-30T20:57:06.399357+02:00 lambda systemd-coredump[9968]: Process 7285 (gnome-shell) of user 1000 dumped core.#012#012Stack [...] [...] 2024-07-30T20:57:06.562775+02:00 lambda systemd[2416]: gnome-session-failed.target: Trying to enqueue job gnome-session-failed.target/start/replace [...] 024-07-30T20:57:09.291122+02:00 lambda systemd-logind[1754]: Got message type=method_call sender=:1.4325 destination=:1.0 path=/org/freedesktop/login1 interface=org.freedesktop.login1.Manager member=CanSuspend cookie=63 reply_cookie=0 signature= error-name=n/a error-message=n/a 2024-07-30T20:57:09.291681+02:00 lambda systemd-logind[1754]: Failed to open configuration file '/etc/systemd/sleep.conf': No such file or directory 2024-07-30T20:57:09.291797+02:00 lambda systemd-logind[1754]: Sleep mode "freeze" is supported by the kernel. 2024-07-30T20:57:09.291893+02:00 lambda systemd-logind[1754]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=GetConnectionUnixUser cookie=2223 reply_cookie=0 signature=s error-name=n/a error-message=n/a 2024-07-30T20:57:09.292135+02:00 lambda systemd-logind[1754]: Got message type=method_return sender=org.freedesktop.DBus destination=:1.0 path=n/a interface=n/a member=n/a cookie=296 reply_cookie=2223 signature=u error-name=n/a error-message=n/a 2024-07-30T20:57:09.292228+02:00 lambda systemd-logind[1754]: Sent message type=method_call sender=n/a destination=org.freedesktop.systemd1 path=/org/freedesktop/systemd1/unit/suspend_2etarget interface=org.freedesktop.DBus.Properties member=Get cookie=2224 reply_cookie=0 signature=ss error-name=n/a error-message=n/a anyway to disallow that "member=CanSuspend"?
Hello, In the Message; Subject : Leap 15.6 randomly suspends Message-ID : <alpine.LSU.2.21.2407311231150.30303@alpha.swabian.net> Date & Time: Wed, 31 Jul 2024 12:55:00 +0200 (CEST) [PN] == Paul Neuwirth via openSUSE Users <users@lists.opensuse.org> has written: PN> Hello, PN> never had this issue with Leap <=15.4. The PC randomly (sometimes after days, PN> sometimes only after a few hours of now HID-input) goes into suspend mode: PN> (from /var/log/messages: ) PN> 2024-07-30T20:57:09.297900+02:00 lambda systemd[1]: suspend.target: Collecting. PN> [...] PN> 2024-07-30T21:38:21.750934+02:00 lambda systemd-logind[1754]: The system will PN> suspend now! PN> [...] PN> 2024-07-30T21:38:22.620979+02:00 lambda systemd[1]: systemd-suspend.service: PN> About to execute: /usr/lib/systemd/systemd-sleep suspend PN> Most times the PC fails to resume from suspend. But that is not PN> the issue, I do not want the PC to go into suspend mode at all. [...] Please show the results of; $ ps aux | grep daemon Best Regards. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "To hire for skills, firms will need to implement robust and intentional changes in their hiring practices ― and change is hard." -- Employers don’t practice what they preach on skills-based hiring --
On Thursday 2024-08-01 03:07, Masaru Nomiya wrote:
Date: Thu, 1 Aug 2024 03:07:08 From: Masaru Nomiya <nomiya@lake.dti.ne.jp> Reply-To: m.nomiya+suse@gmail.com To: users@lists.opensuse.org Subject: Re: Leap 15.6 randomly suspends
Hello,
In the Message;
Subject : Leap 15.6 randomly suspends Message-ID : <alpine.LSU.2.21.2407311231150.30303@alpha.swabian.net> Date & Time: Wed, 31 Jul 2024 12:55:00 +0200 (CEST)
[PN] == Paul Neuwirth via openSUSE Users <users@lists.opensuse.org> has written:
PN> Hello, PN> never had this issue with Leap <=15.4. The PC randomly (sometimes after days, PN> sometimes only after a few hours of now HID-input) goes into suspend mode:
PN> (from /var/log/messages: ) PN> 2024-07-30T20:57:09.297900+02:00 lambda systemd[1]: suspend.target: Collecting. PN> [...] PN> 2024-07-30T21:38:21.750934+02:00 lambda systemd-logind[1754]: The system will PN> suspend now! PN> [...] PN> 2024-07-30T21:38:22.620979+02:00 lambda systemd[1]: systemd-suspend.service: PN> About to execute: /usr/lib/systemd/systemd-sleep suspend
PN> Most times the PC fails to resume from suspend. But that is not PN> the issue, I do not want the PC to go into suspend mode at all. [...]
Please show the results of;
$ ps aux | grep daemon
Best Regards.
here you go: ~> ps aux | grep daemon pane 1044 0.0 0.0 314132 15340 ? Ssl Jul31 0:45 /usr/bin/ibus-daemon --panel disable --xim pane 1250 0.0 0.0 1350456 25376 ? S<sl Jul31 1:05 /usr/bin/pulseaudio --daemonize=no --log-target=journal pane 1325 0.0 0.0 401812 45796 ? Sl Jul31 0:01 /usr/lib64/ibus/ibus-x11 --kill-daemon avahi 1687 0.0 0.0 11740 3328 ? Ss Jul31 0:00 avahi-daemon: running [linux-nude.local] message+ 1689 0.0 0.0 28156 16956 ? Ss Jul31 0:04 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only root 1731 0.0 0.0 2948 2048 ? Ss Jul31 0:00 /usr/sbin/mcelog --ignorenodev --daemon --foreground pane 1912 0.0 0.0 715164 44836 ? Sl Jul31 0:00 /usr/lib/goa-daemon pane 8303 0.0 0.0 162048 5964 ? SLl Jul31 0:00 scdaemon --multi-server root 13999 0.0 0.0 326712 9728 ? Ssl Jul31 0:00 /usr/lib/accounts-daemon pane 27585 0.0 0.0 8380 2304 pts/4 S+ 14:37 0:00 grep --color=auto daemon root 29961 0.0 0.0 314936 11040 ? Ssl Jul31 0:00 /usr/lib/power-profiles-daemon rtkit 30102 0.0 0.0 23404 3328 ? SNsl Jul31 0:01 /usr/lib/rtkit/rtkit-daemon pane 30817 0.0 0.0 389280 11392 ? SLl Jul31 0:00 /usr/bin/gnome-keyring-daemon --daemonize --login pane 31251 0.0 0.0 13036 4608 ? Ss Jul31 0:02 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only pane 31492 0.0 0.0 9860 1464 ? Ss Jul31 0:00 /usr/bin/ssh-agent /usr/bin/gpg-agent --sh --daemon --keep-display /etc/X11/xinit/xinitrc pane 31493 0.0 0.0 232968 2304 ? Ssl Jul31 0:02 /usr/bin/gpg-agent --sh --daemon --keep-display /etc/X11/xinit/xinitrc pane 31653 0.0 0.0 11892 4096 ? S Jul31 0:02 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 11 --address=unix:path=/run/user/1000/at-spi/bus_1
On 2024-07-31 12:55, Paul Neuwirth via openSUSE Users wrote:
Hello, never had this issue with Leap <=15.4. The PC randomly (sometimes after days, sometimes only after a few hours of now HID-input) goes into suspend mode:
...
If it is somehow caused by the display or window manager, I use GDM and Gnome, but in the latter's setting suspend is also disabled.
What's going on? Thanks for any assistance.
Regards
Paul
P.S.: Just found something. Before last suspend gnome-shell dumped core and I found this in /var/log/messages:
...
anyway to disallow that "member=CanSuspend"?
You can try to disable sleep mode with systemd. See <https://www.tecmint.com/disable-suspend-and-hibernation-in-linux/>, for instance: systemctl mask sleep.target suspend.target \ hibernate.target hybrid-sleep.target You probably only need the suspend.target, so: systemctl mask suspend.target The site says reboot to enable. Maybe systemctl daemon-reload is enough. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
On Thursday 2024-08-01 13:04, Carlos E. R. wrote:
Date: Thu, 1 Aug 2024 13:04:10 From: Carlos E. R. <robin.listas@telefonica.net> To: oS-EN <users@lists.opensuse.org> Subject: Re: Leap 15.6 randomly suspends
You can try to disable sleep mode with systemd.
See <https://www.tecmint.com/disable-suspend-and-hibernation-in-linux/>, for instance:
systemctl mask sleep.target suspend.target \ hibernate.target hybrid-sleep.target
You probably only need the suspend.target, so:
systemctl mask suspend.target
The site says reboot to enable. Maybe
systemctl daemon-reload
is enough.
-- Cheers / Saludos,
Carlos E. R. (from 15.5 x86_64 at Telcontar)
oh thanks, that should do the trick - as I do not need suspend at all.. Regards, Paul
participants (3)
-
Carlos E. R.
-
Masaru Nomiya
-
Paul Neuwirth