[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#782524: initramfs-tools: fails to boot when / and /usr both on lvm



Package: initramfs-tools
Version: 0.119
Severity: important

hi all,

after an upgrade from wheezy to jessie, my server failed to come up
again. my rough setup is:

* /boot on raid1 on regular volumes
* /, /usr, /var and /tmp on lvm atop raid5
* boot loader has always been grub (grub2 since wheezy)
* the lvs / raid1 devices are on different SATA controllers; one onboard
  and one pci express card with port multiplier
* i did not interfere with init system selection

the symptoms are similar to #616689, but that's been merged with
#678696, where ben requested kyle to open a dedicated report for what
i'm experiencing, so i'm opening this report here. (i've considered
unmerging those two, but i'm not sure if all symptoms match -- even
rootdelay=300 is insufficient).

so far, i've tried:

* grub-mkdevicemap
* update-initramfs
* update-grub (which i during the upgrade debconf erroneously tried to
  run at /boot's device, but that didn't work because it would have
  needed to run on filesystem level, but i reconfigured and now it
  installs cleanly on /dev/sd[abcdef].)

still, i continuously end up in the initramfs shell. i can run `lvm
vgchange -ay; exit` there and the system boots, or i can add `vgchange
-ay` to /usr/share/initramfs-tools/scripts/local-top/lvm2.

at boot time, i read:

> Decompressing Linux... Parsing ELF... done.
> [    1.661907] ERST: Failed to get Error Log Address Range.
> [    2.692662] i8042: No controller found
> Loading, please wait...
>   /sbin/dmeventd: stat failed: No such file or directory
>   /sbin/dmeventd: stat failed: No such file or directory
>   poseidon-core--root--wheezy: event registration failed: No such
>   process
>   poseidon/snapshot2: snapshot segment monitoring function failed.
> Scanning for Btrfs filesystems
> fsck from util-linux 2.25.2
> /dev/mapper/poseidon-core--root: clean, ... (check in 3 mounts)
(long pause, especially with high rootdelay)
> Gave up waiting for /usr device.  Common problems:
>  - Boot args (cat /proc/cmdline)
>    - Check rootdelay= (did the system wait long enough?)
>  - Missing modules (cat /proc/modules; ls /dev)
> ALERT!  /dev/poseidon/core-usr does not exist.  Dropping to a shell!
> modprobe: module ehci-orion not found in modules.dep

anything else i can test?

best regards
chrysn

-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 6.9M Feb 16  2009 /boot/initrd.img-2.6.26-1-xen-686.bak
-rw-r--r-- 1 root root  16M Mar 27 23:40 /boot/initrd.img-3.16-0.bpo.3-amd64
-rw-r--r-- 1 root root  18M Apr 13 19:01 /boot/initrd.img-3.16.0-0.bpo.4-amd64
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.16.0-0.bpo.4-amd64 root=/dev/mapper/poseidon-core--root ro quiet cgroup_enable=memory

-- /proc/filesystems
	btrfs
	ext3
	ext2
	ext4
	xfs
	jfs
	msdos
	vfat
	ntfs
	minix
	hfs
	hfsplus
	qnx4
	ufs
	fuseblk

-- lsmod
Module                  Size  Used by
veth                   13095  0 
nls_utf8               12456  5 
fuse                   87557  2 
ufs                    73394  0 
qnx4                   13036  0 
hfsplus               101339  0 
hfs                    53803  0 
minix                  35520  0 
ntfs                  194520  0 
vfat                   17135  0 
msdos                  17046  0 
fat                    61944  2 vfat,msdos
jfs                   176956  0 
xfs                   824882  0 
libcrc32c              12426  1 xfs
bridge                110153  0 
stp                    12437  1 bridge
llc                    12790  2 stp,bridge
nf_conntrack_ipv6      17701  1 
nf_defrag_ipv6         33358  1 nf_conntrack_ipv6
ip6table_filter        12540  1 
ip6_tables             25981  1 ip6table_filter
nf_conntrack_ipv4      18412  1 
nf_defrag_ipv4         12483  1 nf_conntrack_ipv4
xt_conntrack           12681  2 
nf_conntrack           91427  3 xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6
xt_tcpudp              12527  2 
iptable_filter         12536  1 
ip_tables              25967  1 iptable_filter
x_tables               27112  6 ip6table_filter,ip_tables,xt_tcpudp,xt_conntrack,iptable_filter,ip6_tables
radeon               1360863  0 
ttm                    77857  1 radeon
drm_kms_helper         49151  1 radeon
drm                   253663  3 ttm,drm_kms_helper,radeon
kvm_amd                59219  0 
amd64_edac_mod         30243  0 
kvm                   404890  1 kvm_amd
edac_mce_amd           21166  1 amd64_edac_mod
i2c_algo_bit           12751  1 radeon
edac_core              47316  2 amd64_edac_mod
pcspkr                 12595  0 
k10temp                12618  0 
evdev                  17445  5 
shpchp                 35217  0 
sp5100_tco             12864  0 
tpm_infineon           16882  0 
acpi_cpufreq           17218  0 
processor              28159  1 acpi_cpufreq
tpm_tis                17235  0 
tpm                    31464  2 tpm_tis,tpm_infineon
button                 12944  0 
i2c_piix4              20864  0 
thermal_sys            27546  1 processor
loop                   26525  0 
hwmon_vid              12388  0 
w83792d                30158  0 
i2c_i801               16964  0 
i2c_core               50108  7 drm,i2c_i801,w83792d,i2c_piix4,drm_kms_helper,i2c_algo_bit,radeon
autofs4                35529  2 
uhci_hcd               43411  0 
ext4                  494080  17 
crc16                  12343  1 ext4
mbcache                17171  1 ext4
jbd2                   82399  1 ext4
crc32c_generic         12656  2 
btrfs                 888709  0 
dm_snapshot            36709  9 
dm_bufio               22744  1 dm_snapshot
dm_mod                 93455  111 dm_bufio,dm_snapshot
nfs                   196300  0 
lockd                  87642  1 nfs
sunrpc                249620  2 nfs,lockd
fscache                45457  1 nfs
raid1                  34596  1 
raid456                77579  7 
async_raid6_recov      16626  1 raid456
async_memcpy           12350  2 raid456,async_raid6_recov
async_pq               12561  2 raid456,async_raid6_recov
async_xor              12429  3 async_pq,raid456,async_raid6_recov
async_tx               12566  5 async_pq,raid456,async_xor,async_memcpy,async_raid6_recov
xor                    21040  2 btrfs,async_xor
raid6_pq               95238  3 async_pq,btrfs,async_raid6_recov
md_mod                111686  10 raid456,raid1
sg                     29973  0 
sd_mod                 44302  33 
crc_t10dif             12431  1 sd_mod
ata_generic            12490  0 
crct10dif_generic      12581  1 
crct10dif_common       12356  2 crct10dif_generic,crc_t10dif
hid_generic            12393  0 
usbhid                 48599  0 
hid                   102250  2 hid_generic,usbhid
ohci_pci               12808  0 
tg3                   160810  0 
ptp                    17742  1 tg3
pps_core               17225  1 ptp
pata_atiixp            12747  0 
libphy                 32302  1 tg3
ahci                   33291  27 
libahci                27145  1 ahci
ehci_pci               12512  0 
ohci_hcd               42982  1 ohci_pci
ehci_hcd               69635  1 ehci_pci
libata                181416  4 ahci,libahci,ata_generic,pata_atiixp
scsi_mod              195196  3 sg,libata,sd_mod
usbcore               199395  6 uhci_hcd,ohci_hcd,ohci_pci,ehci_hcd,ehci_pci,usbhid
usb_common             12440  1 usbcore

-- /etc/initramfs-tools/modules
nfs

-- /etc/kernel-img.conf
# Kernel Image management overrides
# See kernel-img.conf(5) for details
do_symlinks = 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 : [raid6] [raid5] [raid4] [raid1] 
md7 : active raid5 sde7[2] sdf7[0] sdb7[1]
      78139904 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]
      
