Return-Path: Received: from localhost (localhost [127.0.0.1]) by mail.saout.de (Postfix) with ESMTP id 71BDC97A5 for ; Wed, 12 Aug 2009 11:39:17 +0200 (CEST) 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 NulHUrBL5SYl for ; Wed, 12 Aug 2009 11:39:12 +0200 (CEST) Received: from mail01.freesources.org (mx01.freesources.org [80.237.252.149]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Wed, 12 Aug 2009 11:39:12 +0200 (CEST) Date: Wed, 12 Aug 2009 11:39:10 +0200 From: Jonas Meurer Message-ID: <20090812093910.GD7161@resivo.wgnet.de> References: <4A8174D3.7000909@gmx.de> <4A8179D4.40807@gmx.at> <20090811212516.39750@gmx.net> <4A81EB67.30002@gmail.com> <20090811224009.300710@gmx.net> <20090811233447.GC31949@resivo.wgnet.de> <4A825F04.5070109@gmx.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Content-Disposition: inline In-Reply-To: <4A825F04.5070109@gmx.de> Subject: Re: [dm-crypt] reinstallation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rainer Maier Cc: dm-crypt@saout.de --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable hey, On 12/08/2009 Rainer Maier wrote: > here is the output: let's see ... > sv3000:~# dpkg -l cryptsetup > un cryptsetup (keine Beschreibung vorhanden) > sv3000:~# cryptsetup --version > cryptsetup 1.0.6 interesting. so how did you install cryptsetup. did you compile it yourself? why don't you use the cryptsetup version distributed within debian? you can install it with 'apt-get install cryptsetup', this takes care of required libraries and other dependencies as well (see below). > sv3000:~# cryptsetup luksDump /dev/sda2 > LUKS header information for /dev/sda2 >=20 > Version: 1 > Cipher name: aes > Cipher mode: cbc-essiv:sha256 > Hash spec: sha1 > Payload offset: 1032 > MK bits: 128 > MK digest: >=20 > MK salt: >=20 > MK iterations: 10 > UUID: 6c2a5824-5594-4516-885b-4a82a5be9554 ok, so the luks partition itself seems to be fine. > sv3000:~# cat /proc/crypto > name : aes > driver : aes-i586 > module : aes_i586 > priority : 200 > refcnt : 1 > type : cipher > blocksize : 16 > min keysize : 16 > max keysize : 32 >=20 > name : md5 > driver : md5-generic > module : kernel > priority : 0 > refcnt : 1 > type : digest > blocksize : 64 > digestsize : 16 that one misses the cbc blockcipher at least. try 'modprobe cbc'. if that doesn't work, check your kernel config. do you run a debian kernel or a selfcompiled one? in the first case cbc should be available. in the second you should know what to do to add cbc support to your kernel. > sv3000:~# dmsetup targets > -su: dmsetup: command not found ah, that's interesting. so you seem to not have installed dmsetup. do you have libdevmapper at all? i really suggest to use the debian cryptsetup package and let the debian package system manage dependencies. that way you can be sure that all required programs and libraries are installed allong with cryptsetup. greetings, jonas --liOOAslEiF7prFVr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkqCjb4ACgkQd6lUs+JfIQIuWwCfW8u+9c7gnzjhwgUIgrSq6OBp SS0AnjbIfDFDDA23SdYbCaeefkwhA+fc =9mWW -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--