https://bugzilla.novell.com/show_bug.cgi?id=728656
https://bugzilla.novell.com/show_bug.cgi?id=728656#c9
--- Comment #9 from Bruno Friedmann 2011-11-11 16:19:37 UTC ---
cat /var/lib/s2disk.conf
resume device = /dev/dm-5
image size = 7597067673
# parameters taken from /etc/suspend.conf:
/dev/disk/by-id
dm-name-vgsys-lvswap -> ../../dm-5
cat /etc/suspend.conf
#############################################################################
##
## note:
## using pm-utils or powersaved, this file (/etc/suspend.conf) only serves as
## a template, image_size and resume_device are filled in dynamically
## and the generated /var/lib/s2disk.conf is used to suspend.
## _If_ you enter stuff here, it will be copied to that file unchanged,
## but this might skip some features and sanity checks.
##
#############################################################################
##
## your snapshot device. You should not need to change this.
# snapshot device = /dev/snapshot
#
## enter your swap device here. Read the warning on pm-utils above, please!
#resume device =
#
## image size will also be filled in by pm-utils
#image size = 350000000
#
#suspend loglevel = 2
#max loglevel =
#
## compute checksum will slow down suspend and resume.
## Debugging option, default n
#compute checksum = y
#
## compression will often speed up suspend and resume (default y)
#compress = n
#
## encryption support is rather basic right now - e.g. USB keyboards will not
## work to enter the key in the standard initrd, also beware of
## non-US keyboard layouts. Only use this if you know what you are doing.
#encrypt = y
#
## RSA key file that is used for encryption
#RSA key file = /etc/suspend.key
#
## start writing out the image early, before buffers are full.
## will most of the time speed up overall writing time (default y)
#early writeout = n
#
## use splash picture? (default y)
#splash = y
#
## shutdown method:
## platform - go through ACPI BIOS to power off the machine (default on
## machines that support it)
## shutdown - just power off like after a shutdown
## reboot - reboot instead of powering off. For debugging only.
#shutdown method = platform
#
## resume offset: for use with swapfiles, use "swap-offset" to find out.
#resume offset = 12345
#
## pause after resume for n seconds, so that the timing information can
## actually be read (default 0 => don't pause)
#resume pause = 2
#
## use threads for suspend? (default n)
## this hugely speeds up encryption and also compression on mulitcore machines
#threads = y
swapon -s
Filename Type Size Used
Priority
/dev/mapper/vgsys-lvswap partition 19296252 0
0
ll -R /etc/pm/config.d
/etc/pm/config.d:
total 4
-rw-r--r-- 1 root root 884 Nov 8 09:36 rtcwake.config
cat /etc/pm/config.d/rtcwake.config
# This file configures the ability to wake from suspend or hibernate
# at a given time. It is used in conjunction with the 02rtcwake hook.
# Whether to respect the user-passed-in num_seconds_to_sleep
# If off, then the system configuration (below) will be used even if
# the user passes in a num_seconds_to_sleep.
#USER_RTCWAKE_ALLOWED="no"
USER_RTCWAKE_ALLOWED="yes"
# Should we wake up from suspend on a given time?
# if those are set to "no", the configuration values below have no effect.
#SUSPEND_RTCWAKE_ENABLED="yes"
#HIBERNATE_RTCWAKE_ENABLED="yes"
SUSPEND_RTCWAKE_ENABLED="no"
HIBERNATE_RTCWAKE_ENABLED="no"
# Time to wake up in local, 24-hour time
#RTCWAKE_TIME="22:30"
#RTCWAKE_TIME="9:00"
# Days to wake up (1=monday, 7=sunday), in increasing order,
# with a single space between each day
#RTCWAKE_DAYS="1 2 3 4 5"
#RTCWAKE_DAYS="1 3 5"
#RTCWAKE_DAYS="1 2 3 4 5 6 7"
ll /usr/lib/pm-utils/defaults
-rw-r--r-- 1 root root 2919 Nov 8 09:36 /usr/lib/pm-utils/defaults
Which is the default as installed by pm-utils-1.4.1-13.3.x86_64
Will continure with s2disk & command kernel
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.