Gentoo Archives: gentoo-user

From: "Johan Blåbäck" <johan.bluecreek@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Segfaulting cryptsetup in init
Date: Mon, 09 Feb 2009 18:16:52
Message-Id: 499072C5.1030005@gmail.com
In Reply to: [gentoo-user] Segfaulting cryptsetup in init by "Johan Blåbäck"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Johan Blåbäck wrote:
5 > hi,
6 >
7 > I'm setting up this old computer of mine and why not encrypt it. I have
8 > done this on several computers before, but never have I gotten these
9 > kind of errors.
10 >
11 > When booting, cryptsetup segfaults. I can find no obvious reason why, I
12 > have tried to recompile cryptsetup using different arch, but still the
13 > same. It is build statically, USE=-dynamic is set and ldd just says "no
14 > dynamic executable". But when trying to debug I copied the cryptsetup,
15 > that is not working in the init, to a usb-device and tried to decrypt my
16 > disk using a livecd, and this went fine.
17 >
18 > So to summarize:
19 > init - cryptsetup segfaults
20 > in livecd env - cryptsetup ok
21 > in gentoo system - cryptsetup ok
22 >
23 > the other programs in the init seems to run as they should; busybox and lvm.
24 >
25 > Any ideas on how to continue debugging or is there someone with the answer?
26 >
27
28
29 hi again,
30
31 Still got a segfault :-/
32 The things I have tried more is to recompile cryptsetup and used that
33 for init, but no change. Compiled in all crypto algorithms, no change.
34 I'm not that good with all the options in the kernel. If anyone know of
35 which kernel options that could affect cryptsetup in this way?
36
37 Any ideas anyone?
38 (thx for the help sofar)
39
40 - --
41 For security reasons, all text in this mail is double-rot13 encrypted.
42 -----BEGIN PGP SIGNATURE-----
43 Version: GnuPG v1.4.9 (GNU/Linux)
44 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
45
46 iEYEARECAAYFAkmQcsQACgkQ82oqndqg+41kEACeLswROSAIfg4ZCY1kqurrTvQi
47 pQsAnj5zixPj0Qbf+jzq5rRDSyPdEnNg
48 =J7gU
49 -----END PGP SIGNATURE-----

Replies

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