Ubuntu – Ubuntu 14.04 resume error after suspend

suspendtoshiba-satellite

I recently updated my Ubuntu from 12.04 to 14.04 in my dual boot (windows 7) Toshiba Satellite Laptop. After the update, whenever the laptop suspends for sometime, it fails to resume. When I try to resume the laptop, by selecting Ubuntu from Grub loader, the login screen appears for a moment goes black and continues this back and forth for a couple of times and eventually goes back to "Suspend". I have to hard boot the system to get into Ubuntu. Below I have attached first few lines of the crash report:

ProblemType: KernelOops
Annotation: This occured during a previous hibernate and prevented it from resuming properly.
Architecture: i386
Date: Wed Apr 30 10:57:56 2014
DistroRelease: Ubuntu 14.04
ExecutablePath: /usr/share/apport/apportcheckresume
ExecutableTimestamp: 1397576330
Failure: hibernate/resume
InterpreterPath: /usr/bin/python3.4
Package: linux-image-3.13.0-24-generic
ProcCmdline: /usr/bin/python3 /usr/share/apport/apportcheckresume
ProcCwd: /
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
.....

Best Answer

Solution worked for me (copied from my personal manuals without modification). I've got Lenovo T530 with Ubuntu 14.04; mainline kernel 3.14.9; nvidia-331-updates package installed (331.38-0ubuntu7).

=> suspend/resume works for me quite well. => I was solving also problem with resume after hibernation, and the solution: eject SD card from the laptop! :-|

My comments that worked for me (some months ago):

suspendResume_WORKING() {
# WIFI solution
# 1.) sudo vi /etc/pm/config.d/modules
# 2.) Replace SUSPEND_MODULES with this line:
#         SUSPEND_MODULES="$SUSPEND_MODULES uhci_hd button ehci_hd iwlwifi"

# SD card solution:
# 3.) Copy file from https://github.com/wschaub/T530-    settings/blob/master/pm/sleep.d/unmount_sdcard
#     to /etc/pm/sleep.d/unmount_sdcard
# 4.) chmod +x /etc/pm/sleep.d/unmount_sdcard

# ACPI solution:
# 5.) Replace lines in /etc/default/grub
#     GRUB_CMDLINE_LINUX_DEFAULT="noquiet nosplash acpi_osi=Linux acpi_backlight=vendor acpi_sleep=s4_nohwsig loop.max_part=63 loop.max_loop=64"
#     GRUB_CMDLINE_LINUX=""


# X.) sudo update-initramfs -u
# X+1.) sync; sudo reboot

}