[Solved]Restart after hibernation does not work (Mint 17)

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
nonymous

[Solved]Restart after hibernation does not work (Mint 17)

Post by nonymous »

Hi,
After having found some posts on this forum dealing with the almost same issue, I could not fix mine.
On my laptop, I was on Mint 16 Xfce without any problem with hibernation.
I switched 3 days ago to Linux 17 Cinnamon (fresh install).
Everything works fine, except hibernation and suspend.
The PC powers off correctly.
When I restart the computer, the graphical session starts, showing the current time, but I can't do anything : no login prompt, no mouse cursor.
CTRL+ALT+Backspace does not restart the X session.
CLTR+ALT+F1 switches to text session, but I can not login.

I've found here an advice to disable hibernation after the install of Mint 17.
W T F ?
Why would I do that ? Hibernation is really usefull.

What could I do please ?
Thanks !
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
PatH57

Re: Restart after hibernation does not work (Mint 17 Cinnamo

Post by PatH57 »

Hi,

let's have a look at your system

Code: Select all

sudo inxi -U

Code: Select all

inxi -Fxz
and off course it has the latest updates?
nonymous

Re: Restart after hibernation does not work (Mint 17 Cinnamo

Post by nonymous »

Hi PatH57,

My system is up to date (I checked that yesterday).
I also updated the kernel to the last version.

I'll try to post the results of the inxi commands tonight.

Thanks
nonymous

Re: Restart after hibernation does not work (Mint 17 Cinnamo

Post by nonymous »

Here is the result of inxi -Fxz :

Code: Select all

System:    Host: pc-nonymous Kernel: 3.13.0-35-generic x86_64 (64 bit gcc: 4.8.2)
           Desktop: Cinnamon 2.2.16 (Gtk 3.10.8~3+qiana)
           Distro: Linux Mint 17 Qiana
Machine:   System: SAMSUNG (portable) product: R610
           Mobo: SAMSUNG model: R610
           Bios: Phoenix v: 02LK.MP00.20080926.SCY date: 09/26/2008
CPU:       Dual core Intel Core2 Duo T5800 (-MCP-) cache: 2048 KB
           flags: (lm nx sse sse2 sse3 ssse3) bmips: 7979
           Clock Speeds: 1: 1600 MHz 2: 1200 MHz
Graphics:  Card: NVIDIA G98M [GeForce 9200M GS] bus-ID: 01:00.0
           Display Server: X.org 1.15.1 drivers: nouveau (unloaded: fbdev,vesa)
           tty size: 80x24 Advanced Data: N/A for root
Audio:     Card Intel 82801I (ICH9 Family) HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k3.13.0-35-generic
Network:   Card-1: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express)
           driver: ath5k bus-ID: 02:00.0
           IF: wlan0 state: up mac: <filter>
           Card-2: Marvell 88E8055 PCI-E Gigabit Ethernet Controller
           driver: sky2 v: 1.30 port: 5000 bus-ID: 06:00.0
           IF: eth0 state: down mac: <filter>
Drives:    HDD Total Size: 126.0GB (39.5% used)
           ID-1: /dev/sda model: SanDisk_SDSSDP12 size: 126.0GB temp: 28C
Partition: ID-1: / size: 113G used: 44G (41%) fs: ext4 dev: /dev/dm-1
           ID-2: /boot size: 236M used: 85M (38%) fs: ext2 dev: /dev/sda1
           ID-3: swap-1 size: 3.22GB used: 0.00GB (0%) fs: swap dev: /dev/dm-2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 43.0C mobo: 43.0C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 162 Uptime: 2 min Memory: 666.9/3004.9MB
           Init: Upstart runlevel: 2 Gcc sys: 4.8.2
           Client: Shell (sudo) inxi: 2.2.3 
Thanks
nonymous

Re: Restart after hibernation does not work (Mint 17 Cinnamo

Post by nonymous »

Here is the contents of /etc/initramfs-tools/conf.d/resume :

Code: Select all

RESUME=UUID=53a799e8-037a-46b6-bf76-59ea093ec261
And here is the output of blkid -o list :

Code: Select all

device                              fs_type       label          mount point                             UUID
---------------------------------------------------------------------------------------------------------------------------------------------
/dev/sda1                                                        /boot                                   
/dev/sda5                                                        (not mounted)                           
/dev/mapper/sda5_crypt                                           (not mounted)                           
/dev/mapper/mint--vg-root                                        /                                       
/dev/mapper/mint--vg-swap_1                                      <swap> 
Is it normal to have a difference between the UUID in the resume file and "/dev/mapper/mint--vg-swap_1" ?
PatH57

Re: Restart after hibernation does not work (Mint 17 Cinnamo

Post by PatH57 »

did you encrypt something? It does happen that it won't work especially if the swap is encrypted also ?
nonymous

Re: Restart after hibernation does not work (Mint 17 Cinnamo

Post by nonymous »

Hi,
Yes I have chosen the disk encryption during the installation.
PatH57

Re: Restart after hibernation does not work (Mint 17 Cinnamo

Post by PatH57 »

try this but I never could get it to work so I disabled hibernate and just use suspend (with an ssd drive my bootup is even faster then coming back from hibernate)
nonymous

Re: Restart after hibernation does not work (Mint 17 Cinnamo

Post by nonymous »

Hmm sorry, what should I try ?
nonymous

Re: Restart after hibernation does not work (Mint 17 Cinnamo

Post by nonymous »

Hi, thanks for the link.
I've read the article, but I don't feel confident about the things to do (one is for ubuntu and the original post was about older versions of mint ).
It seems that the issue has to do with the disk encryption, so I'm planning to do a new fresh install, without encrypting the full disk but only my home folder.
I just hope that it will fix the hibernation problem.

It's just surprising that a function that worked fine in the previous version does not anymore (my previous Mint installation had also a full disk encryption).
PatH57

Re: Restart after hibernation does not work (Mint 17 Cinnamo

Post by PatH57 »

it's more related to the fact that the hibernation does vary depending on the manufacturer so at some stage Debian and Ubuntu dropped the ball a bit (it's no longer enabled as default on Ubuntu 14.04 and Mint 17)
Let's see how it goes without swap encryption..
nonymous

Re: Restart after hibernation does not work (Mint 17 Cinnamo

Post by nonymous »

Juste in case, do you know if I can test it using an usb key with the live cd of Mint ? Would it be relevant ?
If I could avoid to erase all my system, it would be nice...
PatH57

Re: Restart after hibernation does not work (Mint 17 Cinnamo

Post by PatH57 »

it won't work on a live session as hibernate has to write to the stick and swap off course is not "persistant" on a live session...
nonymous

Re: Restart after hibernation does not work (Mint 17 Cinnamo

Post by nonymous »

Damned, off course !
OK, I will try with another hard disk.

I will complete this post after my tests.
nonymous

Re: Restart after hibernation does not work (Mint 17 Cinnamo

Post by nonymous »

Hi,
I am really disappointed. Here is what I have tried :
- install Linux Mint 17 Cinnamon without disk encryption : resume from hibernation failed
- install Linux Mint 17 Xfce without disk encryption : the system does not power off when I try "Hibernate"

I have tried some tricks (from this site), like :
- editing the "GRUB_CMDLINE_LINUX="resume..." part in the grub config file
- removing hibernate uswsusp

My last idea is that I may have not enough swap, so if I'm really motivated I will try to reinstall Linux Mint 17 Cinnamon with default partitionning then repartition to add more swap. Dangerous and boring.

If I'm not motivated, I will try another distro... Ubuntu maybe ?

Anyway, this issue makes me insane... I really need to have hibernation working on my laptop, I really like to use Linux, and I really don't want to go back to Windows...

I've found a lot of posts dealing with hibernation problems and I'm surprised that such a standard functionnality can't work easily here.
PatH57

Re: Restart after hibernation does not work (Mint 17 Cinnamo

Post by PatH57 »

I'm surprised that such a standard functionnality
that is the problem, it's not standard each laptop manyfacturer has used a "different way to implement it.
Off course because they do have to provide correct drivers for MS it kind of works most of the time, however the open source world has a harder time finding out the right settings (Debian and Ubuntu dropped the ball on it that's why it is disabled as default for the time being)
nonymous

Re: Restart after hibernation does not work (Mint 17 Cinnamo

Post by nonymous »

OK, I understand the problem with the heterogeneity of the hardware.
Regression (from LM16 to LM17 in my case) is more surprising.

What do you mean by "Debian and Ubuntu dropped the ball on it" ? Did they officially announce that hibernation was an abandoned functionnality ?
(In Mint 17, I did nothing special to activate the "Hibernate" function, it simply does not work).

I don't know if it's worth looking for a solution (that means spending time and losing nerves).
PatH57

Re: Restart after hibernation does not work (Mint 17 Cinnamo

Post by PatH57 »

http://ubuntuhandbook.org/index.php/201 ... ntu-14-04/
that's kind of the easy way to check it the default settings (my cinnamon doesn't like it so I just use suspend)
or
https://help.ubuntu.com/community/Power ... /Hibernate
nonymous

Re: Restart after hibernation does not work (Mint 17 Cinnamo

Post by nonymous »

Thank you, I'll check that.
I hope I'll find a solution...
Locked

Return to “Installation & Boot”