LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Resume after Suspend-to-RAM broken after -current update (https://www.linuxquestions.org/questions/slackware-14/resume-after-suspend-to-ram-broken-after-current-update-4175639445/)

Martinus2u 09-30-2018 04:10 AM

Resume after Suspend-to-RAM broken after -current update
 
I'm trying to troubleshoot an issue that started after suspending-to-RAM my machine on 22nd of Sept: it no longer resumes. When pressing a key there is no visible/audible hardware reaction, pressing the ON switch will perform a cold boot. BIOS settings are unchanged.

Since then I have put in a new PSU (suspiciously the old one died with an issue in the 5V standby circuit). The resume issue persists.

One thing I did on the 22nd when the issue started, I upgraded the following packages from -current (according to /var/lib/pkgtools/packages). Is there any package in there that could have caused the issue?

Code:

-rw-r--r-- 1 root root    1430 Sep 22 11:13 libinput-compat32-1.12.0-x86_64-1compat32
-rw-r--r-- 1 root root    1351 Sep 22 11:13 fontconfig-compat32-2.13.1-x86_64-1compat32
-rw-r--r-- 1 root root  34369 Sep 22 11:13 samba-compat32-4.9.0-x86_64-2compat32
-rw-r--r-- 1 root root    1478 Sep 22 11:13 openssl-compat32-1.1.1-x86_64-1compat32
-rw-r--r-- 1 root root    1783 Sep 22 11:13 gnutls-compat32-3.6.3-x86_64-2compat32
-rw-r--r-- 1 root root    1195 Sep 22 11:13 pcre2-compat32-10.32-x86_64-1compat32
-rw-r--r-- 1 root root    1139 Sep 22 11:13 libarchive-compat32-3.3.3-x86_64-1compat32
-rw-r--r-- 1 root root    1469 Sep 22 11:13 harfbuzz-compat32-1.9.0-x86_64-1compat32
-rw-r--r-- 1 root root    1856 Sep 22 11:13 glib2-compat32-2.56.2-x86_64-2compat32
-rw-r--r-- 1 root root    1269 Sep 22 11:13 freetype-compat32-2.9.1-x86_64-2compat32
-rw-r--r-- 1 root root    1278 Sep 22 11:13 sqlite-compat32-3.25.0-x86_64-1compat32
-rw-r--r-- 1 root root    1271 Sep 22 11:13 openssl-solibs-compat32-1.1.1-x86_64-1compat32
-rw-r--r-- 1 root root  15589 Sep 22 11:09 glibc-solibs-2.28_multilib-x86_64-2alien
-rw-r--r-- 1 root root    1351 Sep 22 11:08 glibc-profile-2.28_multilib-x86_64-2alien
-rw-r--r-- 1 root root  517158 Sep 22 11:08 glibc-i18n-2.28_multilib-x86_64-2alien
-rw-r--r-- 1 root root  34326 Sep 22 11:08 glibc-2.28_multilib-x86_64-2alien
-rw-r--r-- 1 root root  60974 Sep 22 11:08 zsh-5.6.2-x86_64-1
-rw-r--r-- 1 root root    2201 Sep 22 11:08 xterm-336-x86_64-1
-rw-r--r-- 1 root root    1338 Sep 22 11:08 xorriso-1.5.0-x86_64-1
-rw-r--r-- 1 root root    2855 Sep 22 11:08 xfsprogs-4.18.0-x86_64-1
-rw-r--r-- 1 root root    1138 Sep 22 11:08 xf86-video-vmware-13.3.0-x86_64-2
-rw-r--r-- 1 root root    1278 Sep 22 11:08 xf86-video-ati-18.1.0-x86_64-1
-rw-r--r-- 1 root root    1222 Sep 22 11:08 xf86-video-amdgpu-18.1.0-x86_64-1
-rw-r--r-- 1 root root  10094 Sep 22 11:07 tumbler-0.2.3-x86_64-1
-rw-r--r-- 1 root root    963 Sep 22 11:07 sysvinit-scripts-2.1-noarch-20
-rw-r--r-- 1 root root    6237 Sep 22 11:07 sudo-1.8.25p1-x86_64-1
-rw-r--r-- 1 root root    2263 Sep 22 11:07 squashfs-tools-20180612_6e242dc-x86_64-1
-rw-r--r-- 1 root root    1204 Sep 22 11:07 sqlite-3.25.1-x86_64-1
-rw-r--r-- 1 root root    7745 Sep 22 11:07 soprano-2.9.4-x86_64-3
-rw-r--r-- 1 root root    5675 Sep 22 11:07 sg3_utils-1.44-x86_64-1
-rw-r--r-- 1 root root  60059 Sep 22 11:07 samba-4.9.0-x86_64-2
-rw-r--r-- 1 root root  15994 Sep 22 11:06 postfix-3.3.1-x86_64-2
-rw-r--r-- 1 root root  25967 Sep 22 11:06 php-7.2.10-x86_64-1
-rw-r--r-- 1 root root    9789 Sep 22 11:06 pcre2-10.32-x86_64-1
-rw-r--r-- 1 root root    7850 Sep 22 11:06 opusfile-0.11-x86_64-1
-rw-r--r-- 1 root root    771 Sep 22 11:06 opus-tools-0.2-x86_64-1
-rw-r--r-- 1 root root    6479 Sep 22 11:06 opus-1.3_rc2-x86_64-1
-rw-r--r-- 1 root root    1687 Sep 22 11:06 openssl-solibs-1.1.1-x86_64-1
-rw-r--r-- 1 root root  51136 Sep 22 11:06 openssl-1.1.1-x86_64-1
-rw-r--r-- 1 root root  17050 Sep 22 11:05 network-manager-applet-1.8.18-x86_64-1
-rw-r--r-- 1 root root    5817 Sep 22 11:05 nano-3.1-x86_64-1
-rw-r--r-- 1 root root    6190 Sep 22 11:05 mesa-18.2.1-x86_64-1
-rw-r--r-- 1 root root  13845 Sep 22 11:05 media-player-info-24-noarch-1
-rw-r--r-- 1 root root  141290 Sep 22 11:05 llvm-7.0.0-x86_64-1
-rw-r--r-- 1 root root    1470 Sep 22 11:05 links-2.17-x86_64-1
-rw-r--r-- 1 root root    2754 Sep 22 11:05 librsvg-2.44.3-x86_64-1
-rw-r--r-- 1 root root    3373 Sep 22 11:04 libinput-1.12.0-x86_64-1
-rw-r--r-- 1 root root    2623 Sep 22 11:04 libarchive-3.3.3-x86_64-1
-rw-r--r-- 1 root root  27980 Sep 22 11:04 kernel-headers-4.14.71-x86-1
-rw-r--r-- 1 root root  82763 Sep 22 11:04 imagemagick-6.9.10_11-x86_64-1
-rw-r--r-- 1 root root    1920 Sep 22 11:04 icecream-20180905_cdc6ff8-x86_64-1
-rw-r--r-- 1 root root    7236 Sep 22 11:04 harfbuzz-1.9.0-x86_64-1
-rw-r--r-- 1 root root  26017 Sep 22 11:04 gstreamer-1.14.3-x86_64-1
-rw-r--r-- 1 root root    2879 Sep 22 11:04 gst-plugins-libav-1.14.3-x86_64-1
-rw-r--r-- 1 root root  45560 Sep 22 11:04 gst-plugins-good-1.14.3-x86_64-1
-rw-r--r-- 1 root root  46749 Sep 22 11:04 gst-plugins-base-1.14.3-x86_64-1
-rw-r--r-- 1 root root  67646 Sep 22 11:04 grub-2.02-x86_64-3
-rw-r--r-- 1 root root  56528 Sep 22 11:04 gnutls-3.6.3-x86_64-2
-rw-r--r-- 1 root root  44997 Sep 22 11:04 glib2-2.56.2-x86_64-2
-rw-r--r-- 1 root root  61857 Sep 22 11:04 git-2.19.0-x86_64-1
-rw-r--r-- 1 root root  29788 Sep 22 11:04 ghostscript-9.25-x86_64-1
-rw-r--r-- 1 root root    4155 Sep 22 11:04 freetype-2.9.1-x86_64-2
-rw-r--r-- 1 root root  11040 Sep 22 11:04 fontconfig-2.13.1-x86_64-1
-rw-r--r-- 1 root root  10009 Sep 22 11:03 ffmpeg-3.4.4-x86_64-2
-rw-r--r-- 1 root root    3676 Sep 22 11:03 eudev-3.2.6-x86_64-1
-rw-r--r-- 1 root root    1781 Sep 22 11:03 elilo-3.16-x86_64-8
-rw-r--r-- 1 root root    1038 Sep 22 11:03 dmidecode-3.2-x86_64-1
-rw-r--r-- 1 root root  140104 Sep 22 11:03 cmake-3.12.2-x86_64-1
-rw-r--r-- 1 root root  13693 Sep 22 11:03 binutils-2.31.1-x86_64-4
-rw-r--r-- 1 root root  42581 Sep 22 11:03 NetworkManager-1.14.0-x86_64-1
-rw-r--r-- 1 root root    3548 Sep 22 11:03 slackpkg-2.83.0-noarch-4
-rw-r--r-- 1 root root    1204 Sep 22 11:00 zstd-1.3.5-x86_64-1
-rw-r--r-- 1 root root    1165 Sep 22 11:00 lmdb-0.9.22-x86_64-2
-rw-r--r-- 1 root root    4106 Sep 22 11:00 libopusenc-0.2-x86_64-1

update: I have experimented with an older kernel as well, that is confirmed to be working before the 22nd, but still no success

SCerovec 09-30-2018 03:55 PM

5v happens to be close related to standby, just noting.

Skaendo 09-30-2018 06:26 PM

No issues here, updated as of: Sat Sep 29 20:01:29 UTC 2018

NOTE: I am using on a laptop and this is after closing the lid, letting it completely settle and opening the lid again.

Martinus2u 10-11-2018 03:17 PM

Just to give this issue some closure: my current thinking is that the issue was hardware related and that I was unlucky not with one, but with two power supply units.

dive 10-11-2018 07:49 PM

Is the issue fixed now?

If not, some things that may help to troubleshoot and/or fix it:


Turning off extra cores:

echo 0 > /sys/devices/system/cpu/cpu*/online

(Turn them back on again with 'echo 1')


If using one of the pm-* scripts, try issuing the command directly to the
kernel:

echo -n mem > /sys/power/state


Turn off any daemons/services that may be running first - I have had prolems
with pulseaudio in the past and added /etc/rc.d/rc.pulseaudio stop to my
suspend and hibernate scripts.


You can also try unloading modules to see if it helps too, and perhaps try
turning off networking too.


Hope this helps


All times are GMT -5. The time now is 08:26 PM.