Bug#1092151: Upgrade: EDU12.8 to Trixie Testing: 'update-initramfs' takes more than 20min
Package: initramfs-tools
Version: 0.145
Severity: normal
Dear Maintainer,
May I asked for patience in advance, since I am not a hardcore Dev/Programmer in Linux Area.
But, I am sure there is an issue, when installing packages or upgrading my Debian system,
with the generation of those needed initramfs files for those installed kernel versions
like ~6 years ago in:
https://salsa.debian.org/kernel-team/initramfs-tools/-/commit/b4804ddacf4082feb263d83b1b5c99be27850fc4
E.g:
Always when upgrading the Trixie Testing, those initramfs files will not only be generated
for each installed kernel version; this 'update-initramfs: Generating ..' process will also be
executed several times during the whole upgrade process.
I can understand this on my testing env, but I also recognized this on the latest
Debian EDU 12.8 from which I upgraded into Trixie testing.
In case any more infromation may be needed, don't hesitate to cotact me.
Thank you for your effort and your job on realizing Debian.
Kind Regards,
Roger
Follow up on requested reportbug Q's:
* What led up to the situation?
This situation always occurs when installing packages or upgrading the system
* What exactly did you do (or not do) that was effective (or ineffective)?
I already tried different EDU/non-EDU relases, Testing releases and also some changings
in BIOS on memory timings/handlings. Also I already fiddled with 'COMPRESSLEVEL=x' option.
* What was the outcome of this actions?
It did not change a bit.
* What outcome did you expect instead?
At least I expected a reduction of generation times on the execution of 'update-inintramfs'
I don't know if of any relevance: 'ext4lazyinit' was still running during those upgrade steps;
since it was the upgrade done at last to Testing.
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 117M Jan 5 05:16 /boot/initrd.img-6.11.10+bpo-amd64
-rw-r--r-- 1 root root 121M Jan 5 05:14 /boot/initrd.img-6.12.6-amd64
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-6.12.6-amd64 root=UUID=da81219a-1745-466e-aa8e-7ba7d6e632d7 ro splash=silent quiet
-- resume
RESUME=none
-- /proc/filesystems
fuseblk
ext3
ext2
ext4
vfat
xfs
jfs
msdos
minix
hfs
hfsplus
qnx4
ufs
btrfs
-- lsmod
Module Size Used by
btrfs 2146304 0
blake2b_generic 24576 0
ufs 102400 0
qnx4 12288 0
hfsplus 143360 0
hfs 86016 0
minix 53248 0
msdos 16384 0
jfs 245760 0
nls_ucs2_utils 8192 1 jfs
xfs 2596864 0
dm_mod 221184 0
tls 151552 0
ccm 20480 9
snd_seq_dummy 12288 0
snd_hrtimer 12288 1
snd_seq_midi 20480 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 53248 1 snd_seq_midi
snd_seq 110592 9 snd_seq_midi,snd_seq_midi_event,snd_seq_dummy
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
nft_fib_inet 12288 1
nft_fib_ipv4 12288 1 nft_fib_inet
nft_fib_ipv6 12288 1 nft_fib_inet
nft_fib 12288 3 nft_fib_ipv6,nft_fib_ipv4,nft_fib_inet
nft_reject_inet 12288 16
nf_reject_ipv4 16384 1 nft_reject_inet
nf_reject_ipv6 20480 1 nft_reject_inet
nft_reject 12288 1 nft_reject_inet
nft_ct 28672 8
nft_chain_nat 12288 3
nf_nat 65536 1 nft_chain_nat
nf_conntrack 204800 2 nf_nat,nft_ct
nf_defrag_ipv6 24576 1 nf_conntrack
nf_defrag_ipv4 12288 1 nf_conntrack
ip_set 69632 0
nf_tables 380928 376 nft_ct,nft_reject_inet,nft_fib_ipv6,nft_fib_ipv4,nft_chain_nat,nft_reject,nft_fib,nft_fib_inet
qrtr 57344 2
rfcomm 102400 20
cmac 12288 3
algif_hash 12288 1
algif_skcipher 12288 1
af_alg 36864 6 algif_hash,algif_skcipher
bnep 36864 2
binfmt_misc 28672 1
nls_ascii 12288 2
nls_cp437 16384 2
vfat 24576 2
fat 102400 2 msdos,vfat
intel_rapl_msr 20480 0
amd_atl 57344 1
intel_rapl_common 53248 1 intel_rapl_msr
ath10k_pci 53248 0
edac_mce_amd 28672 0
ath10k_core 540672 1 ath10k_pci
kvm_amd 217088 0
snd_hda_codec_realtek 208896 1
ath 40960 1 ath10k_core
kvm 1396736 1 kvm_amd
snd_hda_codec_generic 114688 1 snd_hda_codec_realtek
snd_hda_scodec_component 20480 1 snd_hda_codec_realtek
mac80211 1445888 1 ath10k_core
snd_hda_codec_hdmi 98304 3
snd_hda_intel 61440 4
snd_intel_dspcfg 40960 1 snd_hda_intel
snd_intel_sdw_acpi 16384 1 snd_intel_dspcfg
crct10dif_pclmul 12288 1
wil6210 528384 0
ghash_clmulni_intel 16384 0
snd_hda_codec 217088 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
sha512_ssse3 53248 0
btusb 77824 0
sha256_ssse3 32768 0
sha1_ssse3 32768 0
btrtl 32768 1 btusb
aesni_intel 122880 10
snd_hda_core 143360 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
eeepc_wmi 12288 0
btintel 69632 1 btusb
asus_wmi 98304 1 eeepc_wmi
gf128mul 16384 1 aesni_intel
libarc4 12288 1 mac80211
btbcm 24576 1 btusb
crypto_simd 16384 1 aesni_intel
btmtk 32768 1 btusb
snd_hwdep 20480 1 snd_hda_codec
sparse_keymap 12288 1 asus_wmi
asus_wmi_sensors 20480 0
cryptd 28672 3 crypto_simd,ghash_clmulni_intel
cfg80211 1392640 4 wil6210,ath,mac80211,ath10k_core
snd_pcm_oss 73728 0
platform_profile 12288 1 asus_wmi
bluetooth 1077248 44 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
snd_mixer_oss 28672 1 snd_pcm_oss
ee1004 16384 0
battery 28672 1 asus_wmi
wmi_bmof 12288 0
rapl 20480 0
snd_pcm 184320 5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_hda_core
acpi_cpufreq 32768 0
pcspkr 12288 0
snd_timer 53248 3 snd_seq,snd_hrtimer,snd_pcm
sp5100_tco 20480 0
k10temp 12288 0
snd 151552 23 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm_oss,snd_pcm,snd_rawmidi,snd_mixer_oss
watchdog 49152 1 sp5100_tco
ccp 163840 7 kvm_amd
soundcore 16384 1 snd
rfkill 40960 9 asus_wmi,bluetooth,cfg80211
joydev 24576 0
evdev 28672 14
sg 45056 0
msr 12288 0
parport_pc 40960 0
ppdev 24576 0
lp 20480 0
parport 81920 3 parport_pc,lp,ppdev
efi_pstore 12288 0
configfs 69632 1
nfnetlink 20480 4 nf_tables,ip_set
ip_tables 28672 0
x_tables 53248 1 ip_tables
autofs4 57344 2
ext4 1142784 4
mbcache 16384 1 ext4
jbd2 200704 1 ext4
efivarfs 28672 1
raid10 77824 0
raid456 200704 0
async_raid6_recov 20480 1 raid456
async_memcpy 16384 2 raid456,async_raid6_recov
async_pq 16384 2 raid456,async_raid6_recov
async_xor 16384 3 async_pq,raid456,async_raid6_recov
async_tx 16384 5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
xor 20480 2 async_xor,btrfs
raid6_pq 122880 4 async_pq,btrfs,raid456,async_raid6_recov
libcrc32c 12288 6 nf_conntrack,nf_nat,btrfs,nf_tables,xfs,raid456
crc32c_generic 12288 0
raid1 61440 0
hid_glorious 12288 0
uas 32768 0
sr_mod 28672 0
hid_generic 12288 0
usbhid 77824 0
usb_storage 90112 2 uas
hid 262144 3 usbhid,hid_glorious,hid_generic
cdrom 81920 3 hfsplus,hfs,sr_mod
sd_mod 81920 7
amdgpu 14422016 6
raid0 28672 3
nouveau 3055616 15
drm_gpuvm 45056 1 nouveau
amdxcp 12288 1 amdgpu
drm_exec 12288 3 drm_gpuvm,amdgpu,nouveau
gpu_sched 65536 2 amdgpu,nouveau
drm_buddy 20480 1 amdgpu
video 81920 3 asus_wmi,amdgpu,nouveau
drm_suballoc_helper 12288 1 amdgpu
drm_display_helper 274432 2 amdgpu,nouveau
cec 69632 1 drm_display_helper
md_mod 229376 7 raid1,raid10,raid0,raid456
rc_core 73728 1 cec
drm_ttm_helper 16384 3 amdgpu,nouveau
ttm 106496 3 amdgpu,drm_ttm_helper,nouveau
drm_kms_helper 249856 4 drm_display_helper,amdgpu,drm_ttm_helper,nouveau
ahci 49152 6
libahci 61440 1 ahci
xhci_pci 24576 0
xhci_hcd 364544 1 xhci_pci
libata 462848 2 libahci,ahci
nvme 57344 2
drm 770048 19 gpu_sched,drm_kms_helper,drm_exec,drm_gpuvm,drm_suballoc_helper,drm_display_helper,drm_buddy,amdgpu,drm_ttm_helper,ttm,amdxcp,nouveau
igb 315392 0
crc32_pclmul 12288 0
mxm_wmi 12288 1 nouveau
usbcore 405504 7 xhci_hcd,usbhid,btmtk,usb_storage,btusb,xhci_pci,uas
nvme_core 204800 3 nvme
scsi_mod 327680 6 sd_mod,usb_storage,uas,libata,sg,sr_mod
crc32c_intel 16384 9
i2c_piix4 28672 0
i2c_smbus 16384 1 i2c_piix4
dca 16384 1 igb
crc16 12288 3 bluetooth,amdgpu,ext4
i2c_algo_bit 12288 3 igb,amdgpu,nouveau
usb_common 16384 2 xhci_hcd,usbcore
scsi_common 16384 7 scsi_mod,sd_mod,usb_storage,uas,libata,sg,sr_mod
gpio_amdpt 16384 0
wmi 28672 6 asus_wmi_sensors,video,asus_wmi,wmi_bmof,mxm_wmi,nouveau
gpio_generic 20480 1 gpio_amdpt
button 24576 1 nouveau
-- /etc/initramfs-tools/modules
lzo
lz4
lz4h
compress
lz4_compress
lz4h_compress
zstd
zbud
z3fold
zsmalloc
-- /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=zstd
COMPRESSLEVEL=6
DEVICE=
NFSROOT=auto
RUNSIZE=10%
FSTYPE=auto
-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
-- /proc/mdstat
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md1 : active raid0 sdc2[0] sda3[1]
975467520 blocks super 1.2 512k chunks
md2 : active raid0 sdd1[0] sdb1[1]
15627786240 blocks super 1.2 512k chunks
md0 : active raid0 nvme1n1p1[1] nvme0n1p1[0]
2000142336 blocks super 1.2 512k chunks
unused devices: <none>
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
amd64_microcode
dmsetup
fsck
fuse
keymap
klibc-utils
kmod
mdadm
ntfs_3g
plymouth
resume
thermal
udev
zz-busybox
-- System Information:
Debian Release: trixie/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'proposed-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.6-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8
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.145
ii linux-base 4.10.1
initramfs-tools recommends no packages.
Versions of packages initramfs-tools suggests:
ii bash-completion 1:2.14.0-2
-- no debconf information
Reply to: