DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <gmazyland@gmail.com>
To: "\"Clément Hertling (Wxcafé)\"" <wxcafe@wxcafe.net>
Cc: dm-crypt@saout.de
Subject: Re: [dm-crypt] Cryptsetup using loop device makes it stop
Date: Mon, 27 May 2013 16:25:14 +0200	[thread overview]
Message-ID: <51A36CCA.7010107@gmail.com> (raw)
In-Reply-To: <20130527105647.GA16575@wxcafe.net>

On 05/27/2013 12:56 PM, Clément Hertling (Wxcafé) wrote:
> Well i'd love this to work, but i have that in my .config 
> 
> CONFIG_BLK_DEV_LOOP=y
> CONFIG_BLK_DEV_CRYPTOLOOP=y
> 
> and it still doesn't work. I guess loopdev is in my kernel.

cryptoloop option is not important, the first one is enough.

What is your kernel version and arch?
(I should add this to cryptsetup debug output :)

1) try it in two steps:

losetup /dev/loop0 crypto.img
cryptsetup luksOpen /dev/loop0 crypto

Does it work this way?

2) try last stable cryptsetup 1.6.1, does it help?

If it still doesn't work, please use cryptsetup 1.6.1
and send (me or to the list) output of:

uname -a
lsblk
dmsetup table
strace cryptsetup luksOpen crypto.img crypto --debug

Thanks,
Milan

  reply	other threads:[~2013-05-27 14:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-27  6:11 [dm-crypt] Cryptsetup using loop device makes it stop Clément Hertling (Wxcafé)
2013-05-27  6:31 ` .. ink ..
2013-05-27 10:56   ` Clément Hertling (Wxcafé)
2013-05-27 14:25     ` Milan Broz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-05-27 21:18 Clément Hertling (Wxcafé)
2013-05-28  5:23 ` Milan Broz
2013-05-28 20:35   ` Clément Hertling (Wxcafé)
     [not found]     ` <51A52148.4010104@gmail.com>
     [not found]       ` <20130528213229.GA19746@wxcafe.net>
     [not found]         ` <51A52926.9070309@gmail.com>
2013-05-29 21:12           ` Clément Hertling (Wxcafé)
2013-05-29 21:40             ` Arno Wagner

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=51A36CCA.7010107@gmail.com \
    --to=gmazyland@gmail.com \
    --cc=dm-crypt@saout.de \
    --cc=wxcafe@wxcafe.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox