Ubuntu 18.10 crashes after suspending

Ubuntu Linux

Ubuntu 18.10, or otherwise referred to as Ubuntu Cosmic Cuttlefish, boasts quite a few improvements compared to Ubuntu 18.04. I upgraded from 18.04 LTS to 18.10 but found that Ubuntu 18.10 crashes after suspending.

Herewith some of the steps I took to debug the issue…

Possible Issue With Grub Causing a Suspend Crash?

My install failed whilst upgrading, so there is a good chance the Grub bootloader was never upgraded.

Enter the following in your shell to update Grub:

sudo update-grub
sudo reboot

This did not resolve my issue on my laptop but has worked for others.

Possible Driver Issue?

Enter the following in your shell to check if there are other issues:


In my case, the response is:

[ 129.452637] Bluetooth: RFCOMM TTY layer initialized
[ 129.452642] Bluetooth: RFCOMM socket layer initialized
[ 129.452647] Bluetooth: RFCOMM ver 1.11
[ 134.916299] rfkill: input handler disabled
[ 649.144523] IPv6: ADDRCONF(NETDEV_UP): wlx000f005d5c7d: link is not ready
[ 649.355803] PM: suspend entry (deep)
[ 649.355807] PM: Syncing filesystems ... done.
[ 650.123105] rfkill: input handler enabled
[ 650.161373] Freezing user space processes ... (elapsed 0.002 seconds) done.
[ 650.163700] OOM killer disabled.
[ 650.163700] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 650.165107] Suspending console(s) (use no_console_suspend to debug)
[ 650.165646] rmi4_f03 rmi4-00.fn03: rmi_f03_pt_write: Failed to write to F03 TX register (-6).[ 650.165649] psmouse serio2: Failed to disable mouse on rmi4-00.fn03/serio0[ 650.165966] rmi4_f03 rmi4-00.fn03: rmi_f03_pt_write: Failed to write to F03 TX register (-6).[ 650.166282] rmi4_f03 rmi4-00.fn03: rmi_f03_pt_write: Failed to write to F03 TX register (-6).[ 650.166814] rmi4_f01 rmi4-00.fn01: Failed to write sleep mode: -6.[ 650.166816] rmi4_f01 rmi4-00.fn01: Suspend failed with code -6.
[ 650.166820] rmi4_physical rmi4-00: Failed to suspend functions: -6
[ 650.166825] rmi4_smbus 0-002c: Failed to suspend device: -6

The dmesg log shows that my mouse,  a track-pad on a Lenovo E531 Thinkpad Edge, is working incorrectly when trying to suspend. The track-pad works fine before suspending. Further investigation indicated that the track-pad stops working after attempting to suspend the laptop. It is important to note that the track-pad works fine, even with suspend when using Ubuntu 18.04 Bionic Beaver.

Try updating the Synaptics driver that is used for the track-pad:

Enter the following into your shell:

sudo apt install xserver-xorg-input-synaptics --fix-missing

This did not resolve my issue on my laptop but has worked for others.

Possible BIOS Issue?

Various sites mentioned that the Lenovo laptops have an outdated BIOS that can cause the track-pad to fail during suspend. Lenovo only provides driver and BIOS updates for Windows. I suggest reading updating the bios on Lenovo laptops to try out this fix. This following YouTube clip may also help: Updating the Lenovo Thinkpad BIOS.

This did not resolve my issue on my laptop but has worked for others.


I noticed the track-pad stops functioning when attempting to suspend the laptop by closing the lid. This issue does not occur when pressing the power button to suspend. Also, noting this issue did not exist in Bionic Beaver, I assume this issue will be resolved by the next LTS release of Ubuntu. The issue does not seem to be a specific driver or hardware issue. So for now, I will use the power button to suspend my Lenovo laptop. Note, you cannot use the power button to suspend if your track-pad has already stopped working.

I will add updates to this post when I have more information. For now, the workaround is acceptable.

Downgrade? :-(

Consider a downgrade carefully and only if the workaround is not acceptable. Read the following article on how to downgrade Ubuntu to assist you.

Useful tips for debugging this issue

To find the Linux kernel version of your Ubuntu install, enter:

cat /proc/version

This will result in something like this:

Linux version 4.18.0-10-generic (buildd@lgw01-amd64-060) (gcc version 8.2.0 (Ubuntu 8.2.0-7ubuntu1)) #11-Ubuntu SMP

Why upgrade to Ubuntu 18.10 Cosmic Cuttlefish?

Some of these improvements include: significant power-savings improvements, more shell components are cached in GPU RAM to reduce load and increase FPS count, support for AMD Radeon RX Vega M graphics processor, Intel Cannonlake graphics, complete support for the Raspberry Pi 3B and the 3B+, USB 3.2 and Type-C improvements and much more. You can download the release from http://releases.ubuntu.com/18.10/.  Personally, I was after the improved memory utilization by Gnome and the faster boot times.

How do you upgrade to Ubuntu 18.10 Cosmic Cuttlefish?

Note that  Ubuntu 18.10 Cosmic Cuttlefish is not a long-term support version. This means it is only supported until July 2019. Remain on Ubuntu 18.04 LTS Bionic Beaver, if long-term support is important to you. Read the section titled Upgrading from Ubuntu 18.04 for full instructions on upgrading to 18.10 for UbuntuDesktop and Ubuntu Server. The official release page also described how to install 18.10 from scratch using an image.

For Ubuntu 18.04 Bionic Beaver Desktop:

  • Open the “Software & Updates” Setting in System Settings.
  • Select the 3rd Tab called “Updates”.
  • Set the “Notify me of a new Ubuntu version” drop-down menu to “For any new version”.
  • Press Alt+F2 and type in “update-manager -c” (without the quotes) into the command box.
  • Update Manager should open up and tell you: New distribution release ‘18.10’ is available.
  • If not you can also use “/usr/lib/ubuntu-release-upgrader/check-new-release-gtk”
  • Click Upgrade and follow the on-screen instructions.

Useful Links

See more about Ubuntu at https://anto.online/category/linux/ubuntu/.

Hi, my name is Anto! I am a cloud computing hobbyist! Give me anything to do with the cloud, and I am interested. I work for a Cloud computing company by day and as a Cloud computing hobbyist by night! My projects use PHP, NodeJs, Ubuntu, MySQL and of course Amazon Web Services. Hopefully, my blog aids your cloud journey! Feel free to post a comment and share your thoughts.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.