And the machine seems to suspend properly when I run "s2disk" but when I power up the box after, it doesn't resume and does a regular boot instead.
The kernel is unable to find the resume swap (a dedicated lvm volume I setup for hibernating alone.) If I add the "resumewait" kernel option the system just hangs....
Is this the right way to address the volume in the kernel cmdline ?
Code: Select all
resume=/dev/mapper/VG1-hibernate
The only thing that shows up in dmesg is
Code: Select all
[ 4.087089] PM: Starting manual resume from diskI'm using genkernel to generate the initramfs ...
but I find that it puts the lvm binary into /bin/lvm but there are dozens of broken symlinks in /sbin (lv* / vg* / pv* etc) which point to a non-existent /sbin/lvm
Is this normal?
Code: Select all
lrwxrwxrwx 1 kingsly users 3 Dec 12 16:27 sbin/lvchange -> lvm
lrwxrwxrwx 1 kingsly users 3 Dec 12 16:27 sbin/lvconvert -> lvm
lrwxrwxrwx 1 kingsly users 3 Dec 12 16:27 sbin/lvcreate -> lvm
lrwxrwxrwx 1 kingsly users 3 Dec 12 16:27 sbin/lvdisplay -> lvm
lrwxrwxrwx 1 kingsly users 3 Dec 12 16:27 sbin/lvextend -> lvm
lrwxrwxrwx 1 kingsly users 3 Dec 12 16:27 sbin/lvmchange -> lvm(I found a similar old post which too hasn't been solved - http://forums.gentoo.org/viewtopic-t-71 ... esume.html )
Anyone have such a setup working? How do I fix this?
Edit: I'm running 3.12.4-gentoo and genkernel 3.4.47 (It was broken with 3.4.45.1, so I tried the unstable one) and sys-power/suspend-1.0
