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 <gentoo-user+bounces-90778-garchives=archives.gentoo.org@lists.gentoo.org>) id 1LWZn8-0000ro-KB for garchives@archives.gentoo.org; Mon, 09 Feb 2009 17:19:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C578E02B8; Mon, 9 Feb 2009 17:19:29 +0000 (UTC) Received: from mail-bw0-f157.google.com (mail-bw0-f157.google.com [209.85.218.157]) by pigeon.gentoo.org (Postfix) with ESMTP id 27E26E02B8 for <gentoo-user@lists.gentoo.org>; Mon, 9 Feb 2009 17:19:29 +0000 (UTC) Received: by bwz1 with SMTP id 1so1601393bwz.10 for <gentoo-user@lists.gentoo.org>; Mon, 09 Feb 2009 09:19:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=H/KuBE/r5hub3l6cZCdagm61aPkuGnHpPcS+PjTDc00=; b=D04QivVnPb72iUMYkGhzS/lv/MU2g8BbSkuVGiB63tG9HvL0aeE1iWhm9y1LMM8AFE 9H10ueilTjkT0OKfQaCbLFh1WnuqRP/b3YcLAG9YRYuZtoDMKDkdy6ZsFXbOMSCwpLSk QnsT3vjCrcP5ssBuaL81TgSNsW1hvqPIb7SRE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=ub0N8fetMXMlseP7pxxev7WzbVpxsgR2k5b+gx6iTHxsdXu8elYMfpFqeyuFihnkch KGHnMxsHsDLySLRkoFVE9o1CF50twlm/ymm0RVoDB37z4gR0G679oE4H0N5dlVBgFveM vKa4YgysrQzbdRq6tehdlNGL+L7yz/EJ788RA= Received: by 10.223.103.207 with SMTP id l15mr1199622fao.2.1234199968288; Mon, 09 Feb 2009 09:19:28 -0800 (PST) Received: from ?192.168.1.100? (nl104-214-126.student.uu.se [130.243.214.126]) by mx.google.com with ESMTPS id c28sm6019484fka.6.2009.02.09.09.19.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 09 Feb 2009 09:19:27 -0800 (PST) Message-ID: <4990655B.5070207@gmail.com> Date: Mon, 09 Feb 2009 18:18:19 +0100 From: =?ISO-8859-1?Q?Johan_Bl=E5b=E4ck?= <johan.bluecreek@gmail.com> User-Agent: Thunderbird 2.0.0.19 (X11/20090103) Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Segfaulting cryptsetup in init References: <498FEBBC.8030008@gmail.com> <20090209204809.3e86a710@coercion> In-Reply-To: <20090209204809.3e86a710@coercion> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 95b55592-6238-4623-bc20-9264d85b545a X-Archives-Hash: 985d49ba55af0d6e8f64f9a60a6b4f33 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mike Kazantsev wrote: > On Mon, 09 Feb 2009 09:39:24 +0100 > Johan Bl=E5b=E4ck <johan.bluecreek@gmail.com> wrote: >=20 >> I'm setting up this old computer of mine and why not encrypt it. I hav= e >> done this on several computers before, but never have I gotten these >> kind of errors. >=20 > You'll get segfault if you're trying to do something like luksOpen on a > non-existing device. >=20 > 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. >=20 > 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 This was actually one of the first things I checked. Just forgot to mention it. I solved it by adding a 'ls -l /dev' in the init, and there I found out that /dev/sda1 was named /dev/hda1. But I still got the probl= em. > Forgot to compile the Crypto Algorithms in the kernel instead of as > modules? Since lvm runs, the lvm is obviously no module. > HTH > Sebastian I'm quite sure that I have compiled in all of the algorithms I'm using. But I will add some more just to be sure. Recompiling my kernel as I writ= e. Thanks to both of you. - -- For security reasons, all text in this mail is double-rot13 encrypted. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmQZVsACgkQ82oqndqg+41n6QCdGcoLnojw13UD40GlXkaZc6QX dEkAni6+N/rU0MECoii2q/a7btNj1aRa =3DQSRA -----END PGP SIGNATURE-----