View previous topic :: View next topic |
Author |
Message |
ufalcon n00b
Joined: 30 Sep 2005 Posts: 2
|
Posted: Tue Feb 28, 2006 4:18 am Post subject: Can't restore suspend2 image |
|
|
First off, running 2.6.15-suspend2-r6 with genkernel and thus initramfs/initrd.
Here's the problem: I seem to have everything going for hibernate. When I run the hibernate script it happily creates (and compresses using LZF) an image and copies it to my swap partition. When I boot from grub with ():
Code: | kernel /kernel-genkernel-x86-2.6.15-suspend2-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda8 udev video=vesafb:ywrap,vga=792 splash=silent,fadein,theme:gentoo,fbcon=scrollback:128K quiet CONSOLE=/dev/tty1 resume2=swap:/dev/hda5 |
For the Kernel command, everything goes fine... except it doesn't resume. And here's the reason why:
Code: | Suspend2 2.2: Swapwriter: Signature found.
Suspend2 2.2: Suspending enabled.
suspend_userui: program not configured. suspend_userui disabled.
Reading kernel & process data...
Suspend2: Failed to initialise the lzf compression transform.
Failed to initialise the Suspend2 Compressor filter.
Suspend2 2.2: Image invalidated.
Failed to read pageset 1.
Suspend2 2.2: Sanity check error |
So, first off - apparently userui isn't configured. I can't figure out where the configuration would be, if it actually seemed like I needed userui. It doesn't seem like I do. It really seems like the culprit is "Suspend2: Failed to initialise the lzf compression transform.". I have LZF built into my kernel (it WAS a module, but I fixed that!), and it seems strange that lzf works on hibernate but not on boot. Is this indicative linuxrc needs to be modified?
(Searching on google for that error only gives 1 result...!!)
Oh, and I haven't bothered trying without compression as 1) my swap is smaller than my RAM 2) it'll be much faster on a laptop with a 4200 rpm drive (I hope) and 3) it SHOULD work, damn it! |
|
Back to top |
|
|
katossi n00b
Joined: 26 Aug 2002 Posts: 25
|
Posted: Fri Mar 10, 2006 9:24 pm Post subject: LZW compression |
|
|
You are missing the LZW compression enabled in the kernel, and NOT as a module _________________ Para entender recursividad primero has de comprender recursividad. |
|
Back to top |
|
|
ufalcon n00b
Joined: 30 Sep 2005 Posts: 2
|
Posted: Sun Mar 12, 2006 6:52 am Post subject: |
|
|
. . . . .
I went into my genkernel config to verify that I had, indeed, built it into the kernel (not as a module of course) and defiantly post the results. To my dismay - it was listed as [M] not [*]!
...
I was sure that I'd built it in! Anyway, thanks for the response, I'll give it another try. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|