You are not logged in.

#1 2008-10-22 10:47:39

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

[solved] kernel 2.6.27 - open LUKS encrypted root partition fails

Hi,

after updating to kernel 2.6.27 the passphrase for my LUKS encrypted root partition does not work anymore.

I get this error messages:

Enter LUKS passphrase:

device-mapper: table: 254:0 crypt: Error allocating crypto tfm
device-mapper: ioctl: error adding target to table
device-mapper: ioctl: device doesn't appear to be in the dev hash table.
Command failed: No key available with this passphrase.

Enter LUKS passphrase:

With a old (2.6.25) vanilla kernel it works.

any ideas?

EDIT
Solved. smile

The Problem was that I had this line in my mkinitcpio.conf to get rid of the padlock-error-message at boot.

#CRYPTO_MODULES="aes_i586 aes_generic sha256_generic"

With kernel 2.6.27 there are new / more modules needed to open the LUKS encryptet root partition.
So I removed the line from mkinitcpio.conf and deletet the padlock modules in /lib/modules/2.6.27-ARCH before regenarating the initrd image.

Thanks to GerBra for the tip.

Last edited by SiD (2008-10-22 11:41:56)

Offline

#2 2008-10-22 21:29:35

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: [solved] kernel 2.6.27 - open LUKS encrypted root partition fails

CRYPTO_MODULES="aes-i586 xts" is still sufficient for me (aes-xts-plain, nothing blacklisted). Do you use cbc-essiv?


1000

Offline

#3 2008-10-23 14:57:30

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: [solved] kernel 2.6.27 - open LUKS encrypted root partition fails

I'm not shure, but think ... yes. wink

Offline

Board footer

Powered by FluxBB