[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
nonymous
Level 2
Level 2
Posts: 87
Joined: Wed Jan 01, 2014 12:35 pm

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

Postby nonymous » Tue Sep 09, 2014 4:55 pm

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 nonymous on Sun Sep 21, 2014 9:50 am, edited 1 time in total.

User avatar
PatH57
Level 13
Level 13
Posts: 4583
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

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

Postby PatH57 » Wed Sep 10, 2014 3:50 am

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?
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.

nonymous
Level 2
Level 2
Posts: 87
Joined: Wed Jan 01, 2014 12:35 pm

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

Postby nonymous » Wed Sep 10, 2014 4:28 am

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
Level 2
Level 2
Posts: 87
Joined: Wed Jan 01, 2014 12:35 pm

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

Postby nonymous » Wed Sep 10, 2014 4:06 pm

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
Level 2
Level 2
Posts: 87
Joined: Wed Jan 01, 2014 12:35 pm

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

Postby nonymous » Sun Sep 14, 2014 7:39 am

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" ?

User avatar
PatH57
Level 13
Level 13
Posts: 4583
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

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

Postby PatH57 » Sun Sep 14, 2014 8:08 am

did you encrypt something? It does happen that it won't work especially if the swap is encrypted also ?
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.

nonymous
Level 2
Level 2
Posts: 87
Joined: Wed Jan 01, 2014 12:35 pm

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

Postby nonymous » Sun Sep 14, 2014 12:09 pm

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

User avatar
PatH57
Level 13
Level 13
Posts: 4583
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

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

Postby PatH57 » Sun Sep 14, 2014 12:25 pm

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)
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.

nonymous
Level 2
Level 2
Posts: 87
Joined: Wed Jan 01, 2014 12:35 pm

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

Postby nonymous » Sun Sep 14, 2014 12:43 pm

Hmm sorry, what should I try ?

User avatar
PatH57
Level 13
Level 13
Posts: 4583
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

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

Postby PatH57 » Sun Sep 14, 2014 12:58 pm

People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.

nonymous
Level 2
Level 2
Posts: 87
Joined: Wed Jan 01, 2014 12:35 pm

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

Postby nonymous » Sun Sep 14, 2014 3:09 pm

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).

User avatar
PatH57
Level 13
Level 13
Posts: 4583
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

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

Postby PatH57 » Mon Sep 15, 2014 4:23 am

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..
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.

nonymous
Level 2
Level 2
Posts: 87
Joined: Wed Jan 01, 2014 12:35 pm

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

Postby nonymous » Mon Sep 15, 2014 6:06 am

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...

User avatar
PatH57
Level 13
Level 13
Posts: 4583
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

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

Postby PatH57 » Mon Sep 15, 2014 6:12 am

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...
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.

nonymous
Level 2
Level 2
Posts: 87
Joined: Wed Jan 01, 2014 12:35 pm

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

Postby nonymous » Mon Sep 15, 2014 8:36 am

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

I will complete this post after my tests.

nonymous
Level 2
Level 2
Posts: 87
Joined: Wed Jan 01, 2014 12:35 pm

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

Postby nonymous » Wed Sep 17, 2014 7:07 am

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.

User avatar
PatH57
Level 13
Level 13
Posts: 4583
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

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

Postby PatH57 » Wed Sep 17, 2014 7:23 am

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)
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.

nonymous
Level 2
Level 2
Posts: 87
Joined: Wed Jan 01, 2014 12:35 pm

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

Postby nonymous » Wed Sep 17, 2014 7:33 am

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).

User avatar
PatH57
Level 13
Level 13
Posts: 4583
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

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

Postby PatH57 » Wed Sep 17, 2014 7:41 am

http://ubuntuhandbook.org/index.php/2014/04/enable-hibernate-ubuntu-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/PowerManagement/Hibernate
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.

nonymous
Level 2
Level 2
Posts: 87
Joined: Wed Jan 01, 2014 12:35 pm

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

Postby nonymous » Wed Sep 17, 2014 7:52 am

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


Return to “Installation & Boot”

Who is online

Users browsing this forum: Bing [Bot], Chizim, RobertX and 7 guests