LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
  Search this Thread
Old 05-27-2007, 03:09 PM   #1
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Testing / Unstable
Posts: 180
Blog Entries: 1

Rep: Reputation: 32
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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

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