On 5/21/22 9:44 PM, Thomas Lange wrote:
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.
Running dracut --debug does something horrible to my system forcing me to reboot so I've
not been able to run it to completion. In what I had of the log file it did seem to be
installing the ccm and ecb modules.
I don't know what's going on. Maybe dracut is looking at the running system to see what's
loaded. Remember the version that didn't boot was built on a 5.4 system where the module
organisation seems to be different.
I suppose I could go back to the old system and try building the new initrd again to get
the log.
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.
I attach the luks dump of the partition header. I don't think there's anything
non-standard about it.
The partition is a md raid-5 assembly which is luks encrypted. It contains an lvm pv/vg
with all my filesystems (mostly xfs) in it.
I'm not sure how much pursuing this is worth the effort. Perhaps recording the workaround
(load the modules in dracut) in case someone else hits the problem is sufficient.
Dick
--
Dick Middleton [email protected]
LUKS header information
Version: 2
Epoch: 4
Metadata area: 16384 [bytes]
Keyslots area: 16744448 [bytes]
UUID: ----
Label: (no label)
Subsystem: (no subsystem)
Flags: (no flags)
Data segments:
0: crypt
offset: 16777216 [bytes]
length: (whole device)
cipher: aes-xts-plain64
sector: 512 [bytes]
Keyslots:
0: luks2
Key: 512 bits
Priority: normal
Cipher: aes-xts-plain64
Cipher key: 512 bits
PBKDF: argon2i
Time cost: 4
Memory: 735048
Threads: 4
Salt: ----
AF stripes: 4000
AF hash: sha256
Area offset:32768 [bytes]
Area length:258048 [bytes]
Digest ID: 0
1: luks2
Key: 512 bits
Priority: normal
Cipher: aes-xts-plain64
Cipher key: 512 bits
PBKDF: argon2i
Time cost: 4
Memory: 710101
Threads: 4
Salt: ----
AF stripes: 4000
AF hash: sha256
Area offset:290816 [bytes]
Area length:258048 [bytes]
Digest ID: 0
Tokens:
Digests:
0: pbkdf2
Hash: sha256
Iterations: 62653
Salt: ----
Digest: ----