From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LWYPo-0007CG-Ll for garchives@archives.gentoo.org; Mon, 09 Feb 2009 15:51:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A4D2FE0265; Mon, 9 Feb 2009 15:51:19 +0000 (UTC) Received: from mail.fraggod.net (unknown [91.191.238.58]) by pigeon.gentoo.org (Postfix) with ESMTP id 66054E0281 for ; Mon, 9 Feb 2009 15:51:19 +0000 (UTC) Received: from coercion (coercion.core [IPv6:2001:470:1f0b:11de::13]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.fraggod.net (Postfix) with ESMTPSA id CC83A101FDC for ; Mon, 9 Feb 2009 20:51:53 +0500 (YEKT) Date: Mon, 9 Feb 2009 20:48:09 +0500 From: Mike Kazantsev To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Segfaulting cryptsetup in init Message-ID: <20090209204809.3e86a710@coercion> In-Reply-To: <498FEBBC.8030008@gmail.com> References: <498FEBBC.8030008@gmail.com> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/ctk2iUdqK=1a7PNiuJLbo+0"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: 7526f354-ed20-4a7b-be17-8e61e7bb09f7 X-Archives-Hash: d493997cc8947a7192daee2c4d31a0fa --Sig_/ctk2iUdqK=1a7PNiuJLbo+0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 09 Feb 2009 09:39:24 +0100 Johan Bl=C3=A5b=C3=A4ck wrote: > I'm setting up this old computer of mine and why not encrypt it. I have > done this on several computers before, but never have I gotten these > kind of errors. You'll get segfault if you're trying to do something like luksOpen on a non-existing device. At least that was the reason for me, once, when I've tried to luksOpen /dev/sda2 instead of /dev/sda3, or something like that. Had it figured out by putting strace to initrd and running "strace cryptsetup luksOpen ..." instead of just cryptsetup - gave me something like "open('/dev/sdaX', ...) =3D -1 ENXIO (No such device or address)", so I had to double-check and found the mistake to be that trivial. --=20 Mike Kazantsev // fraggod.net --Sig_/ctk2iUdqK=1a7PNiuJLbo+0 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkmQUD4ACgkQASbOZpzyXnE0ywCcCQLYAVZ8z4nocmNJi318CuvA cs8AnilS5et+Gb+CoePgZ8Jp2f0Iam7w =XlZP -----END PGP SIGNATURE----- --Sig_/ctk2iUdqK=1a7PNiuJLbo+0--