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 giI-VO2BUC4s for ; Mon, 27 May 2013 08:19:42 +0200 (CEST) Received: from wxcafe.net (wxcafe.net [5.39.76.46]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Mon, 27 May 2013 08:19:41 +0200 (CEST) Received: from wxcafe.net (tui75-4-83-155-220-66.fbx.proxad.net [83.155.220.66]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: wxcafe) by wxcafe.net (Postfix) with ESMTPSA id 2B0206E0088 for ; Mon, 27 May 2013 08:12:33 +0200 (CEST) Date: Mon, 27 May 2013 08:11:03 +0200 From: =?utf-8?B?Q2zDqW1lbnQgSGVydGxpbmcgKFd4Y2Fmw6kp?= Message-ID: <20130527061103.GB4457@wxcafe.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline Subject: [dm-crypt] Cryptsetup using loop device makes it stop List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, i'm trying to use cryptsetup to create an encrypted image file. So i luksFormat-ed it on my server, everything went fine, and on that server i can mount it without a problem. But on my laptop (same distro, different kernel), there's something that doesn't work. Here's the output i get=20 $ sudo cryptsetup luksOpen crypto.img crypto --debug # cryptsetup 1.4.3 processing "cryptsetup luksOpen crypto.img crypto --debu= g" # Running command luksOpen. # Locking memory. # Allocating crypt device crypto.img context. # Not a block device, using free loop device /dev/loop0. # Trying to open and read device /dev/loop0. Cannot read device /dev/loop0. # Unlocking memory. Command failed with code 15: Block device required And these are some command i tried to fix the problem : $ sudo losetup -f /dev/loop0 $ sudo ls -lh /dev/loop0 brw-rw---T 1 root disk 7, 0 May 27 08:00 /dev/loop0 $ sudo losetup -d /dev/loop0 loop: can't delete device /dev/loop0: No such device or address I know this might not be the best place to ask, because this looks like it's more of a kernel or loopdev problem, but i don't really know where to address this question, so I'm sending this there in hope you'll be able to help. Thanks for your awesome work anyway, and thanks for your possible help. --=20 Cl=C3=A9ment Hertling (Wxcafe) ------ ------ Sent from my netbook's cyberspace --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJRovj3AAoJEJ4qGRcn2BrIp2IP/AwLcMcOE4/EzQsWvH2tIaEr SwEFGC4ncpaPygb4cP5qS73j9DOI7XyH2p9pXHrj18AW/ZaaqFdy/FT00cddruGy iNTdO2W1yB8Vf6VbaOYaugtiFcOurqmnXfd1YRipWkFgzR7hU+Fh5VS9PmFBfinp PJR+X0WJkIUYG+KZpzD30H8vG62hcFfX8FcFg81ew3HS0I23TTcW5syhpqbtdAs5 KXhnQ41Apr2KtB+iok+u5qzjMydqZovxFNZOWkhunx2DqY0CZ2MYIjqgj4BkhGid fuyLHeY0RkGN373i6lNmIvY2asIDOMLjt+o/slF+6fH7gNDO4KOvIVDNHv0dOuvw aRJnkTIUfGgsTR++6b38oNGcIQ6hZT3FgiWIJSJacjTKddIDx2M7ybNTR00wk0Zi omqU/FcvQ/zcbSptxbuAeFlSe46E47P/9n5fO8x7s1FvSKirF/KMiXWPe95mWN3L orlOERwYms9kmJ08MzLRc1mIeR82T58EQhjcoyatWGZagWG6eDGpqeih5TYbDnug RWPsCw5zuaaLXzj9gDkHz1OYBoRRiNIU5191zcN61KnZ52ii1WC3FpX1ZlQelHJ7 YIQayMMvjyotNgRLgoRGMrCgghA/a6orXZX90NyuFkUl/iOh7sYdWqyII2iVpUWo jT8AdkQg+7DVQirThIOq =ifl6 -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j--