You are not logged in.
Pages: 1
If I applied the tuxonice patch to my kernel, would I need the hibernation-script package?
Offline
ok, scrach that
I can now get my machine to hibernate, but I can't get it to resume
yes, I did set it to suspend to the swap partition (/dev/sdb3) and I event put the entry in the kernel line correctly, added the hook to /etc/mkinitcpio.conf, etc
my theory is that it has something to do with the initcpio hook
run_hook ()
{
fmtdevice () { echo "${1}:${2}"; }
# Try resuming with swsusp
if [ -e "/sys/power/resume" -a -e "${resume}" ]; then
dev_t=$( /bin/parseblock "${resume}" )
fmtdevice ${dev_t} > /sys/power/resume
fi
# Try resuming with suspend2
if [ -d "/sys/power/suspend2" ]; then
suspend2root="/sys/power/suspend2"
else
suspend2root="/proc/suspend2"
fi
if [ -d "${suspend2root}" -a -n "${resume2}" ]; then
echo ${resume2} > ${suspend2root}/resume2
echo > ${suspend2root}/do_resume
fi
}
thing is /sys/power/resume2 doesn't exist and neither does /proc/suspend2
please help
[edit]nevermind, I fixed it by using resume=/dev/sdb3 on the kernel instead of resume2=swap:/dev/sdb3
Last edited by NoOneImportant (2007-11-22 05:00:15)
Offline
Pages: 1