md0 : active raid1 sde1[2] sdf1[0] sdb1[1]
      200704 blocks [3/3] [UUU]
      
md9 : active raid5 sdf9[0] sde9[2] sdb9[1]
      312512128 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]
      
md8 : active (auto-read-only) raid5 sdf8[0] sde8[2] sdb8[1]
      156264064 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]
      
md11 : active raid5 sdf11[0] sde11[2] sdb11[1]
      722137600 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]
      
md10 : active raid5 sdf10[0] sde10[2] sdb10[1]
      625008512 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]
      
md6 : active (auto-read-only) raid5 sdf6[0] sde6[2] sdb6[1]
      39085952 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]
      
md2 : active raid5 sdd2[3] sdc2[0] sda2[1]
      3904125952 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
      
unused devices: <none>

-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:

/usr/share/initramfs-tools/hooks:
btrfs
busybox
dmsetup
fsck
keymap
klibc
kmod
lvm2
mdadm
resume
thermal
udev
zz-busybox


-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.16.0-0.bpo.4-amd64 (SMP w/2 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  busybox            1:1.22.0-9+deb8u1
ii  cpio               2.11+dfsg-4.1
ii  klibc-utils        2.0.4-2
ii  kmod               18-3
ii  module-init-tools  18-3
ii  udev               215-14

Versions of packages initramfs-tools recommends:
ii  busybox  1:1.22.0-9+deb8u1

Versions of packages initramfs-tools suggests:
pn  bash-completion  <none>

-- no debconf information

Attachment: signature.asc
Description: Digital signature


Reply to: