Your message dated Fri, 28 Mar 2025 01:48:56 +0000 with message-id <E1txyq8-00FfXl-LH@fasolo.debian.org> and subject line Bug#1027458: fixed in initramfs-tools 0.147 has caused the Debian Bug report #1027458, regarding MODULES=dep unbootable on Raspberry Pi 4 booting from USB 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 owner@bugs.debian.org immediately.) -- 1027458: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027458 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: MODULES=dep unbootable on Raspberry Pi 4 booting from USB
- From: JustArchi <rpi@JustArchi.net>
- Date: Sat, 31 Dec 2022 20:17:19 +0000
- Message-id: <167251783934.6875.6708999821573900639.reportbug@rpi.JustArchi.net>
Package: initramfs-tools Version: 0.142 Severity: important Dear Maintainer, If MODULES=dep is used to trim generated initramfs on Raspberry Pi 4, it results in unbootable initramfs generated if user boots from USB-connected external drive (rather than microSD). In particular, system is unable to find rootfs and after a brief delay bails out to shell prompt. In order to make it work, reset_raspberrypi module has to be included. This is the case with MODULES=most, and precise reason why only MODULES=dep is affected. For MODULES=dep scenarios, reset_raspberrypi has to be manually added to /etc/initramfs-tools/modules. I'd like to request a bugfix in this regard to always include reset_raspberrypi module in generated initramfs if it's loaded at the time of generation or it's otherwise determined that initramfs is generated for a machine is Raspberry Pi 4. If it helps, reset_raspberrypi module is loaded anyway during later stage of the boot process, so it doesn't hurt to load it earlier right in the initramfs even for setups that would work correctly with it being loaded later on. I'm not familiar with all internals of how initramfs-tools works, so I apologize in advance if I mixed something up. This is also I think my first or second bug report ever done, so please bear with me. Thank you in advance for considering this enhancement/bugfix, Archi. -- Package-specific info: -- initramfs sizes -rw-r--r-- 1 root root 8.8M Dec 31 19:38 /boot/initrd.img-6.0.0-6-arm64 -- /proc/cmdline dma.dmachans=0x37f5 bcm2709.boardrev=0xd03114 bcm2709.serial=0x31554c49 bcm2709.uart_clock=48000000 bcm2709.disk_led_gpio=42 bcm2709.disk_led_active_low=0 smsc95xx.macaddr=DC:A6:32:D3:C1:0F vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=tty0 root=LABEL=RASPIROOT rw fsck.repair=yes net.ifnames=0 rootwait -- /proc/filesystems ext3 ext2 ext4 fuseblk vfat -- lsmod Module Size Used by tls 114688 114 ip6t_REJECT 16384 1 nf_reject_ipv6 24576 1 ip6t_REJECT nft_compat 20480 1 nf_tables 212992 10 nft_compat libcrc32c 16384 1 nf_tables nfnetlink 24576 2 nft_compat,nf_tables hci_uart 135168 0 btqca 24576 1 hci_uart btrtl 24576 1 hci_uart btbcm 28672 1 hci_uart btintel 40960 1 hci_uart btsdio 20480 0 bluetooth 757760 7 btrtl,btqca,btsdio,btintel,hci_uart,btbcm binfmt_misc 24576 1 jitterentropy_rng 24576 1 sha512_generic 16384 0 sha512_arm64 20480 1 evdev 32768 2 nls_ascii 16384 1 bcm2835_v4l2 40960 0 nls_cp437 20480 1 brcmfmac 294912 0 bcm2835_mmal_vchiq 32768 1 bcm2835_v4l2 vfat 28672 1 videobuf2_vmalloc 20480 1 bcm2835_v4l2 fat 81920 1 vfat brcmutil 16384 1 brcmfmac vc4 274432 4 videobuf2_memops 20480 1 videobuf2_vmalloc videobuf2_v4l2 24576 1 bcm2835_v4l2 aes_neon_bs 24576 0 videobuf2_common 53248 4 videobuf2_vmalloc,videobuf2_v4l2,bcm2835_v4l2,videobuf2_memops broadcom 28672 1 snd_soc_hdmi_codec 24576 2 videodev 225280 3 videobuf2_v4l2,bcm2835_v4l2,videobuf2_common bcm_phy_ptp 24576 1 broadcom cfg80211 770048 1 brcmfmac bcm_phy_lib 20480 2 bcm_phy_ptp,broadcom aes_neon_blk 28672 1 aes_neon_bs mc 53248 3 videodev,videobuf2_v4l2,videobuf2_common snd_soc_core 208896 2 vc4,snd_soc_hdmi_codec ptp 32768 1 bcm_phy_ptp snd_bcm2835 28672 0 cpufreq_dt 20480 0 snd_pcm_dmaengine 20480 1 snd_soc_core pps_core 24576 1 ptp snd_pcm 118784 4 snd_bcm2835,snd_soc_hdmi_codec,snd_soc_core,snd_pcm_dmaengine drbg 40960 1 snd_timer 40960 1 snd_pcm ansi_cprng 20480 0 snd 98304 5 snd_bcm2835,snd_soc_hdmi_codec,snd_timer,snd_soc_core,snd_pcm soundcore 20480 1 snd cec 53248 1 vc4 rc_core 53248 3 cec ecdh_generic 16384 1 bluetooth drm_display_helper 122880 1 vc4 raspberrypi_cpufreq 16384 0 dwc2 237568 0 genet 69632 0 drm_cma_helper 20480 1 vc4 mdio_bcm_unimac 20480 0 v3d 73728 0 rfkill 32768 3 bluetooth,cfg80211 of_mdio 20480 3 mdio_bcm_unimac,genet gpu_sched 36864 1 v3d udc_core 53248 1 dwc2 fixed_phy 16384 2 genet,of_mdio iproc_rng200 16384 0 fwnode_mdio 20480 1 of_mdio ecc 32768 1 ecdh_generic roles 16384 1 dwc2 bcm2835_wdt 20480 0 bcm2711_thermal 16384 0 i2c_bcm2835 20480 0 drm_kms_helper 139264 4 drm_cma_helper,vc4,drm_display_helper vchiq 331776 2 snd_bcm2835,bcm2835_mmal_vchiq rng_core 24576 2 iproc_rng200 libphy 98304 7 mdio_bcm_unimac,genet,fwnode_mdio,of_mdio,broadcom,fixed_phy,bcm_phy_lib drm_shmem_helper 24576 1 v3d sdhci_iproc 20480 0 sdhci_pltfm 16384 1 sdhci_iproc sdhci 69632 2 sdhci_pltfm,sdhci_iproc leds_gpio 16384 0 sg 40960 0 drm 442368 8 drm_cma_helper,gpu_sched,drm_kms_helper,v3d,vc4,drm_shmem_helper,drm_display_helper fuse 135168 1 efi_pstore 16384 0 configfs 49152 1 ip_tables 32768 0 x_tables 36864 3 nft_compat,ip_tables,ip6t_REJECT autofs4 49152 2 ext4 778240 1 crc16 16384 2 bluetooth,ext4 mbcache 24576 1 ext4 jbd2 143360 1 ext4 crc32c_generic 16384 3 sd_mod 57344 2 t10_pi 16384 1 sd_mod crc64_rocksoft 20480 1 t10_pi crc64 20480 1 crc64_rocksoft crc_t10dif 20480 1 t10_pi crct10dif_generic 16384 1 uas 28672 2 usb_storage 73728 1 uas scsi_mod 229376 4 sd_mod,usb_storage,uas,sg scsi_common 16384 4 scsi_mod,usb_storage,uas,sg xhci_pci 24576 0 xhci_hcd 253952 1 xhci_pci crct10dif_ce 20480 0 crct10dif_common 16384 3 crct10dif_ce,crct10dif_generic,crc_t10dif reset_raspberrypi 16384 1 usbcore 270336 6 xhci_hcd,dwc2,usb_storage,brcmfmac,xhci_pci,uas pwm_bcm2835 16384 0 usb_common 16384 4 xhci_hcd,dwc2,usbcore,udc_core fixed 20480 1 gpio_regulator 16384 1 phy_generic 20480 1 -- /etc/initramfs-tools/modules reset_raspberrypi -- /etc/initramfs-tools/initramfs.conf MODULES=most BUSYBOX=auto KEYMAP=n COMPRESS=zstd DEVICE= NFSROOT=auto RUNSIZE=10% FSTYPE=auto -- /etc/initramfs-tools/update-initramfs.conf update_initramfs=yes backup_initramfs=no -- /sys/block sda -- mkinitramfs hooks /etc/initramfs-tools/hooks/: /usr/share/initramfs-tools/hooks: dmsetup fsck keymap klibc-utils kmod raspi-firmware-fsck resume thermal udev zz-busybox -- System Information: Debian Release: bookworm/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'testing'), (500, 'stable') Architecture: arm64 (aarch64) Kernel: Linux 6.0.0-6-arm64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_CRAP Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages initramfs-tools depends on: ii initramfs-tools-core 0.142 ii linux-base 4.9 initramfs-tools recommends no packages. Versions of packages initramfs-tools suggests: pn bash-completion <none> -- no debconf information
--- End Message ---
--- Begin Message ---
- To: 1027458-close@bugs.debian.org
- Subject: Bug#1027458: fixed in initramfs-tools 0.147
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Fri, 28 Mar 2025 01:48:56 +0000
- Message-id: <E1txyq8-00FfXl-LH@fasolo.debian.org>
- Reply-to: Ben Hutchings <benh@debian.org>
Source: initramfs-tools Source-Version: 0.147 Done: Ben Hutchings <benh@debian.org> 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 1027458@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Ben Hutchings <benh@debian.org> (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 ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Fri, 28 Mar 2025 02:07:15 +0100 Source: initramfs-tools Architecture: source Version: 0.147 Distribution: unstable Urgency: medium Maintainer: Debian kernel team <debian-kernel@lists.debian.org> Changed-By: Ben Hutchings <benh@debian.org> Closes: 1027458 1095991 1100008 Changes: initramfs-tools (0.147) unstable; urgency=medium . [ Ben Hutchings ] * [34f9acd] hook-functions: Add reset drivers when MODULES=dep (Closes: #1027458) * [025ce79] unmkinitramfs: Create temporary directory for initramfs parts * [25b0c61] unmkinitramfs: Fix detection of EOF marker * [ca1a68b] unmkinitramfs: Restore split to "early" and "main" subdirectories (Closes: #1100008) * [bbbe1d3] unmkinitramfs.8: Update and expand description of multi- archive handling . [ Chris Hofstaedtler ] * [297a9e2] hook-functions: avoid aborting in chroots * [319cdc9] Tighten /dev/pts permissions (Closes: #1095991) . [ Scott Moser ] * [cec12d7] hook-functions: add squashfs driver (LP: #1501834) . [ Benjamin Drung ] * [a6884dc] test: let run_qemu* take extra kernel parameters as single parameter * [5401bf3] test: support setting a disk label in build_fs_ext2 * [ab1fe4e] test-common: introduce intermediate _run_qemu_default_devices * [20c564a] Add qemu-net-iscsi autopkgtest (LP: #2091904) * [716491a] mkinitramfs: add --version parameter * [65166a6] update-initramfs: add --version parameter * [2334de3] kernel/postinst.d: check for correct update-initramfs provider * [7ef4755] Fix spelling mistakes in d/changelog * [3ed4077] hook-functions: Move UFS storage drivers to block class (LP: #2081020) * [19b85a5] Filter block kernel modules by symbol regex from dracut (LP: #2031841) * [4069428] update-initramfs: add -s parameter (LP: #1466965) * [7f2ed35] Avoid updating the initramfs twice for some cases (LP: #1466965) * [dad2c90] test: run quick copy-file autopkgtest first * [32aa743] Bump Standards-Version to 4.7.2 Checksums-Sha1: ca98a0882206f76ac0b4d2ee365d4ea4ba406b1a 2028 initramfs-tools_0.147.dsc a4edfa32502ecca07c7d5e60f80be2775acbfc3a 111888 initramfs-tools_0.147.tar.xz 9795a05d8524cdf77ea5a4ec5f802ed909bf4b49 7467 initramfs-tools_0.147_source.buildinfo Checksums-Sha256: be1b8194b6a96b56a4747cf8cbb211b14ce28996edd5e13ec294a55a51015eea 2028 initramfs-tools_0.147.dsc 781bab004280914de7b5578901af8ce0bef36fd7aaea7da2a608773e922d5335 111888 initramfs-tools_0.147.tar.xz dac35c201319f5731191f3c7ceec04df32e00013bd3bf6f058e9a138e921a692 7467 initramfs-tools_0.147_source.buildinfo Files: 502640c0cba7baceebcf5e3efe978d37 2028 utils optional initramfs-tools_0.147.dsc 2ae9b6caf20489e62a366489c8157214 111888 utils optional initramfs-tools_0.147.tar.xz aa19da3f2059f3964fbbe2e927f1c818 7467 utils optional initramfs-tools_0.147_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmfl/bkACgkQ57/I7JWG EQldpQ/8CbSk5y75oj9LVsjvi1NJhVi/HpoAJNnsuyiv6R1RZAlYUh56RAqLdex6 kBvniqSvWfCvJJo24zqU6wANaa9933lKeRzSYM0GJ6cUW4AyQipwqr+ZsQY2tPqg g37XOXu+zFekXxJXhj6Hd2j1WkbYNVqBYie6wyo8yIl7q18aoV+fqejuuDgFs6Fv 5tLkmGZCoRgAlEfmzk7zsrhgYR9vJezTYRAZoFn6PIVa4Hb5/EhJSdX0H0CMP8Zi K2z+Y7SQJ9gasUfkzUJNluHYj/RFtNohmR9ufHPObCH8NlyvVnqVeXMt9DLQ50zF teQqDU+8oaCAJpcxI17X7bomh2SEa3nrAk+REjllQs72kvjNU0KMIjklHoLeBvSE 3OjWXL363feYCabRIptF4Gg4bKacGgvzw2ijGPDK1ScrE+ro82KJKzc3Fr4AMapb hu0C1MCs6K+vVbuf5YpUhiMpBzFl8K8YIEOssjOi1ePG1hd7sHTLUBn7jushQNJf zYBcBhVojBLs5ZWFWuNjUFgsjke/G4IwPoBoodEHbPy+QRp4+pIzsbI3mNL7SFg4 0bGdLliWzWaANmuXu/wZe6kBo8qUPwVmbfyRVSDCt1P2oMx9W+Drgf+AFmc3AWzs eKuVhAPa9eV9qrAue5KOcsUgM2O4rjWnikuVNxECf2RCAOVaECk= =z3cx -----END PGP SIGNATURE-----Attachment: pgpVTnpzLCtA7.pgp
Description: PGP signature
--- End Message ---