From: Jari Ruusu <jari.ruusu-+kynuGyeZW3HOG6cAo2yLw@public.gmane.org>
To: Robert Stark <rstark-viLzafFedAGELgA04lAiVw@public.gmane.org>
Cc: Linux Mailinglists
<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
linux-crypto-qDhp9YYfzQpg9hUCZPvPmw@public.gmane.org,
swsusp-LcL5texQODR2DW0IdvIQ2g@public.gmane.org
Subject: Re: ACPI + loop(AES) + swsusp
Date: Mon, 05 Aug 2002 19:08:14 +0300 [thread overview]
Message-ID: <3D4EA2EE.C5252944@pp.inet.fi> (raw)
In-Reply-To: Pine.LNX.4.44.0208050914050.15185-100000@xborg.ipp-hgw.mpg.de
Robert Stark wrote:
> I've patched kernel-2.4.18 with acpi-20020726-2.4.18.diff, patch-acpi-acpi20020726-swsusp11,
> and use Jari's loopaes. All partitions, also the root partition are encrypted symmetric.
>
> I work on a Sony-PCG-FX501 and ACPI and loopaes do all the things they should do.
> Have tested swsusp on the same machine without loopaes( and standard loop device )
> successfully, but when i have an loop device losetuped and send an 'echo 4 > /proc/acpi/sleep'
> then swsusp says "Strange, loopX not stopped" and abort suspend. After this error all loop devices
> are under load and i must reboot the system.
>
> Is there a way get this envoirement to work ?
Swsusp requires that loop thread puts itself to 'refrigerator' before
suspend can happen. Current version of loop-AES just does not do that and is
incompatible with swsusp.
And even if loop thread did the 'refrigerator' thing, it would be really bad
security wise because the encryption keys would be written to disk when
kernel RAM is saved to disk. Of course that is not a problem with
unencrypted loops.
Robert, can you send me URLs of the patches that you used? It may be
possible to add such code in '#ifdef CONFIG_SWSUSP / #endif' hunks, so that
it gets activated only if swsusp is enabled in kernel config. I can't
promise that it gets merged, but I will at least take a look at it.
Regards,
Jari Ruusu <jari.ruusu-+kynuGyeZW3HOG6cAo2yLw@public.gmane.org>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
next prev parent reply other threads:[~2002-08-05 16:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-05 8:26 ACPI + loop(AES) + swsusp Robert Stark
2002-08-05 16:08 ` Jari Ruusu [this message]
[not found] ` <3D4EA2EE.C5252944-+kynuGyeZW3HOG6cAo2yLw@public.gmane.org>
2002-08-18 13:58 ` John J. Lee
2002-08-19 16:44 ` Jari Ruusu
[not found] ` <3D612050.F980C545-+kynuGyeZW3HOG6cAo2yLw@public.gmane.org>
2001-11-02 13:56 ` Pavel Machek
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=3D4EA2EE.C5252944@pp.inet.fi \
--to=jari.ruusu-+kynugyezw3hog6cao2ylw@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=linux-crypto-qDhp9YYfzQpg9hUCZPvPmw@public.gmane.org \
--cc=rstark-viLzafFedAGELgA04lAiVw@public.gmane.org \
--cc=swsusp-LcL5texQODR2DW0IdvIQ2g@public.gmane.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox