-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Johan Blåbäck wrote:
> Johan Blåbäck wrote:
>> hi,
> 
>> 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.
> 
>> When booting, cryptsetup segfaults. I can find no obvious reason why, I
>> have tried to recompile cryptsetup using different arch, but still the
>> same. It is build statically, USE=-dynamic is set and ldd just says "no
>> dynamic executable". But when trying to debug I copied the cryptsetup,
>> that is not working in the init, to a usb-device and tried to decrypt my
>> disk using a livecd, and this went fine.
> 
>> So to summarize:
>> init - cryptsetup segfaults
>> in livecd env - cryptsetup ok
>> in gentoo system - cryptsetup ok
> 
>> the other programs in the init seems to run as they should; busybox and lvm.
> 
>> Any ideas on how to continue debugging or is there someone with the answer?
> 
> 
> 
> hi again,
> 
> Still got a segfault :-/
> The things I have tried more is to recompile cryptsetup and used that
> for init, but no change. Compiled in all crypto algorithms, no change.
> I'm not that good with all the options in the kernel. If anyone know of
> which kernel options that could affect cryptsetup in this way?
> 
> Any ideas anyone?
> (thx for the help sofar)
> 

I had noticed this problem w/ my laptop where some usbdevices dont show
up until a few seconds later than when the init is running. So I added a
'sleep 10' to the init, and what I got was

- - 10 s sleep
- - during these I get a messege: sda: sda1 sda2 (this is the bootable
usb-key)
- - cryptsetup segfaults
- - ls -l /dev/sd* gives 'ls: /dev/sd*: No such file or directory'
- - ls -l DEv/hd* gives '/dev/hda1'

How is this possible? Shouldn't it show sda, sda1 and sda2 together with
hda and hda1? Why are these missing?


- --
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

iEYEARECAAYFAkmQetwACgkQ82oqndqg+41aSwCgl7CAh0MXlWEogo2dnA9BSkr1
sTAAnR9Ppheav4nbGxBonWB6nzs80KEg
=Szmp
-----END PGP SIGNATURE-----

Reply via email to