Bug#699804: initramfs-tools: make-initramfs not aware of dm-raid + raid1 LVM
Package: initramfs-tools
Version: 0.109
Severity: important
I recently converted my root LV to dm-raid in raid1 personallity.
make-initramfs didn't seem to analyse this, and created an init ramdisk
that did not contain dm-raid.ko nor raid1.ko, thus rendering the machine
unbootable.
It can be worked around by adding
dm-raid
raid1
to /etc/initramfs-tools/modules
-- Package-specific info:
-- initramfs sizes
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.2.0-4-amd64 root=/dev/mapper/vg_cel-root64 ro
-- resume
RESUME=/dev/mapper/vg_cel-swap_a
-- /proc/filesystems
ext3
ext2
fuseblk
-- lsmod
Module Size Used by
fuse 62020 3
ext2 59231 1
loop 22641 0
snd_hda_codec_hdmi 30824 1
snd_hda_codec_realtek 188858 1
coretemp 12898 0
crc32c_intel 12747 0
ghash_clmulni_intel 13173 0
aesni_intel 50667 0
aes_x86_64 16843 1 aesni_intel
aes_generic 33026 2 aes_x86_64,aesni_intel
cryptd 14517 2 ghash_clmulni_intel,aesni_intel
i915 360517 1
snd_hda_intel 26345 0
snd_hda_codec 78031 3 snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
video 17683 1 i915
drm_kms_helper 27227 1 i915
drm 167720 2 drm_kms_helper,i915
snd_hwdep 13186 1 snd_hda_codec
snd_pcm 68083 3 snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi
snd_page_alloc 13003 2 snd_pcm,snd_hda_intel
snd_timer 22917 1 snd_pcm
snd 52889 7 snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
soundcore 13065 1 snd
i2c_algo_bit 12841 1 i915
acpi_cpufreq 12935 0
mperf 12453 1 acpi_cpufreq
iTCO_wdt 17081 0
serio_raw 12931 0
pcspkr 12579 0
parport_pc 22364 0
parport 31858 1 parport_pc
evdev 17562 3
iTCO_vendor_support 12704 1 iTCO_wdt
processor 28157 1 acpi_cpufreq
button 12937 1 i915
thermal_sys 18040 2 processor,video
i2c_i801 16870 0
i2c_core 23876 5 i2c_i801,i2c_algo_bit,drm,drm_kms_helper,i915
ext3 161867 6
mbcache 13114 2 ext3,ext2
jbd 56902 1 ext3
dm_raid 17012 4
raid456 48356 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
dm_mod 63645 69 dm_raid
raid1 30714 5 dm_raid
md_mod 87742 3 raid1,raid456,dm_raid
sg 25874 0
sd_mod 36136 5
crc_t10dif 12348 1 sd_mod
usbhid 36418 1
hid 81328 1 usbhid
ahci 24997 3
libahci 22860 1 ahci
libata 140630 2 libahci,ahci
ehci_hcd 40215 0
scsi_mod 162269 3 libata,sd_mod,sg
r8169 46972 0
mii 12675 1 r8169
usbcore 128681 4 ehci_hcd,usbhid
usb_common 12354 1 usbcore
-- /etc/initramfs-tools/modules
raid1
dm-raid
-- /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
-- /proc/mdstat
Personalities : [raid1] [raid6] [raid5] [raid4]
unused devices: <none>
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
busybox
dmsetup
fuse
keymap
klibc
kmod
lvm2
thermal
udev
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages initramfs-tools depends on:
ii cpio 2.11+dfsg-0.1
ii klibc-utils 2.0.1-3.1
ii kmod 9-2
ii module-init-tools 9-2
ii udev 175-7
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: