Hibernation once again... with MATE [SOLVED]

Archived topics about LMDE 1 and LMDE 2
Locked
luis.nando

Hibernation once again... with MATE [SOLVED]

Post by luis.nando »

Hello all,

it seems that LMDE gives people hard time trying to activate hibernation (http://forums.linuxmint.com/viewtopic.php?f=197&t=97684, http://forums.linuxmint.com/viewtopic.php?f=191&t=74380, http://forums.linuxmint.com/viewtopic.php?f=191&t=75318). I had a functional system that was initialy a LMDE XFCE, but one year ago I discovered that the LMDE MATE was even lighter on my computer so I switched. But then, with this urge for tweaking thinks :D , I decided to reinstall the system to get btrfs and snapshots with this how-to http://forums.linuxmint.com/viewtopic.p ... 7&t=100659. All went as expected, but little after the installation I noticed hibernation has broken and I got no success following the previous attempts from people on the forum to fix hibernation on a LMDE system. So I hope, once again, that the community can shed some light in my situation. Here it goes:

My $hibernate -v3 gives:

Code: Select all

hibernate:Warning: Tuxonice binary signature file not found.
hibernate: Trying method in tuxonice.conf...
hibernate: Trying method in disk.conf...
hibernate: Trying method in ususpend-disk.conf...
hibernate: Including configuration from common.conf
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing CheckRunlevel ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [10] Executing EnsureUSuspendCapable ...
hibernate: [11] Executing XHacksSuspendHook1 ...
hibernate: [59] Executing RemountXFSBootRO ...
hibernate: [89] Executing SaveKernelModprobe ...
Saved /proc/sys/kernel/modprobe is /sbin/modprobe
hibernate: [91] Executing ModulesUnloadBlacklist ...
Unloading blacklisted modules listed /etc/hibernate/blacklisted-modules
Module version for ipw2100 is 66050
Module version for ipw2200 is 66050
Module version for snd_bt_sco is
Module version for ndiswrapper is
Unloading blacklisted module uvcvideo (and dependencies)
Unloading uvcvideo ...
Removing modules with rmmod.
hibernate: [95] Executing XHacksSuspendHook2 ...
xhacks: changing console from 8 to 15
hibernate: [98] Executing CheckRunlevel ...
hibernate: [99] Executing DoUSuspend ...
hibernate: Running /usr/sbin/s2disk ...
s2disk: Could not stat the resume device file. Reason: No such file or directory
hibernate: [90] Executing ModulesLoad ...
Loading module uvcvideo (from auto)...
hibernate: [89] Executing RestoreKernelModprobe ...
hibernate: [85] Executing XHacksResumeHook2 ...
xhacks: changing console back to 8
hibernate: [70] Executing ClockRestore ...
hibernate: [59] Executing RemountXFSBootRW ...
hibernate: [11] Executing XHacksResumeHook1 ...
hibernate: [01] Executing NoteLastResume ...
hibernate: [01] Executing LockFilePut ...
the s2disk is installed and when called from the command line it creates the swap snapshot, but when I reboot the snapshot doesn't load and I get regular boot.

my fstab is

Code: Select all

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc /proc proc defaults 0 0
UUID=27479950-b997-4d5d-aa6c-ead8ab565c73 / btrfs defaults,subvol=@ 0 0
UUID=27479950-b997-4d5d-aa6c-ead8ab565c73 /home btrfs defaults,subvol=home 0 0
UUID=6855a610-4927-4fb9-9eab-17d607e5696f   none   swap   sw   0   0
and my /etc/initramfs-tools/conf.d/resume is

Code: Select all

RESUME=UUID=6855a610-4927-4fb9-9eab-17d607e5696f
Can someone sort this out, because I`m out of ideas :!:

Thanks
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.
luis.nando

Re: Hibernation once again... with MATE [SOLVED]

Post by luis.nando »

The solution I found was to install uswsusp.conf and then run dpkg-reconfigure uswsusp.
Locked

Return to “LMDE Archive”