You are not logged in.

#1 2007-12-30 13:03:55

srimalik
Member
Registered: 2007-09-16
Posts: 65

unable to hibernate to disk

I installed and confugured Uswsusp according to the steps given at
http://wiki.archlinux.org/index.php/Suspend_to_Disk

When I fire the hibernate command ...it seems that it takes the memory dump on to the swap partition /dev/sda7.

But when I tried to resume it failed, the message displayed on the screen were like:
Invalid resume device swap:/dev/sda7
kinit: No resume Image , trying normal boot
And the normal boot is successful

Then I changed the the resume option in menu.lst to resume=/dev/sda7 instead of resume=swap:/dev/sda7

Now the messages while booting were
kinit: No resume Image , trying normal boot  .
And the normal boot is successful.

My etc/suspend.conf is

# major 10, minor 231.
snapshot device = /dev/snapshot

# Set this to whatever your suspend partition is.
#
# You will not need to provide a resume parameter to your
# kernel when using uswsusp, as this file will be used.
# This neccesitates using a initrd, though!
resume device =/dev/sda7

compress = y
#image size = 350000000
#suspend loglevel = 2
#compute checksum = y
#early writeout = y

# You can only change these if you modified Makefile.diff 
# and have the requirements installed.
#splash = y
#encrypt = n

Can smbdy please help ?

Offline

#2 2007-12-30 14:12:49

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: unable to hibernate to disk

What command are you using to hibernate...  The uswsusp command is s2disk which needs to be executed as root.  IF you're using KDE and Gnome to hibernate, and you just choose an option from the menu, it is possible that some other hibernate command is executed that way, which would produce the symptoms you describe.

Offline

#3 2007-12-30 14:58:13

ypnos
Member
Registered: 2007-12-30
Posts: 59

Re: unable to hibernate to disk

You should remove the resume option from the boot parameters. It is obsolete. Be sure you have "uresume" in your HOOKS array of mkinitcpio and use s2disk.

Offline

#4 2007-12-30 16:29:36

srimalik
Member
Registered: 2007-09-16
Posts: 65

Re: unable to hibernate to disk

I forgot to add the uresume hook, now the resume seems to be working but I am not able to see the window manager or GDM, I see only a blank screen after the resume.

I am using GDM as the login manager and ion as window manager.

Offline

Board footer

Powered by FluxBB