The pkey modules are in a separate "s390-tools-zkey" package in Ubuntu. This separate zkey package exists since 2.6.0, when even d-i was used.
It incl. the hook file for the initramfs-tools: dpkg -c s390-tools-zkey_2.37.0-0ubuntu2_s390x.deb | grep -i /usr/share/initramfs-tools/hooks/s390-tools-zkey -rwxr-xr-x root/root 907 2025-02-14 16:40 ./usr/share/initramfs-tools/hooks/s390-tools-zkey Installing this: sudo apt install s390-tools-zkey and running update-initramfs: sudo update-initramfs -k all -u will add all pkey* modules: lsinitramfs /boot/initrd.img-$(uname -r)-generic | grep pkey sr/lib/modules/6.14.0-23-generic/kernel/drivers/s390/crypto/pkey-cca.ko.zst usr/lib/modules/6.14.0-23-generic/kernel/drivers/s390/crypto/pkey-ep11.ko.zst usr/lib/modules/6.14.0-23-generic/kernel/drivers/s390/crypto/pkey-pckmo.ko.zst usr/lib/modules/6.14.0-23-generic/kernel/drivers/s390/crypto/pkey-uv.ko.zst usr/lib/modules/6.14.0-23-generic/kernel/drivers/s390/crypto/pkey.ko.zst iianm it was done in the past to have a lean package at install time that could be pulled-in in case of installations with an encrypted root partition. The modules are available and can be loaded at install time by default (s390-tools-zkey package is installed in install live system): # lsmod | grep pkey pkey_cca 24576 0 pkey_ep11 24576 0 zcrypt 135168 4 pkey_ep11,pkey_cca,zcrypt_cex4 ap 90112 3 pkey_ep11,zcrypt,zcrypt_cex4 pkey_pckmo 16384 0 pkey 49152 3 pkey_pckmo,pkey_ep11,pkey_cca (in this particular case not pkey-uv, since it's aken from a normal LPAR) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2115718 Title: [UBUNTU 25.04] not all pkey modules available in initrd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/2115718/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
