lkml.org 
[lkml]   [2001]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: encrypted swap on loop in 2.4.10-pre12?
"steve j. kondik" wrote:
> i've been using encrypted swap over loopdev using the new cryptoapi
> patches. i just built a 2.4.10-pre12 kernel and i got a panic doing
> mkswap on the loopdev. the mkswap process becomes unkillable after this
> and never finishes. this is repeatable everytime. i've had no problems
> whatsoever until this kernel even under high load.. any ideas? :>

Cryptoapi can't be used to encrypt swap. It has nasties like sleeping in
make_request_fn() and potential memory allocation deadlock.

loop-AES works with encrypted swap. Announcement is here:

http://mail.nl.linux.org/linux-crypto/2001-09/msg00006.html
http://marc.theaimsgroup.com/?l=linux-crypto&m=99953544804810&w=2

Regards,
Jari Ruusu <jari.ruusu@pp.inet.fi>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.128 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site