All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nigel Cunningham <ncunningham@cyclades.com>
To: Andrew Haninger <ahaning@gmail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Suspend2-Users <suspend2-users@lists.suspend2.net>
Subject: Re: Mismatched suspend2 interfaces == Suspend was aborted
Date: Sat, 25 Jun 2005 14:36:59 +1000	[thread overview]
Message-ID: <1119674219.4170.4.camel@localhost> (raw)
In-Reply-To: <105c793f05062421207c6ad27@mail.gmail.com>

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


  reply	other threads:[~2005-06-25  4:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-25  4:20 Mismatched suspend2 interfaces == Suspend was aborted Andrew Haninger
2005-06-25  4:36 ` Nigel Cunningham [this message]
2005-06-25  5:48   ` Andrew Haninger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1119674219.4170.4.camel@localhost \
    --to=ncunningham@cyclades.com \
    --cc=ahaning@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=suspend2-users@lists.suspend2.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.