[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Suspend2 BIG FAT WARNING: failed to translate the device name



Hi guys,

I have been in troubles for several days trying with suspend2 and stable 
kernel 2.6.11.8 without patches.(from kernel.org).

I managed to suspend (go from live to shutdown) but I get the following 
message while trying to boot to the saved suspend image.

Error message  (1):
-------------------------------------------------------------------------------------
BIG FAT WARNING: failed to translate the device name into a device id.
If you want to use the current suspend image try again with the same kernel 
you suspended from ,if you want to forget the image press C.
--------------------------------------------------------------------------------------

When I pressed C OR if i select "no suspend" in the grub list, I got the 
following error  (2):
--------------------------------------------------------------------------------------
VFS cannot open root device "hda7" on unknown block (0,0) . Please append a 
correct  "root="boot option.

Kernel panic -not syncing: VFS :unable to mount to root fs on unkwon-block 
(0,0).
--------------------------------------------------------------------------------------

what I have done:
Got the kernel from kernel.org
Patched it with the unziped contints of "software-suspend-2.1.8-for-2.6.11" 
Brought from www.suspend2.net
Compiled the kernel and installed it 
Created initrd image "mkinitrid -o initrid.img-2.6.11.8 2.6.11.8"
Add it to the grub list (i will present it down)
Run "hibernate -n" I went good and no error occured
Run "hibernate"



I am using sarge, the swap is /dev/hda6, the root is /dev/hda7
my laptop is Fujitsu siemens Amilo pro 2000 (Centrion 1.5 /512mb)
My grub.menu is
#########################################
title           Debian GNU/Linux resume
kernel          (hd0,6)/boot/vmlinuz-2.6.11.8 root=(0,6) ro 
resume2=swap:/dev/hda6

title           Debian GNU/Linux noresume
kernel          (hd0,6)/boot/vmlinuz-2.6.11.8 root=/dev/hda7 ro noresume2

title  Debian 2.6.10
root (hd0,6)
kernel /boot/vmlinuz-2.6.10-1-686 root=/dev/hda7
initrd /boot/initrd.img-2.6.10-1-686
##########################################

My questions are:

a) which linuxrc should be modified to include the line 
" echo > /proc/software_suspend/do_resume"
I found two on my machine.

/usr/share/initrd-tools/linuxrc
/usr/share/discover/linuxrc

b) What is meant by add XXX to your linux command?

c)I found in the FAQ my problem under (www.suspend2.net/FAQ-5.html)and it says

I)A misspelt resume2= option on your kernel command line.
## I checked that (as can be seen in the grub.menu above)

II)You are using an initrd, and IDE support is built as modules and the 
modules are not loaded yet. Load the IDE modules before calling the resume 
process in the initrd.
##How to load the IDE modules befor calling resume?

III)You are using an initrd, and it does not contain a /sys/ directory.
## How to check that?


any hint is appreciated OR if you know another easy way to suspend

many thanx in advance.

Mohammad 

Attachment: pgpjUbsOdtv2X.pgp
Description: PGP signature


Reply to: