You are not logged in.

#1 2007-03-05 18:48:40

brokenflea
Member
Registered: 2007-03-05
Posts: 6

[solved] powersaved does not resume after suspend to disk

Hello,

I've just changed over Arch Linux and this is the first time i'm using the distro, migrating from slackware. Anytime I do a powersave -U through the CLI, my notebook shuts down and swsusp writes to my swap but on resuming the notebook boots back like it would normally with an invalid swap signature. Not sure why it doesn't read the swap signature on coming back up. Here's the conents of my menu.lst file from grub:

# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst

# DEVICE NAME CONVERSIONS
#
#  Linux           Grub
# -------------------------
#  /dev/fd0        (fd0)
#  /dev/hda        (hd0)
#  /dev/hdb2       (hd1,1)
#  /dev/hda3       (hd0,2)
#

#  FRAMEBUFFER RESOLUTION SETTINGS
#     +-------------------------------------------------+
#          | 640x480    800x600    1024x768   1280x1024
#      ----+--------------------------------------------
#      256 | 0x301=769  0x303=771  0x305=773   0x307=775
#      32K | 0x310=784  0x313=787  0x316=790   0x319=793
#      64K | 0x311=785  0x314=788  0x317=791   0x31A=794
#      16M | 0x312=786  0x315=789  0x318=792   0x31B=795
#     +-------------------------------------------------+

# general configuration:
timeout   5
default   0
color light-blue/black light-cyan/blue

# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*

title  Arch Linux
kernel (hd0,0)/vmlinuz26 root=/dev/hda3 resume=/dev/hda2 vga=791 ro
initrd (hd0,0)/initrd26.img

Honestly i'm stumped and any help on why this is happening would be greatly appreciated.

TIA

Last edited by brokenflea (2007-03-06 21:41:35)

Offline

#2 2007-03-06 07:05:42

brokenflea
Member
Registered: 2007-03-05
Posts: 6

Re: [solved] powersaved does not resume after suspend to disk

Figured it out. The problem was with hooks.
So I edited, the /etc/mkinitcpio.conf file, added resume to the HOOKS="" section and then ran mkinitcpio -g /boot/vmlinuz26-rev.img

That created the initrd image and i replaced the existing image in grub with the newly created one.

smile

Offline

Board footer

Powered by FluxBB