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:

# cat /etc/crypttab
# <target name> <source device> <key file> <options>
cryptswap1 /dev/sda3 /dev/urandom 
swap,cipher=aes-cbc-essiv:sha256,hash=ripemd160,size=256
#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
/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

# free -m
             total used free shared buffers cached
Mem: 2004 1886 117 0 78 905
-/+ buffers/cache: 902 1101
Swap: 3074 51 3023

** Changed in: linux (Ubuntu)
       Status: Expired => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/779912

Title:
  modprobe: FATAL: Error inserting padlock_sha
  (/lib/modules/2.6.38-9-generic/kernel/drivers/crypto/padlock-sha.ko):
  No such device

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/779912/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to