[opensuse-kernel] aesni-intel module in the initrd --> boot fail
Hi: This new laptop has aes-ni support, however, if I happend to place the aesni-intel module in the initrd, I can no longer unlock the encrypted root device device-mapper: table: 253:0: crypt: Error allocating crypto tfm device-mapper: ioctl: error adding target to table device-mapper: reload ioctl failed: Invalid argument Command failed: Failed to setup dm-crypt key mapping. Check kernel for support for the aes-cbc-essiv:sha256 cipher ... what is the right setup ? I am missing some other kernel module in the initrd ? Kernel Modules: thermal_sys thermal processor fan dm-mod dm-crypt dm-snapshot zlib_deflate btrfs button video wmi mxm-wmi i2c-algo-bit drm drm_kms_helper ttm nouveau linear arc4 sha256_generic cbc Features: acpi dm kms block usb lvm2 luks btrfs resume.userspace resume.kernel -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
El vie 09 dic 2011 11:06:12 CLST, Cristian Rodríguez escribió:
Hi:
This new laptop has aes-ni support, however, if I happend to place the aesni-intel module in the initrd, I can no longer unlock the encrypted root device
device-mapper: table: 253:0: crypt: Error allocating crypto tfm device-mapper: ioctl: error adding target to table device-mapper: reload ioctl failed: Invalid argument Command failed: Failed to setup dm-crypt key mapping. Check kernel for support for the aes-cbc-essiv:sha256 cipher ...
what is the right setup ? I am missing some other kernel module in the initrd ?
Kernel Modules: thermal_sys thermal processor fan dm-mod dm-crypt dm-snapshot zlib_deflate btrfs button video wmi mxm-wmi i2c-algo-bit drm drm_kms_helper ttm nouveau linear arc4 sha256_generic cbc Features: acpi dm kms block usb lvm2 luks btrfs resume.userspace resume.kernel
Got it, I messed it up this way: ran modprobe aesni-intel and then created the initrd what should I have done (and works) add aesni-intel modules to INITRD_MODULES instead, then dependencies are determined correctly and the system works :-D -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (1)
-
Cristian Rodríguez