Bug#764572: initramfs-tools: fails to finish booting with dirty filesystem(s)
Package: initramfs-tools
Version: 0.116
Followup-For: Bug #764572
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
Another datapoint. I have a hard disk whose filesystems are *not* mounted
at start-up, but after a corruption issue, the disk's state causes a lock-up
requiring a hardware reset and a second start-up (not helpful if this was a
remote machine).
On the second (successful) start-up I saw these messages:
$ dmesg|grep sdc
[ 4.934246] sd 2:0:1:0: [sdc] 66055248 512-byte logical blocks: (33.8 GB/31.4 GiB)
[ 4.934523] sd 2:0:1:0: [sdc] Write Protect is off
[ 4.934580] sd 2:0:1:0: [sdc] Mode Sense: 00 3a 00 00
[ 4.934703] sd 2:0:1:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 4.967651] sdc: sdc1 sdc2 < sdc5 sdc6 sdc7 > sdc3
[ 4.968073] sdc: p3 size 13333950 extends beyond EOD, enabling native capacity
[ 5.173494] sd 2:0:1:0: [sdc] 78242976 512-byte logical blocks: (40.0 GB/37.3 GiB)
[ 5.174584] sdc: detected capacity change from 33820286976 to 40060403712
[ 5.226390] sdc: sdc1 sdc2 < sdc5 sdc6 sdc7 > sdc3
[ 5.228297] sdc: detected capacity change from 0 to 40060403712
[ 5.228595] sd 2:0:1:0: [sdc] Attached SCSI disk
Somehow this error the first time round was partially fixed and then caused
a lock-up, then on the second boot attempt completed.
* What exactly did you do (or not do) that was effective (or
ineffective)?
A hardware reset was required when the boot process hung.
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 12M Jul 1 2013 /boot/initrd.img-3.10.0
-rw-r--r-- 1 root root 12M Sep 4 2013 /boot/initrd.img-3.11.0
-rw-r--r-- 1 root root 13M Nov 4 2013 /boot/initrd.img-3.12.0
-rw-r--r-- 1 root root 13M Jan 20 2014 /boot/initrd.img-3.13.0
-rw-r--r-- 1 root root 14M Mar 31 2014 /boot/initrd.img-3.14.0
-rw-r--r-- 1 root root 16M Sep 21 09:27 /boot/initrd.img-3.16-2-686-pae
-rw-r--r-- 1 root root 16M Oct 11 13:29 /boot/initrd.img-3.16-3-686-pae
-rw-r--r-- 1 root root 15M Aug 4 14:06 /boot/initrd.img-3.16.0
-rw-r--r-- 1 root root 16M Sep 20 09:42 /boot/initrd.img-3.17-rc5-686-pae
-rw-r--r-- 1 root root 16M Oct 6 15:48 /boot/initrd.img-3.17.0
-rw-r--r-- 1 root root 15M Oct 13 01:48 /boot/initrd.img-3.17.0+
-rw-r--r-- 1 root root 12M Jul 29 22:37 /boot/initrd.img-3.2.0-4-686-pae
-rw-r--r-- 1 root root 12M Jun 14 2013 /boot/initrd.img-3.5.0
-rw-r--r-- 1 root root 11M Jun 14 2013 /boot/initrd.img-3.6.0
-rw-r--r-- 1 root root 12M Jun 14 2013 /boot/initrd.img-3.7.0
-rw-r--r-- 1 root root 12M Jun 14 2013 /boot/initrd.img-3.8.0
-rw-r--r-- 1 root root 12M Jun 14 2013 /boot/initrd.img-3.9.0
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.17.0 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro
-- resume
RESUME=/dev/hda6
-- /proc/filesystems
ext3
ext2
ext4
fuseblk
vfat
-- lsmod
Module Size Used by
snd_hrtimer 12648 1
nfc 83473 0
cpufreq_stats 13111 0
cpufreq_conservative 14802 0
cpufreq_powersave 12554 0
cpufreq_userspace 12771 0
bnep 18829 2
nfnetlink_queue 17836 0
nfnetlink_log 17591 0
nfnetlink 14466 2 nfnetlink_log,nfnetlink_queue
bluetooth 389817 5 bnep
rfkill 21695 3 nfc,bluetooth
binfmt_misc 13111 1
nls_utf8 12493 4
nls_cp437 12751 4
vfat 17166 4
fat 55862 1 vfat
cuse 13213 3
fuse 81416 1 cuse
tun 26628 0
snd_emu10k1_synth 13104 1
snd_emux_synth 33539 2 snd_emu10k1_synth
snd_seq_midi_emul 13529 1 snd_emux_synth
snd_seq_virmidi 13248 1 snd_emux_synth
snd_seq_midi_event 14503 1 snd_seq_virmidi
snd_seq 52764 6 snd_seq_midi_event,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul
w83627hf 27081 0
hwmon_vid 12687 1 w83627hf
max6650 13931 0
lp 17395 0
uas 22763 0
usb_storage 48591 2 uas
radeon 1292179 2
ttm 73197 1 radeon
drm_kms_helper 82292 1 radeon
ppdev 17363 0
drm 248829 5 ttm,drm_kms_helper,radeon
psmouse 95744 0
evdev 17449 9
snd_emu10k1 137141 2 snd_emu10k1_synth
i2c_algo_bit 13190 1 radeon
serio_raw 13210 0
pcspkr 12630 0
snd_util_mem 13821 2 snd_emux_synth,snd_emu10k1
snd_hwdep 13272 2 snd_emux_synth,snd_emu10k1
emu10k1_gp 12550 0
snd_ac97_codec 101724 1 snd_emu10k1
snd_pcm 83080 2 snd_ac97_codec,snd_emu10k1
snd_timer 24474 4 snd_hrtimer,snd_pcm,snd_seq,snd_emu10k1
ac97_bus 12642 1 snd_ac97_codec
ns558 12598 0
gameport 15245 3 ns558,emu10k1_gp
i2c_sis96x 13018 0
snd_mpu401_uart 13977 0
shpchp 32332 0
snd_rawmidi 25737 3 snd_mpu401_uart,snd_seq_virmidi,snd_emu10k1
processor 30354 0
snd_seq_device 14137 4 snd_seq,snd_rawmidi,snd_emu10k1_synth,snd_emu10k1
parport_pc 27557 1
parport 40908 3 lp,ppdev,parport_pc
thermal_sys 27118 1 processor
snd 62617 12 snd_ac97_codec,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_mpu401_uart,snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_seq_device
soundcore 14604 1 snd
button 13654 0
ext4 487791 2
mbcache 18712 1 ext4
crc16 12595 2 ext4,bluetooth
jbd2 90971 1 ext4
md_mod 115983 0
sr_mod 21969 0
cdrom 54285 1 sr_mod
ata_generic 12803 0
sg 30699 0
sd_mod 44999 10
crct10dif_generic 12567 1
crc_t10dif 12605 1 sd_mod
crct10dif_common 12539 2 crct10dif_generic,crc_t10dif
ohci_pci 13342 0
pata_sis 14473 4
firewire_ohci 35476 0
eata 26095 2
r8169 61663 0
firewire_core 58053 1 firewire_ohci
libata 180970 2 pata_sis,ata_generic
crc_itu_t 12627 1 firewire_core
ehci_pci 12786 0
ohci_hcd 46315 1 ohci_pci
ehci_hcd 65387 1 ehci_pci
sis900 26549 0
mii 13654 2 r8169,sis900
usbcore 200423 6 uas,usb_storage,ohci_hcd,ohci_pci,ehci_hcd,ehci_pci
scsi_mod 188802 7 sg,uas,eata,usb_storage,libata,sd_mod,sr_mod
usb_common 12921 1 usbcore
-- /etc/initramfs-tools/modules
-- /etc/kernel-img.conf
# This is a sample /etc/kernel-img.conf file
# See kernel-img.conf(5) for details
# If you want the symbolic link (or image, if move_image is set) to be
# stored elsewhere than / set this variable to the dir where you
# want the symbolic link. Please note that this is not a Boolean
# variable. This may be of help to loadlin users, who may set both
# this and move_image. Defaults to /. This can be used in conjunction
# with all above options except link_in_boot, which would not make
# sense. (If both image_dest and link_in_boot are set, link_in_boot
# overrides).
image_dest = /
# This option manipulates the build link created by recent kernels. If
# the link is a dangling link, and if a the corresponding kernel
# headers appear to have been installed on the system, a new symlink
# shall be created to point to them.
#relink_build_link = YES
# If set, the preinst shall silently try to move /lib/modules/version
# out of the way if it is the same version as the image being
# installed. Use at your own risk.
#clobber_modules = NO
# If set, does not prompt to continue after a depmod problem in the
# postinstall script. This facilitates automated installs, though it
# may mask a problem with the kernel image. A diag‐ nostic is still
# issued. This is unset be default.
# ignore_depmod_err = NO
# These setting are for legacy postinst scripts only. newer postinst
# scripts from the kenrel-package do not use them
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
-- /proc/mdstat
Personalities :
unused devices: <none>
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
busybox
dmsetup
fuse
intel_microcode
keymap
klibc
kmod
mdadm
ntfs_3g
resume
thermal
udev
uswsusp
zz-busybox
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.17.0 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages initramfs-tools depends on:
ii cpio 2.11+dfsg-2
ii klibc-utils 2.0.4-2
ii kmod 18-3
ii module-init-tools 18-3
ii udev 215-5+b1
Versions of packages initramfs-tools recommends:
ii busybox 1:1.22.0-9
Versions of packages initramfs-tools suggests:
ii bash-completion 1:2.1-4
-- Configuration Files:
/etc/initramfs-tools/modules changed:
-- debconf-show failed
Reply to: