* Mismatched suspend2 interfaces == Suspend was aborted
@ 2005-06-25 4:20 Andrew Haninger
2005-06-25 4:36 ` Nigel Cunningham
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Haninger @ 2005-06-25 4:20 UTC (permalink / raw)
To: linux-kernel
I'm having an odd problem with software-suspend recently. Running the
latest kernel/suspend2/hibernate, I'm getting an error which is
confusing me:
WARNING: The suspend2 scriptlet was written for a different suspend2 interface
version from the one in your running kernel. This scriptlet was
written for version between 15 and 15 where as the version running
in your kernel is 16. Things may not work as expected, but proceeding
anyway ...
- hibernate: Suspend reported the following errors:
Suspend was aborted (see dmesg).
"written for a version between 15 and 15" is the part that is
confusing me. First, version 15 of what? Second, between a version and
itself?
So, I look at dmesg. Here's the stuff it says to give when reporting
bugs (plus some extra stuff):
Software Suspend 2.1.9.5: Initiating a software suspend cycle.
Software Suspend 2.1.9.5: Swapwriter: Signature found.
Software Suspend 2.1.9.5: Suspending enabled.
Suspend2: Failed to initialise the compression transform.
Please include the following information in bug reports:
- SUSPEND core : 2.1.9.5
- Kernel Version : 2.6.12.1
- Compiler vers. : 3.2
- Attempt number : 8
- Pageset sizes : 3281 (3281 low) and 12192 (12192 low).
- Parameters : 1 64 0 1 0 5
- Calculations : Image size: 15676. Ram to suspend: 524.
- Limits : 49147 pages RAM. Initial boot: 46744.
- Overall expected compression percentage: 0.
- Compressor enabled.
- Swapwriter active.
Swap available for image: 48185 pages.
- Filewriter inactive.
- Preemptive kernel.
- Max extents used: 8
- No I/O speed stats available.
I've tried removing /etc/hibernate and /usr/local/sbin/hibernate and
reinstalling hibernate script 1.08, but I still get this error.
I think this might have something to do with the new movement to the
cryptoapi and there's just something I'm not getting.
Anyway, here's my bug report. Thanks.
-Andy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Mismatched suspend2 interfaces == Suspend was aborted
2005-06-25 4:20 Mismatched suspend2 interfaces == Suspend was aborted Andrew Haninger
@ 2005-06-25 4:36 ` Nigel Cunningham
2005-06-25 5:48 ` Andrew Haninger
0 siblings, 1 reply; 3+ messages in thread
From: Nigel Cunningham @ 2005-06-25 4:36 UTC (permalink / raw)
To: Andrew Haninger; +Cc: Linux Kernel Mailing List, Suspend2-Users
Hi Andrew.
The Suspend2 mailing lists can be found via suspend2.net.
On Sat, 2005-06-25 at 14:20, Andrew Haninger wrote:
> I'm having an odd problem with software-suspend recently. Running the
> latest kernel/suspend2/hibernate, I'm getting an error which is
> confusing me:
>
> WARNING: The suspend2 scriptlet was written for a different suspend2 interface
> version from the one in your running kernel. This scriptlet was
> written for version between 15 and 15 where as the version running
> in your kernel is 16. Things may not work as expected, but proceeding
> anyway ...
>
> - hibernate: Suspend reported the following errors:
> Suspend was aborted (see dmesg).
>
> "written for a version between 15 and 15" is the part that is
> confusing me. First, version 15 of what? Second, between a version and
> itself?
The hibernate script is talking about the version of Suspend2's proc
interface (cat /proc/software_suspend/interface_version). With the
change to cryptoapi, I updated the number to 16 (as you correctly guess
below).
> So, I look at dmesg. Here's the stuff it says to give when reporting
> bugs (plus some extra stuff):
>
> Software Suspend 2.1.9.5: Initiating a software suspend cycle.
> Software Suspend 2.1.9.5: Swapwriter: Signature found.
> Software Suspend 2.1.9.5: Suspending enabled.
> Suspend2: Failed to initialise the compression transform.
> Please include the following information in bug reports:
> - SUSPEND core : 2.1.9.5
> - Kernel Version : 2.6.12.1
> - Compiler vers. : 3.2
> - Attempt number : 8
> - Pageset sizes : 3281 (3281 low) and 12192 (12192 low).
> - Parameters : 1 64 0 1 0 5
> - Calculations : Image size: 15676. Ram to suspend: 524.
> - Limits : 49147 pages RAM. Initial boot: 46744.
> - Overall expected compression percentage: 0.
> - Compressor enabled.
> - Swapwriter active.
> Swap available for image: 48185 pages.
> - Filewriter inactive.
> - Preemptive kernel.
> - Max extents used: 8
> - No I/O speed stats available.
>
>
> I've tried removing /etc/hibernate and /usr/local/sbin/hibernate and
> reinstalling hibernate script 1.08, but I still get this error.
>
> I think this might have something to do with the new movement to the
> cryptoapi and there's just something I'm not getting.
That's right.
Assuming you compiled LZF cryptoapi support in and want to use it, the
right thing to do is edit your hibernate.conf (probably in
/etc/hibernate) and add the lines:
ProcSetting compressor lzf
ProcSetting disable_encryption 1
If you haven't compiled lzf in, you'll need to include the module in an
initrd/initramfs and load it before doing echo >
/proc/software_suspend/do_resume in the script, so compiling in is the
simpler option.
Hope this helps.
Nigel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Mismatched suspend2 interfaces == Suspend was aborted
2005-06-25 4:36 ` Nigel Cunningham
@ 2005-06-25 5:48 ` Andrew Haninger
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Haninger @ 2005-06-25 5:48 UTC (permalink / raw)
To: ncunningham; +Cc: Linux Kernel Mailing List, Suspend2-Users
On 6/25/05, Nigel Cunningham <ncunningham@cyclades.com> wrote:
> Assuming you compiled LZF cryptoapi support in and want to use it, the
> right thing to do is edit your hibernate.conf (probably in
> /etc/hibernate) and add the lines:
>
> ProcSetting compressor lzf
> ProcSetting disable_encryption 1
I saw the note about this on suspend2.net but, for whatever reason,
read it as "add this to your hibernate script." So I incorrectly added
the above lines to /usr/local/sbin/hibernate. Durrr.
> If you haven't compiled lzf in, you'll need to include the module in an
> initrd/initramfs and load it before doing echo >
> /proc/software_suspend/do_resume in the script, so compiling in is the
> simpler option.
I think I had compiled lzh as a module so this was also causing
problems. Since I compiled lzh (and some of the others that looked
like fun) into the kernel and added the above lines to
/etc/hibernate/hibernate.conf, hibernation seems to be working better.
I'll have to play with it some more so it breaks.
> Hope this helps.
Unfortunately, it did.
Thanks.
-Andy
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-06-25 5:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-25 4:20 Mismatched suspend2 interfaces == Suspend was aborted Andrew Haninger
2005-06-25 4:36 ` Nigel Cunningham
2005-06-25 5:48 ` Andrew Haninger
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.