All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jari Ruusu <jari.ruusu@pp.inet.fi>
To: "steve j. kondik" <shade@chemlab.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: encrypted swap on loop in 2.4.10-pre12?
Date: Thu, 20 Sep 2001 00:02:46 +0300	[thread overview]
Message-ID: <3BA907F6.3586811C@pp.inet.fi> (raw)
In-Reply-To: <1000912739.17522.2.camel@discord>

"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>


  parent reply	other threads:[~2001-09-19 21:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-19 15:18 encrypted swap on loop in 2.4.10-pre12? steve j. kondik
2001-09-19 15:37 ` Jens Axboe
2001-09-19 17:38   ` steve j. kondik
2001-09-19 21:02 ` Jari Ruusu [this message]
2001-09-20  6:13   ` Jens Axboe
2001-09-20 12:08     ` Jari Ruusu
2001-09-20 12:25       ` Jens Axboe
2001-09-20 13:17         ` steve j. kondik
2001-09-20 17:04           ` Jari Ruusu
2001-09-20 17:20             ` steve j. kondik
2001-09-20 17:55               ` Jari Ruusu
2001-09-20 18:59                 ` Michael H. Warfield
2001-09-21  0:36                   ` steve j. kondik
2001-09-21  9:15                     ` Jari Ruusu
2001-09-21 14:52                       ` steve j. kondik

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=3BA907F6.3586811C@pp.inet.fi \
    --to=jari.ruusu@pp.inet.fi \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shade@chemlab.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 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.