Hi,
I've just called dracut --debug /tmp/tempfile on my machine Debian
bullseye, kernel 5.10.0-14-amd64, no crypto partition.
I can see, that dracut adds the ccm module by itself and also installs
the ccm.ko into the initrd.
dracut-install: Adding module 'ccm' to hostonly module list
.
.
dracut-install: Handling /lib/modules/5.10.0-14-amd64//kernel/crypto/ccm.ko
dracut-install: dracut_install
'/lib/modules/5.10.0-14-amd64//kernel/crypto/ccm.ko'
'/lib/modules/5.10.0-14-amd64//kernel/crypto/ccm.ko'
dracut-install:
dracut_install('/lib/modules/5.10.0-14-amd64//kernel/crypto/ccm.ko',
'/lib/modules/5.10.0-14-amd64//kernel/crypto/ccm.ko', 0, 0, 1)
dracut-install: dracut_install ret = 0
dracut-install: cp '/lib/modules/5.10.0-14-amd64//kernel/crypto/ccm.ko'
'/var/tmp/dracut.weYWqU/initramfs/lib/modules/5.10.0-14-amd64//kernel/crypto/ccm.ko'
dracut-install: cp ret = 0
dracut-install: dracut_install ret = 0
dracut-install: dracut_install 'ccm' OK
You should also debug your setup using dracut --debug /tmp/tempfile.
Maybe uyou can alos provide some information about the
encrypted root file system. I do not know how crypt setups work, but I
guess we need the encryption type of the file system and maybe other
infos about it.
--
regards Thomas