LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-02-2012, 05:57 PM   #1
masuch
Member
 
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Rep: Reputation: 1
error in kernel.log - initcall software_resume returned -2


Hi,

I have found following in kernel.log

kernel: [ 2.595644] PM: Hibernation image not present or could not be loaded.
kernel: [ 2.595647] initcall software_resume+0x0/0x30 returned -2 after 2 usecs
kernel: [ 2.595648] initcall software_resume+0x0/0x30 returned with error code -2

Could please anybody explain me what does it mean ?
where can I found some documentation about it ?

thank you,
kind regards,
M.
 
Old 06-02-2012, 08:48 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,417
Blog Entries: 55

Rep: Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627
Quote:
Originally Posted by masuch View Post
PM: Hibernation image not present or could not be loaded.
Literally what it says: there is no partition configured where a resume signature could be found or it couldn't be loaded. It's an info level message (not a warning).


Quote:
Originally Posted by masuch View Post
initcall software_resume+0x0/0x30 returned -2 after 2 usecs
initcall software_resume+0x0/0x30 returned with error code -2
You'll find it with comments in kernel/power/disk.c and kernel/power/hibernate.c (show here is 2.6.33):
Code:
647 /**
648  *      software_resume - Resume from a saved image.
649  *
650  *      Called as a late_initcall (so all devices are discovered and
651  *      initialized), we call swsusp to see if we have a saved image or not.
652  *      If so, we quiesce devices, the restore the saved image. We will
653  *      return above (in hibernate() ) if everything goes well.
654  *      Otherwise, we fail gracefully and return to the normally
655  *      scheduled program.
656  *
657  */
Basically a follow-up to the PM: Hibernation message. It's not an error unless you have resume configured and it's not working properly.
 
1 members found this post helpful.
Old 06-03-2012, 03:49 AM   #3
masuch
Member
 
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Original Poster
Rep: Reputation: 1
thank you for explanation
(I do not use hibernation)
this part of errors in kernel.log errors - works properly.
 
  


Reply

Tags
error, kernel, log, resume, software


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SOLVED: Upgrade error: Sub-process /usr/bin/dpkg returned an error code (1) jlb0057 Debian 3 03-11-2011 08:37 AM
Postfix returned emails log cornish Linux - Server 1 03-08-2010 11:22 AM
pthread_create returned an error. 12 12 davebwithane Linux - Software 6 09-29-2009 01:44 AM
Error KDE SU permission problem - Su returned with an error. Yaste and SU compromise. mrukjames SUSE / openSUSE 3 06-15-2009 07:01 PM
Package returned an error on install Cichlid Linux - Distributions 6 08-11-2002 08:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:09 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