Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: System freezes immediately on suspending, where do I investigate?

  1. #1
    Join Date
    Feb 2020
    Beans
    9

    System freezes immediately on suspending, where do I investigate?

    I've been trying to suspend my newly installed Xubuntu 19.10 machine, a Lenovo S340 Ideapad. Upon pressing suspend while logged in, the system freezes instantly. The screen does not go black and even after half an hour, the machine accepts no inputs other than the classic REISUB combo. I can't even move the mouse or change tty. This happens whenever I attempt to suspend, even with systemctl suspend.

    Where can I investigate the cause of this problem? kern.log shows the entry PM: suspend entry (deep) at what looks like the appropriate time, but nothing comes before this other than what I was doing many minutes before and nothing comes after until the reboot has started. On the other hand, syslog.log shows more activity, and I have reproduced this below. Everything before and after the given point in time is too far out to be relevant:
    Code:
    Feb 12 22:55:17 MyPC NetworkManager[1198]: <info>  [1581548117.3612] device (p2p-dev-wlp2s0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
    Feb 12 22:55:17 MyPC whoopsie[1521]: [22:55:17] offline
    Feb 12 22:55:17 MyPC NetworkManager[1198]: <info>  [1581548117.3616] manager: NetworkManager state is now ASLEEP
    Feb 12 22:55:17 MyPC systemd[1]: Reached target Sleep.
    Feb 12 22:55:17 MyPC systemd[1]: Starting Suspend...
    Feb 12 22:55:17 MyPC kernel: [ 8812.324175] PM: suspend entry (deep)
    Feb 12 22:55:17 MyPC systemd-sleep[16039]: Suspending system...
    As for solving this problem, nothing that I've seen online has worked:
    • Blacklisting Intel modules such as mei has changed nothing.
    • I have no NVDIA modules to blacklist
    • cat /sys/power/mem_sleep returns s2idle [deep] as expected
    • Making changes to Grub's GRUB_CMDLINE_LINUX_DEFAULT settings for the PCIe connection to my SSD has done nothing.
    • Editing SuspendState in /etc/systemd/sleep.conf has done nothing.

  2. #2
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!

    Re: System freezes immediately on suspending, where do I investigate?

    Just out of interest, what happens if you use the command
    Code:
    xfce4-session-logout --suspend
    It certainly works as it should in 20.04 to suspend the OS, so I assume it will in 19.10, provided your problem is not hardware related.
    DISTRO: Xubuntu 18.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo --- Wireless-Info --- SolvedThreads

  3. #3
    Join Date
    Feb 2020
    Beans
    9

    Re: System freezes immediately on suspending, where do I investigate?

    Quote Originally Posted by ajgreeny View Post
    Just out of interest, what happens if you use the command
    Code:
    xfce4-session-logout --suspend
    It causes a freeze after I hit enter. The last thing that happens is the line break appearing on the terminal.

  4. #4
    Join Date
    Feb 2020
    Beans
    9

    Re: System freezes immediately on suspending, where do I investigate?

    Just a thought, are there any signs of this being fixed in 20.04?

  5. #5
    Join Date
    Feb 2020
    Beans
    9

    Re: System freezes immediately on suspending, where do I investigate?

    Another thought - probably my last - wasn't the kernal code for sleep changed a few years ago? IIRC pm-utils isn't used for suspend any more either. Is there a chance that my problems would be solved if I tried an old Live CD from 16.04?

  6. #6
    Join Date
    Feb 2014
    Location
    Yes
    Beans
    256
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: System freezes immediately on suspending, where do I investigate?

    It may be that the kernel version you're using is botching suspend/wakeup with your hardware.
    See if 'ubuntu kernel update utility" works on your system. Note what kernel you're using, try some others and see if s/w problems go away.

  7. #7
    Join Date
    Feb 2020
    Beans
    9

    Re: System freezes immediately on suspending, where do I investigate?

    Quote Originally Posted by ra7411 View Post
    'ubuntu kernel update utility"
    That's 'sudo apt-get install ukuu', right? Should I backup before playing with this stuff? It doesn't sound easily revertible.

  8. #8
    Join Date
    Feb 2020
    Beans
    9

    Re: System freezes immediately on suspending, where do I investigate?

    According to ukuu, I'm running the 5.3.0-29-generic kernel. Any idea what I should try instead? 5.3.18 is the latest point update, is that what I should go for?
    Last edited by kinite4067; 2 Days Ago at 04:35 PM.

  9. #9
    Join Date
    Feb 2014
    Location
    Yes
    Beans
    256
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: System freezes immediately on suspending, where do I investigate?

    OK, your last post came in while I was typing the stuff below.
    In my UB 18.04 desktop, I had s/w failures in kernels 5.5.xxx and 5.3.xxx, I randomly tried 5.1.0-050100-generic and s/w has been working for the last 4 days.
    Good luck.

    xxx
    Using this utility to change kernel versions you boot with is less dangerous than it seems.
    However, ALWAYS have o/s and user files backed up.
    Use the utility to get some kernel versions onto to your machine.
    I'm not familiar with Xubuntu.
    From recent personal experience in Ubuntu 18.04, during bootup, select -Advanced Options- and you get a list of kernels to use
    .
    Paper and pencil- take notes, see if any of these kernels work in allowing suspend/wakeup to work.

    Kernels do have some security features in them, but I doubt using older kernels (as you might wind up using) on a linux pc v. linux
    server will be particularly hazardous.



    Last edited by ra7411; 2 Days Ago at 04:45 PM.

  10. #10
    Join Date
    Feb 2020
    Beans
    9

    Re: System freezes immediately on suspending, where do I investigate?

    Quote Originally Posted by ra7411 View Post
    I had s/w failures in kernels 5.5.xxx and 5.3.xxx, I randomly tried 5.1.0-050100-generic and s/w has been working for the last 4 days.
    Good luck.
    No luck I'm afraid, after installing a bunch of new ones, I've tried most of the following kernels:
    • 5.1.21-050121.201907280731
    • 5.3.0-18.19+1
    • 5.3.18-050318.201912181133
    • 5.3.0.29.33
    • 5.3.0-29.31
    • 5.0.21-050021.201906040731
    • 5.1.1-050101.201905110631

    And I've had identical failures in each one. Any ideas for my next step?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •