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

Bug#797058: initramfs-tools: raid1 lvm configuration unsupported



Package: initramfs-tools
Version: 0.116
Severity: normal

Hello,

after a power cut I could not boot my system due to missing driver.

I have a lvm raid1 (as opposed to mirror) volume as root.

Unless manually instructed initramfs-tools do not include the dm_raid
and raid1 modules rendering the system unbootable.

I am not sure if this ever worked. This may be the first time I tried to
boot after reconfiguring the lvm.

It would be nice if this worked automagically.

Thanks

Michal

-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 12M Aug 26 21:44 /boot/initrd.img-3.2.0-4-amd64
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.2.0-4-amd64 root=/dev/mapper/placka-placka--root ro quiet quiet

-- resume
# RESUME=/dev/sda1
RESUME='LABEL=placka-swap'
-- /proc/filesystems
	ext4
	fuseblk

-- lsmod
Module                  Size  Used by
8021q                  23480  0 
garp                   13193  1 8021q
binfmt_misc            12957  1 
ib_iser                31680  0 
rdma_cm                31663  1 ib_iser
ib_addr                12912  1 rdma_cm
iw_cm                  13122  1 rdma_cm
ib_cm                  31380  1 rdma_cm
ib_sa                  22877  2 ib_cm,rdma_cm
ib_mad                 36359  2 ib_sa,ib_cm
ib_core                48285  6 ib_mad,ib_sa,ib_cm,iw_cm,rdma_cm,ib_iser
iscsi_tcp              17670  0 
libiscsi_tcp           17497  1 iscsi_tcp
libiscsi               35920  3 libiscsi_tcp,iscsi_tcp,ib_iser
scsi_transport_iscsi    39337  4 libiscsi,iscsi_tcp,ib_iser
fuse                   62012  1 
bridge                 70603  0 
stp                    12437  2 bridge,garp
xt_length              12460  2 
xt_mark                12453  39 
cls_fw                 12965  5 
sch_sfq                13172  5 
sch_htb                17923  1 
iptable_mangle         12536  1 
xt_tcpudp              12570  91 
xt_conntrack           12681  6 
xt_state               12503  4 
xt_dscp                12523  0 
xt_DSCP                12643  0 
xt_CLASSIFY            12429  0 
ipt_LOG                12605  0 
ipt_REJECT             12502  0 
xt_owner               12423  1 
nf_nat_ftp             12460  0 
nf_conntrack_ftp       12605  1 nf_nat_ftp
nf_nat_sip             12923  0 
nf_conntrack_sip       26054  1 nf_nat_sip
nf_nat_h323            12918  0 
nf_conntrack_h323      42413  1 nf_nat_h323
nf_nat_pptp            12603  0 
nf_nat_proto_gre       12517  1 nf_nat_pptp
nf_conntrack_pptp      12769  1 nf_nat_pptp
nf_conntrack_proto_gre    12974  1 nf_conntrack_pptp
nf_nat_irc             12454  0 
nf_conntrack_irc       12427  1 nf_nat_irc
iptable_filter         12536  1 
iptable_nat            12928  1 
ipt_MASQUERADE         12594  1 
nf_nat                 18242  8 ipt_MASQUERADE,iptable_nat,nf_nat_irc,nf_nat_proto_gre,nf_nat_pptp,nf_nat_h323,nf_nat_sip,nf_nat_ftp
xt_multiport           12548  0 
xt_iprange             12504  0 
nf_conntrack_ipv4      14078  13 nf_nat,iptable_nat
nf_defrag_ipv4         12483  1 nf_conntrack_ipv4
nf_conntrack           52720  17 nf_conntrack_ipv4,nf_nat,ipt_MASQUERADE,iptable_nat,nf_conntrack_irc,nf_nat_irc,nf_conntrack_proto_gre,nf_conntrack_pptp,nf_nat_pptp,nf_conntrack_h323,nf_nat_h323,nf_conntrack_sip,nf_nat_sip,nf_conntrack_ftp,nf_nat_ftp,xt_state,xt_conntrack
ip_tables              22042  3 iptable_nat,iptable_filter,iptable_mangle
x_tables               19118  18 ip_tables,xt_iprange,xt_multiport,ipt_MASQUERADE,iptable_nat,iptable_filter,xt_owner,ipt_REJECT,ipt_LOG,xt_CLASSIFY,xt_DSCP,xt_dscp,xt_state,xt_conntrack,xt_tcpudp,iptable_mangle,xt_mark,xt_length
kvm_amd                47218  0 
kvm                   291965  1 kvm_amd
loop                   22641  0 
btusb                  17502  0 
psmouse                69265  0 
arc4                   12458  2 
eeepc_wmi              12564  0 
asus_wmi               18726  1 eeepc_wmi
radeon                722295  1 
ath9k                  64619  0 
ath9k_common           12728  1 ath9k
serio_raw              12931  0 
pcspkr                 12579  0 
evdev                  17562  5 
sparse_keymap          12760  1 asus_wmi
ath3k                  12671  0 
ath9k_hw              322112  2 ath9k_common,ath9k
ath                    21370  3 ath9k_hw,ath9k_common,ath9k
mac80211              192806  1 ath9k
cfg80211              137243  3 mac80211,ath,ath9k
sp5100_tco             12900  0 
powernow_k8            17618  0 
ttm                    53664  1 radeon
bluetooth             119455  2 ath3k,btusb
drm_kms_helper         31370  1 radeon
mperf                  12453  1 powernow_k8
snd_hda_codec_realtek   188851  1 
i2c_piix4              12536  0 
rfkill                 19012  4 bluetooth,cfg80211,asus_wmi
drm                   183952  3 drm_kms_helper,ttm,radeon
mcs7830                13240  0 
usbnet                 18027  1 mcs7830
snd_hda_codec_hdmi     30824  1 
k10temp                12611  0 
snd_hda_intel          26259  0 
snd_hda_codec          78031  3 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_realtek
snd_hwdep              13186  1 snd_hda_codec
snd_pcm                68083  3 snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi
power_supply           13475  1 radeon
snd_page_alloc         13003  2 snd_pcm,snd_hda_intel
i2c_algo_bit           12841  1 radeon
i2c_core               23876  5 i2c_algo_bit,drm,i2c_piix4,drm_kms_helper,radeon
snd_timer              22917  1 snd_pcm
snd                    52893  7 snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_realtek
soundcore              13065  1 snd
wmi                    13243  1 asus_wmi
processor              28149  3 powernow_k8
thermal_sys            18040  1 processor
button                 12937  0 
ext4                  350804  2 
crc16                  12343  2 ext4,bluetooth
jbd2                   62115  1 ext4
mbcache                13114  1 ext4
microcode              30126  0 
dm_raid                17012  4 
raid456                48453  1 dm_raid
async_raid6_recov      12574  1 raid456
async_memcpy           12387  2 async_raid6_recov,raid456
async_pq               12605  2 async_raid6_recov,raid456
async_xor              12422  3 async_pq,async_raid6_recov,raid456
xor                    12605  1 async_xor
async_tx               12604  5 async_xor,async_pq,async_memcpy,async_raid6_recov,raid456
raid6_pq               82624  2 async_pq,async_raid6_recov
raid1                  30714  5 dm_raid
md_mod                 87742  3 raid1,raid456,dm_raid
dm_mod                 63645  58 dm_raid
sg                     25874  0 
sd_mod                 36136  6 
crc_t10dif             12348  1 sd_mod
usb_storage            43870  1 
xhci_hcd               73352  0 
ohci_hcd               26563  0 
r8169                  47008  0 
mii                    12675  3 r8169,usbnet,mcs7830
ahci                   24997  4 
libahci                22941  1 ahci
ehci_hcd               40249  0 
libata                140630  2 libahci,ahci
scsi_mod              162321  8 libata,usb_storage,sd_mod,sg,scsi_transport_iscsi,libiscsi,iscsi_tcp,ib_iser
usbcore               128741  9 ehci_hcd,ohci_hcd,xhci_hcd,usb_storage,usbnet,mcs7830,ath3k,btusb
usb_common             12354  1 usbcore

-- /etc/initramfs-tools/modules
dm-raid
raid1

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = 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 : [raid1] [raid6] [raid5] [raid4] 
unused devices: <none>

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

/usr/share/initramfs-tools/hooks:
amd64_microcode
busybox
dmsetup
fuse
intel_microcode
iscsi
keymap
klibc
kmod
lvm2
resume
thermal
udev


-- System Information:
Debian Release: 7.8
  APT prefers stable
  APT policy: (990, 'stable'), (800, 'oldstable'), (500, 'testing'), (400, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages initramfs-tools depends on:
ii  cpio               2.11+dfsg-0.1+deb7u1
ii  klibc-utils        2.0.1-3.1
ii  kmod               9-3
ii  module-init-tools  9-3
ii  udev               175-7.2

Versions of packages initramfs-tools recommends:
ii  busybox  1:1.20.0-7

Versions of packages initramfs-tools suggests:
ii  bash-completion  1:2.0-1

-- no debconf information


Reply to: