From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6_cPUQ22hAgk for ; Mon, 27 May 2013 16:25:18 +0200 (CEST) Received: from mail-ee0-f42.google.com (mail-ee0-f42.google.com [74.125.83.42]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Mon, 27 May 2013 16:25:18 +0200 (CEST) Received: by mail-ee0-f42.google.com with SMTP id c50so4017993eek.15 for ; Mon, 27 May 2013 07:25:18 -0700 (PDT) Message-ID: <51A36CCA.7010107@gmail.com> Date: Mon, 27 May 2013 16:25:14 +0200 From: Milan Broz MIME-Version: 1.0 References: <20130527061103.GB4457@wxcafe.net> <20130527105647.GA16575@wxcafe.net> In-Reply-To: <20130527105647.GA16575@wxcafe.net> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: [dm-crypt] Cryptsetup using loop device makes it stop List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-1?Q?=22Cl=E9ment_Hertling_=28Wxcaf=E9=29=22?= Cc: dm-crypt@saout.de On 05/27/2013 12:56 PM, Cl=E9ment Hertling (Wxcaf=E9) wrote: > Well i'd love this to work, but i have that in my .config=20 >=20 > CONFIG_BLK_DEV_LOOP=3Dy > CONFIG_BLK_DEV_CRYPTOLOOP=3Dy >=20 > 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