LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-15-2013, 05:24 AM   #1
yogo1212
LQ Newbie
 
Registered: Mar 2013
Posts: 12

Rep: Reputation: Disabled
Hibernation file / resuming "difficulties"


Hello you lovely people,

I'm on debian with linux 3.11.4 and want to try the hibernation feature on my laptop.

I've had problems with supending - the power led didn't come on after resuming - but those are out of the way.

My biggest problem is, that concurrent hibernations don't work. After resuming any way of hibernating again - echoing disk, pm-hibernate or via Kickoff - will lock the screen and do nothing else, no log entries in pm-logs in /var/log and when shutting down i see the pm-hibernate process hanging there until terminated.

Also, resuming wont work if the resume paramter is specified as UUID.
That means passing resume=UUID=3dda5c70-e1b4-4084-bbf6-f190687d7060 or resume=/dev/disk/by-uuid/3dda5c70-e1b4-4084-bbf6-f190687d7060 wont resume whereas resume=/dev/sda5 does

This is from blkid:
Code:
/dev/sda5: UUID="3dda5c70-e1b4-4084-bbf6-f190687d7060" TYPE="ext4

Code:
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set=root 99a50daf-5d8e-4b83-ba83-d5e02060e456
echo    'Loading Linux 3.11.4 ...'
linux   /vmlinuz-3.11.4 root=/dev/sda6 ro acpi_osi=Linux iommu=noaperture rootflags=data=journal resume=UUID=3dda5c70-e1b4-4084-bbf6-f190687d7060 resume_offset=17397760 quiet
This is output by update-grub and for some reason the root-parameter is a device instead of a UUID.

On the side:
Could my kernel have problems with UUID's?

Edit:
init/do_mounts.c states that UUID's should be passed as PARTUUID. I've tried that also.

Taken from /var/log/kern.log :
Code:
Oct 15 12:43:44 rivendell kernel: [    2.050450] PM: Checking hibernation image partition PARTUUID=3dda5c70-e1b4-4084-bbf6-f190687d7060
...
Oct 15 12:43:44 rivendell kernel: [    3.171408] PM: Hibernation image not present or could not be loaded.
kind regards, yogo1212

Last edited by yogo1212; 10-15-2013 at 05:49 AM. Reason: Add log/ provide details
 
Old 10-15-2013, 09:29 AM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,610
Blog Entries: 4

Rep: Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905
It sounds like the video-driver that you've chosen to use is not the best one for this machine. In general, the hibernate/resume process involves five steps:
  1. Put the devices to sleep.
  2. Save state.
  3. Halt. Restart.
  4. Wake up the devices.
  5. Restore state.
It sounds to me like the video put-to-sleep code is hanging.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can I "cat" or "grep" a file to ignore lines starting with "#" ??? callagga Linux - Newbie 7 08-16-2013 06:58 AM
unpredictable "delete" "move to trash" or "cut" file menu option dorianrenato Linux - General 3 11-28-2011 06:41 PM
Having difficulties setting up passwd; "no matching password file entry..." tgp1994 Linux - Software 3 11-25-2009 03:16 PM
Mozilla Firefox "Hacker" / Help resuming download introuble Linux - Software 1 09-26-2005 01:52 PM
SuSE 9.1 hangs when "Resuming session" panostra Linux - Newbie 1 09-09-2004 04:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration