Bug#860533: initramfs-tools: boot delayed by 30sec. due to /scripts/local-block loop
Package: initramfs-tools
Version: 0.128
Severity: normal
Dear Maintainer,
After upgrade initramfs-tools from 0.127 to 0.128 I'm experiencing a
slowdown during the boot process.
Booting in debug mode I can see that
Begin: Waiting for suspend/resume device ...
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
[...]
loop about 30 times, 1sec each.
after that the boot continues without any particular problem.
Thanks
E.
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 20M Apr 18 09:52 /boot/initrd.img-4.9.0-2-amd64
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.9.0-2-amd64 root=UUID=9ecaa2fb-fa49-4464-ad8d-620cb6e0f04d ro apparmor=1 security=apparmor
-- resume
RESUME=UUID=0db0beca-1f21-4b1d-bd45-d855883c9198
-- /proc/filesystems
btrfs
ext3
ext2
ext4
vfat
fuseblk
-- lsmod
Module Size Used by
bridge 135168 0
stp 16384 1 bridge
llc 16384 2 bridge,stp
cmac 16384 1
cpufreq_powersave 16384 0
cpufreq_conservative 16384 0
cpufreq_userspace 16384 0
bnep 20480 2
iptable_filter 16384 0
fuse 98304 3
binfmt_misc 20480 1
dm_crypt 24576 1
algif_skcipher 20480 0
af_alg 16384 1 algif_skcipher
snd_hda_codec_hdmi 49152 1
intel_rapl 20480 0
x86_pkg_temp_thermal 16384 0
intel_powerclamp 16384 0
coretemp 16384 0
kvm_intel 192512 0
kvm 589824 1 kvm_intel
irqbypass 16384 1 kvm
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
iTCO_wdt 16384 0
iTCO_vendor_support 16384 1 iTCO_wdt
ghash_clmulni_intel 16384 0
intel_cstate 16384 0
arc4 16384 2
nls_ascii 16384 1
nls_cp437 20480 1
vfat 20480 1
fat 69632 1 vfat
efi_pstore 16384 0
uvcvideo 90112 0
videobuf2_vmalloc 16384 1 uvcvideo
joydev 20480 0
videobuf2_memops 16384 1 videobuf2_vmalloc
iwlmvm 245760 0
evdev 24576 26
videobuf2_v4l2 24576 1 uvcvideo
intel_uncore 118784 0
videobuf2_core 36864 2 uvcvideo,videobuf2_v4l2
btusb 45056 0
intel_rapl_perf 16384 0
pcspkr 16384 0
serio_raw 16384 0
mac80211 671744 1 iwlmvm
videodev 176128 3 uvcvideo,videobuf2_core,videobuf2_v4l2
efivars 20480 1 efi_pstore
intel_pch_thermal 16384 0
btrtl 16384 1 btusb
iwlwifi 147456 1 iwlmvm
btbcm 16384 1 btusb
btintel 16384 1 btusb
sg 32768 0
bluetooth 552960 26 btrtl,btintel,bnep,btbcm,btusb
cfg80211 589824 3 iwlmvm,iwlwifi,mac80211
i915 1236992 4
media 40960 2 uvcvideo,videodev
lpc_ich 24576 0
rtsx_pci_ms 20480 0
memstick 20480 1 rtsx_pci_ms
snd_hda_codec_realtek 90112 1
drm_kms_helper 155648 1 i915
snd_hda_codec_generic 69632 1 snd_hda_codec_realtek
shpchp 36864 0
mei_me 36864 0
drm 360448 5 i915,drm_kms_helper
snd_hda_intel 36864 4
snd_hda_codec 135168 4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_core 81920 5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
mei 102400 1 mei_me
snd_hwdep 16384 1 snd_hda_codec
i2c_algo_bit 16384 1 i915
snd_pcm 110592 4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd_timer 32768 1 snd_pcm
wmi 16384 0
thinkpad_acpi 86016 1
nvram 16384 1 thinkpad_acpi
snd 86016 17 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,thinkpad_acpi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
soundcore 16384 1 snd
rfkill 24576 7 bluetooth,thinkpad_acpi,cfg80211
battery 16384 0
ac 16384 0
video 40960 2 thinkpad_acpi,i915
intel_rst 16384 0
button 16384 1 i915
tpm_tis 16384 0
tpm_tis_core 20480 1 tpm_tis
tpm 45056 2 tpm_tis,tpm_tis_core
efivarfs 16384 1
ip_tables 24576 1 iptable_filter
x_tables 36864 2 ip_tables,iptable_filter
autofs4 40960 2
ext4 585728 5
crc16 16384 2 bluetooth,ext4
jbd2 106496 1 ext4
fscrypto 28672 1 ext4
ecb 16384 0
mbcache 16384 6 ext4
btrfs 1060864 0
crc32c_generic 16384 0
xor 24576 1 btrfs
mmc_block 40960 0
raid6_pq 110592 1 btrfs
dm_mod 118784 25 dm_crypt
sd_mod 45056 4
crc32c_intel 24576 3
rtsx_pci_sdmmc 24576 0
mmc_core 147456 2 rtsx_pci_sdmmc,mmc_block
e1000e 245760 0
aesni_intel 167936 5
xhci_pci 16384 0
ahci 36864 3
libahci 32768 1 ahci
xhci_hcd 188416 1 xhci_pci
ehci_pci 16384 0
aes_x86_64 20480 1 aesni_intel
ehci_hcd 81920 1 ehci_pci
glue_helper 16384 1 aesni_intel
lrw 16384 1 aesni_intel
libata 249856 2 ahci,libahci
gf128mul 16384 1 lrw
ablk_helper 16384 1 aesni_intel
cryptd 24576 4 ablk_helper,ghash_clmulni_intel,aesni_intel
i2c_i801 24576 0
i2c_smbus 16384 1 i2c_i801
ptp 20480 1 e1000e
psmouse 135168 0
rtsx_pci 57344 2 rtsx_pci_sdmmc,rtsx_pci_ms
scsi_mod 225280 3 sd_mod,libata,sg
mfd_core 16384 2 lpc_ich,rtsx_pci
usbcore 249856 7 uvcvideo,ehci_hcd,xhci_pci,btusb,xhci_hcd,ehci_pci
pps_core 16384 1 ptp
usb_common 16384 1 usbcore
thermal 20480 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=y
KEYMAP=n
COMPRESS=gzip
DEVICE=
NFSROOT=auto
-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
-- /etc/crypttab
# <target name> <source device> <key file> <options>
cdisk0 /dev/lnvovg1/homelv none luks
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
amd64_microcode
btrfs
cryptgnupg
cryptkeyctl
cryptopenct
cryptopensc
cryptpassdev
cryptroot
cryptroot-unlock
dmsetup
fsck
fuse
intel_microcode
keymap
klibc-utils
kmod
lvm2
resume
thermal
udev
zz-busybox
-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages initramfs-tools depends on:
ii initramfs-tools-core 0.128
ii linux-base 4.5
initramfs-tools recommends no packages.
Versions of packages initramfs-tools suggests:
ii bash-completion 1:2.1-4.3
-- no debconf information
Reply to: