Josef Dean Butler
unread,Aug 19, 2021, 8:30:03 AM8/19/21You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Package: initramfs-tools
Version: 0.140
Severity: important
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
During the upgrade from buster to bullseye dpkg failed to init the RAM fs. dpkg --configure -a always led to the same output:
Selecting previously unselected package linux-image-5.10.0-8-amd64.
(Reading database ... 51840 files and directories currently installed.)
Preparing to unpack .../linux-image-5.10.0-8-amd64_5.10.46-4_amd64.deb ...
Unpacking linux-image-5.10.0-8-amd64 (5.10.46-4) ...
Selecting previously unselected package linux-image-amd64.
Preparing to unpack .../linux-image-amd64_5.10.46-4_amd64.deb ...
Unpacking linux-image-amd64 (5.10.46-4) ...
Setting up linux-image-5.10.0-8-amd64 (5.10.46-4) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-5.10.0-8-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-5.10.0-8-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-5.10.0-8-amd64
I: /initrd.img is now a symlink to boot/initrd.img-5.10.0-8-amd64
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.10.0-8-amd64
E: /usr/share/initramfs-tools/hooks/growroot failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.10.0-8-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-5.10.0-8-amd64 (--configure):
installed linux-image-5.10.0-8-amd64 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-amd64:
linux-image-amd64 depends on linux-image-5.10.0-8-amd64 (= 5.10.46-4); however:
Package linux-image-5.10.0-8-amd64 is not configured yet.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Since the kernel panicked during reboot I had to boot an emergency environment. I mounted my drives and chrooted into them. I checked, if enough space was available on the SSD. I tried to re-install initramfs-tools and the kernel. None helped. A friend discovered that the path for udevadm was wrong in /usr/share/initramfs-tools/hooks/growroot
. We changed it from /sbin/udevadm to /bin/udevadm and then dpkg --configure -a worked wirhout errors and the new kernel was installed. A reboot brought back the system to live.
* What was the outcome of this action?
Changing the path for udevadm solved the issue completely. dpkg --configure -a worked again and I could boot just fine.
* What outcome did you expect instead?
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 40M Aug 18 12:10 /boot/initrd.img-5.10.0-8-amd64
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-5.10.0-8-amd64 root=UUID=f0d38115-f203-4f55-84f3-5b92a6ecf52e ro nomodeset consoleblank=0 elevator=noop
-- resume
-- /proc/filesystems
btrfs
ext3
ext2
ext4
fuseblk
squashfs
-- lsmod
Module Size Used by
nfnetlink 16384 0
bluetooth 737280 0
jitterentropy_rng 16384 1
drbg 40960 1
ansi_cprng 16384 0
ecdh_generic 16384 1 bluetooth
rfkill 28672 2 bluetooth
ecc 36864 1 ecdh_generic
binfmt_misc 24576 1
squashfs 69632 3
loop 36864 6
intel_rapl_msr 20480 0
intel_rapl_common 28672 1 intel_rapl_msr
nfit 77824 0
libnvdimm 196608 1 nfit
ghash_clmulni_intel 16384 0
aesni_intel 368640 0
libaes 16384 2 bluetooth,aesni_intel
crypto_simd 16384 1 aesni_intel
cryptd 24576 2 crypto_simd,ghash_clmulni_intel
glue_helper 16384 1 aesni_intel
drm_vram_helper 20480 0
drm_ttm_helper 16384 1 drm_vram_helper
ttm 114688 2 drm_vram_helper,drm_ttm_helper
evdev 28672 2
joydev 28672 0
serio_raw 20480 0
virtio_console 40960 1
virtio_balloon 24576 0
button 24576 0
drm_kms_helper 274432 1 drm_vram_helper
sg 36864 0
qemu_fw_cfg 20480 0
cec 61440 1 drm_kms_helper
drm 618496 4 drm_kms_helper,drm_vram_helper,drm_ttm_helper,ttm
fuse 167936 1
configfs 57344 1
ip_tables 32768 0
x_tables 53248 1 ip_tables
autofs4 53248 2
ext4 921600 2
crc16 16384 2 bluetooth,ext4
mbcache 16384 1 ext4
jbd2 151552 1 ext4
btrfs 1564672 0
blake2b_generic 20480 0
raid10 65536 0
raid456 180224 0
async_raid6_recov 24576 1 raid456
async_memcpy 20480 2 raid456,async_raid6_recov
async_pq 20480 2 raid456,async_raid6_recov
async_xor 20480 3 async_pq,raid456,async_raid6_recov
async_tx 20480 5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
xor 24576 2 async_xor,btrfs
raid6_pq 122880 4 async_pq,btrfs,raid456,async_raid6_recov
libcrc32c 16384 2 btrfs,raid456
crc32c_generic 16384 0
raid1 53248 0
raid0 24576 0
multipath 20480 0
linear 20480 0
md_mod 184320 6 raid1,raid10,raid0,linear,raid456,multipath
hid_generic 16384 0
usbhid 65536 0
hid 147456 2 usbhid,hid_generic
sr_mod 28672 0
cdrom 73728 1 sr_mod
ata_generic 16384 0
sd_mod 61440 3
t10_pi 16384 1 sd_mod
crc_t10dif 20480 1 t10_pi
crct10dif_generic 16384 0
virtio_net 57344 0
net_failover 24576 1 virtio_net
failover 16384 1 net_failover
virtio_scsi 24576 2
xhci_pci 20480 0
xhci_hcd 307200 1 xhci_pci
crct10dif_pclmul 16384 1
crct10dif_common 16384 3 crct10dif_generic,crc_t10dif,crct10dif_pclmul
ata_piix 36864 0
crc32_pclmul 16384 0
psmouse 184320 0
crc32c_intel 24576 5
libata 290816 2 ata_piix,ata_generic
usbcore 323584 3 xhci_hcd,usbhid,xhci_pci
scsi_mod 262144 5 virtio_scsi,sd_mod,libata,sg,sr_mod
usb_common 16384 2 xhci_hcd,usbcore
virtio_pci 28672 0
virtio_ring 36864 5 virtio_console,virtio_balloon,virtio_scsi,virtio_pci,virtio_net
virtio 16384 5 virtio_console,virtio_balloon,virtio_scsi,virtio_pci,virtio_net
i2c_piix4 28672 0
floppy 90112 0
-- /etc/initramfs-tools/modules
-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = no
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=auto
KEYMAP=n
COMPRESS=gzip
DEVICE=
NFSROOT=auto
RUNSIZE=10%
FSTYPE=auto
-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
-- /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
unused devices: <none>
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
amd64_microcode
btrfs
dmsetup
fsck
fuse
growroot
growroot~
intel_microcode
keymap
klibc-utils
kmod
lvm2
mdadm
resume
thermal
udev
xfs
zz-busybox
-- System Information:
Debian Release: 11.0
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-8-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages initramfs-tools depends on:
ii initramfs-tools-core 0.140
ii linux-base 4.6
initramfs-tools recommends no packages.
Versions of packages initramfs-tools suggests:
ii bash-completion 1:2.11-2
-- no debconf information