Genkernel (3.4.10.904) when called with --luks switch doesn't include in the initramfs the dm-crypt (dm-crypt.ko) module which is necessary for the kernel to open encrypted partitions. A workaround is to compile dm-crypt into the kernel but I believe the expected behaviour is for this module to be included if found, such as the rest device mapper modules. Reproducible: Always Steps to Reproduce: 1. emerge =sys-kernel/genkernel-3.4.10.904 2. genkernel --install --luks --menuconfig all 3. In menuconfig set device mapper and crypt target to be compiled as modules. Device Drivers -> Multiple devices driver support (RAID and LVM) -> Device mapper support <M> AND Crypt target support <M> 4. zcat newly_created_initramfs | cpio -t | grep dm-crypt.ko Actual Results: The last command gives empty output. Expected Results: Grep the dm-crypt module: lib/modules/version/kernel/drivers/md/dm-crypt.ko
This has been fixed in git.
(In reply to comment #1) > This has been fixed in git. > I have yet to learn searching in git. :( genkernel devs feel free to change the status of the bug. Thanks for your efforts and time on genkernel!
Just emerge =sys-kernel/genkernel-9999. That will do a git checkout.
Confirmed to work with sys-kernel/genkernel-3.4.10.907. Closing.