Can't always resume from Suspend

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
deerpic
Level 2
Level 2
Posts: 79
Joined: Mon May 13, 2013 7:44 pm

Can't always resume from Suspend

Post by deerpic »

For some reason, twice in the past week, I could not resume from Suspend. My computer , an ASUS laptop, had been going steadily for nearly 60 days without a reboot, only suspending when I wasn't using it. It had always come back fine until a few days ago. I'm using Mint 17 Cinnamon 64-bit, and my swap UUID is correct. Any ideas what would cause this out of the blue and only result in a failure to resume every once in a while?

Code: Select all

david@Hoth ~ $ cat /etc/initramfs-tools/conf.d/resume
RESUME=UUID=a1f3152d-e860-4da4-92a4-a8d8c0a20282
david@Hoth ~ $ cat /etc/fstab | grep swap
# swap was on /dev/sda5 during installation
UUID=a1f3152d-e860-4da4-92a4-a8d8c0a20282 none            swap    sw              0       0
david@Hoth ~ $ inxi -Fxz
System:    Host: Hoth Kernel: 3.13.0-24-generic x86_64 (64 bit, gcc: 4.8.2) Desktop: Gnome Distro: Linux Mint 17 Qiana
Machine:   Mobo: ASUSTeK model: N53SV version: 1.0 Bios: American Megatrends version: N53SV.214 date: 08/10/2011
CPU:       Quad core Intel Core i7-2670QM CPU (-HT-MCP-) cache: 6144 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 17560.7 
           Clock Speeds: 1: 800.00 MHz 2: 800.00 MHz 3: 800.00 MHz 4: 800.00 MHz 5: 800.00 MHz 6: 800.00 MHz 7: 1000.00 MHz 8: 800.00 MHz
Graphics:  Card-1: Intel 2nd Generation Core Processor Family Integrated Graphics Controller bus-ID: 00:02.0 
           Card-2: NVIDIA GF108M [GeForce GT 540M] bus-ID: 01:00.0 
           X.Org: 1.15.1 drivers: (unloaded: fbdev,vesa) FAILED: nouveau,intel Resolution: 1600x900@60.0hz 
           GLX Renderer: Mesa DRI Intel Sandybridge Mobile GLX Version: 3.0 Mesa 10.1.0 Direct Rendering: Yes
Audio:     Card: Intel 6 Series/C200 Series Chipset Family High Definition Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture ver: k3.13.0-24-generic
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller 
           driver: r8169 ver: 2.3LK-NAPI port: 9000 bus-ID: 05:00.0
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
           Card-2: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) driver: ath9k bus-ID: 03:00.0
           IF: wlan0 state: up mac: <filter>
Drives:    HDD Total Size: 500.1GB (33.5% used) 1: id: /dev/sda model: ST9500420AS size: 500.1GB 
Partition: ID: / size: 198G used: 47G (26%) fs: ext4 ID: swap-1 size: 6.34GB used: 0.00GB (0%) fs: swap 
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   None detected - is lm-sensors installed and configured?
Info:      Processes: 244 Uptime: 1:17 Memory: 1268.5/5872.8MB Runlevel: 2 Gcc sys: 4.8.2 Client: Shell inxi: 1.8.4 
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
drw
Level 1
Level 1
Posts: 15
Joined: Fri Feb 13, 2015 7:47 pm

Re: Can't always resume from Suspend

Post by drw »

X.Org: 1.15.1 drivers: (unloaded: fbdev,vesa) FAILED: nouveau,intel Resolution: 1600x900@60.0hz
I'm a bit of a noob but when I had problems waking my computer under Mint (black screen) I was able to resolve them by replacing the nouveau graphics driver with NVIDIA's proprietary driver.
User avatar
Pjotr
Level 24
Level 24
Posts: 20090
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Can't always resume from Suspend

Post by Pjotr »

As drw said, I'd certainly install the non-free Nvidia driver. You might want to disable hibernation (suspend-to-disk) as well:
https://sites.google.com/site/easylinux ... ter-a-coma
(item 8, left column)
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
djent

Re: Can't always resume from Suspend

Post by djent »

When I type

Code: Select all

 cat /etc/initramfs-tools/conf.d/resume
I get

Code: Select all

cat: /etc/initramfs-tools/conf.d/resume: No such file or directory
. Is there any good reason for this? I'm having the same problem you're having. When my laptop comes out of suspension, it halts at the login screen. Ctrl-Alt-Backspace does nothing, the only Magic Sysrq keys that do anything are Alt-SysRq-O and Alt-SysRq-B. My problem is consistent, never intermittent. Always have to restart my laptop to get out of suspension.
Locked

Return to “Installation & Boot”