Package: initramfs-tools Version: 0.93.4
Severity: critical --- Please enter the report below this line. --- with btrfs the generated scripts for finding and mounting root are not working for me. My setup is luks > lvm2 > btrfs. More specifically the way of the scripts to find out the filesystem type is leading to an error in /scripts/local-top/cryptroot in this part: if [ -z "$FSTYPE" ] || [ "$FSTYPE" = "unknown" ]; then message "cryptsetup: unknown fstype, bad password or options?" udev_settle $cryptremove continue fi And also a more critical error in /scripts/local at the mount argument: mount ${roflag} -t ${FSTYPE} ${ROOTFLAGS} ${ROOT} ${rootmnt} I did a quick hack and deleted lines 4-5 of the first function and changed ${FSTYPE} to btrs in the mount command and this fixed the issues for me. it seems that fstype doesn't know btrfs. --- System information. --- Architecture: amd64 Kernel: Linux 2.6.31.4 Debian Release: squeeze/sid 500 unstable www.debian-multimedia.org 500 unstable moblock-deb.sourceforge.net 500 unstable mirror.peer1.net 500 unstable ftp.us.debian.org --- Package information. --- Depends (Version) | Installed ==================================-+-============= klibc-utils (>= 1.5.9-1) | 1.5.15-1 cpio | 2.10-1 module-init-tools | 3.11-1 udev (>= 0.086-1) | 146-5 findutils (>= 4.2.24) | 4.4.2-1 Recommends (Version) | Installed ====================================-+-=============== busybox (>= 1:1.01-3) | 1:1.14.2-2 OR busybox-initramfs | Package's Suggests field is empty. --- Output from package bug script --- -- /proc/cmdline BOOT_IMAGE=/linux-2.6.31.4 root=/dev/mapper/luna-btrootlv bttv.card=10 usbhid.mousepoll=2 ro -- /proc/filesystems ext3 ext2 ext4 ext4dev btrfs -- lsmod Module Size Used by fglrx 2231384 28 nfnetlink_queue 9692 1 nfnetlink 5616 2 nfnetlink_queue nf_conntrack_ipv4 15952 3 nf_defrag_ipv4 2232 1 nf_conntrack_ipv4 ipt_REJECT 3416 1 xt_tcpudp 3416 2 iptable_filter 3064 1 ip_tables 19400 1 iptable_filter xt_iprange 2712 0 xt_state 2328 3 nf_conntrack 78624 2 nf_conntrack_ipv4,xt_state xt_mark 2392 6 xt_NFQUEUE 2552 3 x_tables 25216 7 ipt_REJECT,xt_tcpudp,ip_tables,xt_iprange,xt_state,xt_mark,xt_NFQUEUE firewire_sbp2 16840 0 snd_virtuoso 14724 6 snd_intel8x0 35008 1 snd_oxygen_lib 36376 1 snd_virtuoso snd_ac97_codec 121368 1 snd_intel8x0 snd_mpu401_uart 8248 1 snd_oxygen_lib ac97_bus 2040 1 snd_ac97_codec snd_bt87x 14116 1 snd_rawmidi 23256 1 snd_mpu401_uart snd_pcm 80448 6 snd_intel8x0,snd_oxygen_lib,snd_ac97_codec,snd_bt87x snd_timer 23880 3 snd_pcm snd 62600 21 snd_virtuoso,snd_intel8x0,snd_oxygen_lib,snd_ac97_codec,snd_mpu401_uart,snd_bt87x,snd_rawmidi,snd_pcm,snd_timer snd_page_alloc 10472 3 snd_intel8x0,snd_bt87x,snd_pcm soundcore 1952 1 snd i2c_nforce2 7904 0 firewire_ohci 26268 0 firewire_core 52392 2 firewire_sbp2,firewire_ohci crc_itu_t 2264 1 firewire_core ide_cd_mod 30848 0 cdrom 38888 1 ide_cd_mod forcedeth 59204 0 ohci_hcd 25428 0 fan 3896 0 -- /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 postinst_hook = update-grub postrm_hook = update-grub -- /etc/initramfs-tools/initramfs.conf MODULES=most BUSYBOX=y KEYMAP=n BOOT=local DEVICE=eth0 NFSROOT=auto -- /etc/crypttab btroot /dev/sdb1 none luks,cipher=aes-xts-essiv:sha256,size=256,loud,tries=1,check=un_blkid,checkargs=xfs terra-home_crypt /dev/mapper/terra-home /root/keyfile luks terra-swap_crypt /dev/mapper/terra-swap /root/keyfile luks,swap