Your message dated Wed, 25 Jul 2018 18:04:52 +0000 with message-id <[email protected]> and subject line Bug#891560: fixed in initramfs-tools 0.132 has caused the Debian Bug report #891560, regarding initramfs-tools-core: mkinitramfs ignores compressed module files to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 891560: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891560 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: initramfs-tools-core Version: 0.130 Severity: normal Tags: patch Dear Maintainer, Linux 3.18.0 comes with native support for xz compressed modules. kmod/25-1 adds support for xz compressed modules. Compression allows me to build custom kernels with much smaller FS impact, so I've been trying it out. I built and installed kernel from source (4.14.21, 4.15.5) with XZ module compression. $ make menuconfig # Enable CONFIG_MODULE_COMPRESS # Enable CONFIG_MODULE_COMPRESS_XZ $ make $ make modules_install $ make install However, after rebooting throug grub the kernel loads the initramfs, but initramfs fails to find the root filesystem. Examining contents of the generated /boot/initrd.img*, compared to an uncompressed build, many modules and /lib/firmware/* are absent. I was able to generate working initrd.img* files with the following patch: ==========>8========== --- /usr/share/initramfs-tools/hook-functions~ 2018-02-23 10:57:27.622691989 -0500 +++ /usr/share/initramfs-tools/hook-functions 2018-02-23 11:57:55.792649031 -0500 @@ -212,12 +212,15 @@ fi fi while [ $# -ge 1 ]; do - exclude="${exclude:-} -name $1 -prune -o " + exclude="${exclude:-} -name $1 -prune -o -name $1.xz -prune -o " shift done for kmod in $(find "${MODULESDIR}/${dir}" ${exclude:-} -name '*.ko' -printf '%f\n'); do modules="$modules ${kmod%.ko}" done + for kmod in $(find "${MODULESDIR}/${dir}" ${exclude:-} -name '*.ko.xz' -printf '%f\n'); do + modules="$modules ${kmod%.ko.xz}" + done manual_add_modules $modules } @@ -313,6 +316,9 @@ */$pattern.ko) manual_add_modules $(basename $module .ko) ;; + */$pattern.ko.xz) + manual_add_modules $(basename $module .ko.xz) + ;; esac done < $builtin fi ==========>8========== There may be more elegant solutions. -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (990, 'testing') Architecture: i386 (x86_64) Kernel: Linux 4.14.0-3-amd64 (SMP w/8 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Init: unable to detect Versions of packages initramfs-tools-core depends on: ii cpio 2.12+dfsg-6 ii klibc-utils 2.0.4-11 ii kmod 25-1 ii udev 237-3 Versions of packages initramfs-tools-core recommends: ii busybox 1:1.27.2-2 Versions of packages initramfs-tools-core suggests: ii bash-completion 1:2.1-4.3 -- Configuration Files: /etc/initramfs-tools/initramfs.conf unchanged [not included] (BUSYBOX=y) -- no debconf information
--- End Message ---
--- Begin Message ---Source: initramfs-tools Source-Version: 0.132 We believe that the bug you reported is fixed in the latest version of initramfs-tools, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Ben Hutchings <[email protected]> (supplier of updated initramfs-tools package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Thu, 26 Jul 2018 01:18:39 +0800 Source: initramfs-tools Binary: initramfs-tools initramfs-tools-core Architecture: source Version: 0.132 Distribution: unstable Urgency: medium Maintainer: Debian kernel team <[email protected]> Changed-By: Ben Hutchings <[email protected]> Description: initramfs-tools - generic modular initramfs generator (automation) initramfs-tools-core - generic modular initramfs generator (core tools) Closes: 721088 765750 804295 861228 874523 891560 904065 Changes: initramfs-tools (0.132) unstable; urgency=medium . * [4e1f80e] mkinitramfs: Don't try to remove nonexistent /var/cache/ldconfig (Closes: #904065) * [d0212d3] hook-functions: Quote exclusions in copy_modules_dir * [8c806b4] hook-functions: Add support for compressed module files (Closes: #891560) * [71f5d61] mkinitramfs: Create usr-merged filesystem layout (Closes: #874523) * [4c0d86c] hooks/resume: Loop over all swap devices when selecting automatically * [312393b] hooks/resume: Reject zram swap devices when selecting automatically (Closes: #861228) * [c0ae42b] update-initramfs: Always take over other initramfs images (Closes: #765750, #804295) * [f39625a] update-initramfs: Make "-k all" take over other initramfs images * [f273172] scripts/functions: Fix parsing of device name from ip parameter * [abae896] scripts/functions: Merge information from BOOTIF/DEVICE and ip parameters (Closes: #721088) Checksums-Sha1: 8d96f26dc1702ddd62b69f5d4c62f74fbd7675a9 1755 initramfs-tools_0.132.dsc 2e00350e2c41a7ad74ce4f9a555da0615dedf65c 87944 initramfs-tools_0.132.tar.xz e2049b86d385e2b2f1e44e51c48935d1efb5f3aa 6160 initramfs-tools_0.132_source.buildinfo Checksums-Sha256: bc6d3dd7940aa626f1f951feb33df9bf9b68825383e6c495ef76ccbf20673bcb 1755 initramfs-tools_0.132.dsc b8faaca208e90e1ca07084d31e3610bbcdc2e06fda29168ace78409cb385e6cd 87944 initramfs-tools_0.132.tar.xz 23e1c1551b74c5b30c8a25306e5085b2a78a29f0e6acf7f968ac27408650265a 6160 initramfs-tools_0.132_source.buildinfo Files: c2334f59f8a18d17a6581ff20681757d 1755 utils optional initramfs-tools_0.132.dsc 435375dd668cbfab7e36cc97ec2cfff8 87944 utils optional initramfs-tools_0.132.tar.xz 316fed8d32e36d0fafbc7dadbd56d027 6160 utils optional initramfs-tools_0.132_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAltYtKsACgkQ57/I7JWG EQkdBRAAk349mEHBR/dytvK+pzIJCLn8RhKlY6vG2xLTwNtOqTOoPaQwacGleSey /duIs2LY6Jkf8qdjNkx7GrPYAEjODucaCURY4YyM5hTpWWAQuSccj1ReEPbfeTk8 YPXspaDNInwO0qcmAQL712wlzIUdHj539vrQiKMC8e0vbaHneKh8g6ssTUzHCm5s 21xT5s9w+5m3WEh/r5k31t3v288tyiXtIXeah3p9N1gpfmnbXT5stafMvWMCkjES WTa78KKpD4aJ0OZW73gq1FgEFY8FVyOfZ/lkS4MEcdVe3Cu4nV/zoHwX6koMACwu 1OnE+bdfs1o6r15YPmKcecmZk71FMo4DsMO+uj8MbdkAm/tHVzgX18G7/ch5W9lf mme0j5JAaXbzc+7u/4F9CMahAJldxywGM3eNftoHJL9ZNyR8XIVLnhun0PHUrwNV GNMhTISidQqN7LvYZW7YE8siDjf2k+0S2TZfCco2MRQ4Z9hhQwi+Xv2W/RmCABzU 0vPUJimkh8mMzqLYso/ZnPCFVI+dz/jjUaaTx8+EQba3l2/tRsgQTlwMpGz5B1pR Tftm0lZ6OQ9nqpKwPW4BdUKvrboGquvF4xi39hKLs4r+pBmaseCo8NDGMIbbYg6C QMK9RjAp2GWpbFYLBZ1cbvwMaLi0Mf1wl1mv+hR1HSobHFR7diw= =y8Lz -----END PGP SIGNATURE-----
--- End Message ---

