Gentoo Archives: gentoo-user

From: Mike Kazantsev <mike_kazantsev@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Segfaulting cryptsetup in init
Date: Mon, 09 Feb 2009 15:51:20
Message-Id: 20090209204809.3e86a710@coercion
In Reply to: [gentoo-user] Segfaulting cryptsetup in init by "Johan Blåbäck"
1 On Mon, 09 Feb 2009 09:39:24 +0100
2 Johan Blåbäck <johan.bluecreek@×××××.com> wrote:
3
4 > I'm setting up this old computer of mine and why not encrypt it. I have
5 > done this on several computers before, but never have I gotten these
6 > kind of errors.
7
8 You'll get segfault if you're trying to do something like luksOpen on a
9 non-existing device.
10
11 At least that was the reason for me, once, when I've tried to
12 luksOpen /dev/sda2 instead of /dev/sda3, or something like that.
13
14 Had it figured out by putting strace to initrd and running "strace
15 cryptsetup luksOpen ..." instead of just cryptsetup - gave me something
16 like "open('/dev/sdaX', ...) = -1 ENXIO (No such device or address)", so
17 I had to double-check and found the mistake to be that trivial.
18
19 --
20 Mike Kazantsev // fraggod.net

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Segfaulting cryptsetup in init "Johan Blåbäck" <johan.bluecreek@×××××.com>