[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <8db1092f0904081235x58081f1by842ab45ad861e294@mail.gmail.com>
Date: Wed, 8 Apr 2009 21:35:23 +0200
From: Maciej Rutecki <maciej.rutecki@...il.com>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"Rafael J. Wysocki" <rjw@...k.pl>, herbert@...dor.apana.org.au,
davem@...emloft.net, linux-crypto@...r.kernel.org
Subject: [2.6.30-rc1] device-mapper: table: 254:0: crypt: Error allocating
crypto tfm
Kernel 2.6.30.1
I try mount encrypted partition:
root@...m:/home/maciek# cryptsetup create secret /dev/sda6
Enter passphrase:
Command failed: device-mapper: reload ioctl failed: Zły argument
"Zły argument"="Bad argument"
Dmesg shows:
[ 193.421463] device-mapper: table: 254:0: crypt: Error allocating crypto tfm
[ 193.421471] device-mapper: ioctl: error adding target to table
[ 193.465318] device-mapper: ioctl: device doesn't appear to be in
the dev hash table
BUT, I try again:
root@...m:/home/maciek# cryptsetup create secret /dev/sda6
Enter passphrase:
root@...m:/home/maciek# mount /mnt/sec/
root@...m:/home/maciek# df -h | grep sec
/dev/mapper/secret 89G 42G 43G 50% /mnt/sec
Then it works.
root@...m:/home/maciek# cat /proc/crypto
name : cbc(aes)
driver : cbc(aes-asm)
module : kernel
priority : 200
refcnt : 2
selftest : passed
type : givcipher
async : yes
blocksize : 16
min keysize : 16
max keysize : 32
ivsize : 16
geniv : chainiv
name : cbc(aes)
driver : cbc(aes-asm)
module : cbc
priority : 200
refcnt : 2
selftest : passed
type : blkcipher
blocksize : 16
min keysize : 16
max keysize : 32
ivsize : 16
geniv : <default>
name : aes
driver : aes-asm
module : aes_i586
priority : 200
refcnt : 2
selftest : passed
type : cipher
blocksize : 16
min keysize : 16
max keysize : 32
name : aes
driver : aes-generic
module : aes_generic
priority : 100
refcnt : 1
selftest : passed
type : cipher
blocksize : 16
min keysize : 16
max keysize : 32
name : stdrng
driver : krng
module : kernel
priority : 200
refcnt : 2
selftest : passed
type : rng
seedsize : 0
name : md5
driver : md5-generic
module : kernel
priority : 0
refcnt : 1
selftest : passed
type : shash
blocksize : 64
digestsize : 16
descsize : 88
Any else information is needed?
Config:
http://unixy.pl/maciek/download/kernel/2.6.30-rc1/pc/config-2.6.30-rc1.txt
dmesg:
http://unixy.pl/maciek/download/kernel/2.6.30-rc1/pc/dmesg.txt
--
Maciej Rutecki
http://www.maciek.unixy.pl
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists