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@pp.inet.fi> - Linux-crypto: cryptography in and on the Linux system Archive: http://mail.nl.linux.org/linux-crypto/