LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
LinkBack Search this Thread
Old 05-27-2007, 03:09 PM   #1
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Tesing / Unstable
Posts: 166
Blog Entries: 1

Rep: Reputation: 30
resume: cannot stat resume device file


I managed to get the 'hibernate' package to work on 2 desktops but one of them pauses during reboot with messages:

"resume: cannot stat resume device file. Please type in the name to try again or press ENTER to boot the system"

The problem is that the swap partition containing the image is on an external USB drive which is not fully initialized at the point the resume script / module is running. Immediately following the message
the drive comes online and I am able to either press ENTER to boot or enter '/dev/sda1' to cause the system to read the image file and come out of hibernation.

The other machine has the swap partition on the same drive as the root partition so the problem doesn't happen there.

I guess I need to find the code that issues the message and see if there is a way to tweak it so that it delays for a couple of seconds
to allow the drive to come online. I've seen some references to
those types of delays in the '/usr/share/initramfs-tools' but they reference the root device, not the resume device.

If anyone can point me in the direction of where I should look for this code I'd appreciate it. Thanks in advance.
 
  


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
resume search in file with grep t2000 Programming 15 11-27-2006 02:42 AM
Can't resume file transfer on files larger than 1 gig dalesan Linux - Newbie 2 10-11-2005 11:50 AM
Apache File Download Resume Support john8675309 Linux - Software 1 04-09-2005 09:56 AM
uploading a file and cant resume skog Slackware 0 03-08-2004 10:11 PM
resume supported file download howto ? juby Linux - General 1 03-24-2003 05:24 AM


All times are GMT -5. The time now is 09:15 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration