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

Mike Kazantsev wrote:
> On Mon, 09 Feb 2009 09:39:24 +0100
> Johan Blåbäck <johan.bluecr...@gmail.com> 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', ...) = -1 ENXIO (No such device or address)", so
> I had to double-check and found the mistake to be that trivial.
> 

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

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

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
=QSRA
-----END PGP SIGNATURE-----

Reply via email to