Genkernel does not resume from tuxonice hibernate. Its "linuxrc" simply does not start tuxonice_resume() function from initrd.scripts. Reproducible: Always Steps to Reproduce: 1. Build tuxonice-sources + genkernel kernel 2. hibernate 3. resume Grub configuration: -------------------- title=TuxOnIce-2.6.26 x86_64 - KOZIK_LAP-2.0.2 kernel /boot/kernel-genkernel-x86_64-2.6.26-tuxonice-KOZIK_LAP-2.0.2 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda6 doscsi udev resume=swap:/dev/sda5 resume2=swap:/dev/sda5 tuxonice=swap:/dev/sda5 initrd /boot/initramfs-genkernel-x86_64-2.6.26-tuxonice-KOZIK_LAP-2.0.2 --------------------
Created attachment 164159 [details, diff] A patch describing where genkernel fails Bug is maybe similar to #220913 . sys-kernel/tuxonice-sources-2.6.26, Tuxonice and LZF compiled in kernel. Attached patch (genkernel/generic/linuxrc) adds debug messages. When resuming from kernel built with modified linuxrc we can see messages: DEBUG - going to tuxonice_resume DEBUG - not done tuxonice_resume DEBUG - trying tuxonice_resume - manual and the resuming finally starts.
Ehh... resume shouldn't be run on a LiveCD. Also, is the debug information really necessary? Anyway, you need to set real_resume on your command line. The linuxrc is skipping the resume because it thinks that you want to skip it due to not having real_resume set. Yes, this sucks. I know. I'm planning on updating the resuming functions to be much cleaner in the future.
TuxOnIce documentation says it should resume on "resume=" in bootloader. Gentoo Docs are similar: http://www.gentoo.org/doc/en/power-management-guide.xml ...