Same issue for me. I am using 2.6.38-11-generic and /home and swap encryption.
I see
modprobe: FATAL: Error inserting padlock_sha (/lib/modules/2.6.38-11-generic/kernel/drivers/crypto/padlock-sha.ko): No such device
during boot up.
I just updated yesterday and then added "hash=ripemd160,size=256" to /etc/crypttab:
I did it because in output of apt-get i notice, that hash and size should be specified for cryptsetup to work properly.
It seems that swap is encrypted and works properly:
# cryptsetup status cryptswap1
/dev/mapper/cryptswap1 is active and is in use.
type: PLAIN
cipher: aes-cbc-essiv:sha256
keysize: 256 bits
device: /dev/sda3
offset: 0 sectors
size: 6297480 sectors
mode: read/write
Same issue for me. I am using 2.6.38-11-generic and /home and swap encryption.
I see 2.6.38- 11-generic/ kernel/ drivers/ crypto/ padlock- sha.ko) : No such device
modprobe: FATAL: Error inserting padlock_sha (/lib/modules/
during boot up.
I just updated yesterday and then added "hash=ripemd160 ,size=256" to /etc/crypttab:
# cat /etc/crypttab aes-cbc- essiv:sha256, hash=ripemd160, size=256
# <target name> <source device> <key file> <options>
cryptswap1 /dev/sda3 /dev/urandom swap,cipher=
#EOF
I did it because in output of apt-get i notice, that hash and size should be specified for cryptsetup to work properly.
It seems that swap is encrypted and works properly:
# cryptsetup status cryptswap1 cryptswap1 is active and is in use. essiv:sha256
/dev/mapper/
type: PLAIN
cipher: aes-cbc-
keysize: 256 bits
device: /dev/sda3
offset: 0 sectors
size: 6297480 sectors
mode: read/write
# free -m
total used free shared buffers cached
Mem: 2004 1886 117 0 78 905
-/+ buffers/cache: 902 1101
Swap: 3074 51 3023