Bug#815555: initramfs-tools: raid1 boot with lilo fails on 0.123 with cant find root in fstab
Control: retitle -1 Numeric root device IDs are resolved too early since 0.123 Control: severity -1 important Downgrading this because it only affects LILO configs where root is specified as /dev/md0 (which is deprecated) and not by UUID. Ben. -- Ben Hutchings Make three consecutive correct guesses and you will be considered an expert. signature.asc Description: This is a digitally signed message part
Bug#815555: initramfs-tools: raid1 boot with lilo fails on 0.123 with cant find root in fstab
Hi again I have now tried switching to Grub2. This boots perfectly on the same setup. Also after upgrading to initramfs-tools 0.123. So this is going to be my workaround for the time being. And if grub behaves, I am probably not going back to lilo. /Anders
Bug#815555: initramfs-tools: raid1 boot with lilo fails on 0.123 with cant find root in fstab
On 22 February 2016 at 23:09, Ben Hutchingswrote: > Control: tag -1 moreinfo > > On Mon, 2016-02-22 at 12:58 +0100, Anders Nyvang wrote: > > Package: initramfs-tools > > Version: 0.123 > > Severity: critical > > Justification: breaks the whole system > > > > Dear Maintainer, > > > > After updating from 0.120 to 0.123 my system cannot boot. > > > > System is software raid1 and booting with lilo. > > > > Post up to the initramfs prompt: > > BIOS data check successful > > mdadm: /dev/md0 has been started with 2 drives. > > modprobe: module unknown not found in modules.dep > > mount: can't find /root in /etc/fstab > > > > ... and the errors goes on, but primary relates to the fact that the > root filesystem is missing. > [...] > All returns Ext4. > What filesystem type is the root mounted with, when you use > initramfs-tools 0.120? (Check in /proc/mounts.) > # cat /proc/mounts sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0 udev /dev devtmpfs rw,relatime,size=10240k,nr_inodes=254169,mode=755 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0 tmpfs /run tmpfs rw,nosuid,noexec,relatime,size=205288k,mode=755 0 0 /dev/root / ext4 rw,relatime,errors=remount-ro,data=ordered 0 0 tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0 pstore /sys/fs/pstore pstore rw,relatime 0 0 tmpfs /run/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=799340k 0 0 > What does '/usr/lib/klibc/bin/fstype /dev/md0' show? > # /usr/lib/klibc/bin/fstype /dev/md0 FSTYPE=ext4 FSSIZE=33361625088 > What does 'blkid /dev/md0' show? > # blkid /dev/md0 /dev/md0: UUID="5a290e58-0d5e-46aa-8e07-019526f4499f" TYPE="ext4" > Ben. > > -- > Ben Hutchings > The generation of random numbers is too important to be left to chance. > - Robert > Coveyou /Anders
Bug#815555: initramfs-tools: raid1 boot with lilo fails on 0.123 with cant find root in fstab
Control: tag -1 moreinfo On Mon, 2016-02-22 at 12:58 +0100, Anders Nyvang wrote: > Package: initramfs-tools > Version: 0.123 > Severity: critical > Justification: breaks the whole system > > Dear Maintainer, > > After updating from 0.120 to 0.123 my system cannot boot. > > System is software raid1 and booting with lilo. > > Post up to the initramfs prompt: > BIOS data check successful > mdadm: /dev/md0 has been started with 2 drives. > modprobe: module unknown not found in modules.dep > mount: can't find /root in /etc/fstab > > ... and the errors goes on, but primary relates to the fact that the root > filesystem is missing. [...] What filesystem type is the root mounted with, when you use initramfs-tools 0.120? (Check in /proc/mounts.) What does '/usr/lib/klibc/bin/fstype /dev/md0' show? What does 'blkid /dev/md0' show? Ben. -- Ben Hutchings The generation of random numbers is too important to be left to chance. - Robert Coveyou signature.asc Description: This is a digitally signed message part
Processed: Re: Bug#815555: initramfs-tools: raid1 boot with lilo fails on 0.123 with cant find root in fstab
Processing control commands: > tag -1 moreinfo Bug #81 [initramfs-tools] initramfs-tools: raid1 boot with lilo fails on 0.123 with cant find root in fstab Added tag(s) moreinfo. -- 81: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=81 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#815555: initramfs-tools: raid1 boot with lilo fails on 0.123 with cant find root in fstab
Package: initramfs-tools Version: 0.123 Severity: critical Justification: breaks the whole system Dear Maintainer, After updating from 0.120 to 0.123 my system cannot boot. System is software raid1 and booting with lilo. Post up to the initramfs prompt: BIOS data check successful mdadm: /dev/md0 has been started with 2 drives. modprobe: module unknown not found in modules.dep mount: can't find /root in /etc/fstab ... and the errors goes on, but primary relates to the fact that the root filesystem is missing. I have recreated the issue on my virtualbox Debian Stretch (where this report is created). Compare files and lsinitramfs without any luck. Cheers, Anders Nyvang -- Package-specific info: -- initramfs sizes -rw-r--r-- 1 root root 16M Dec 20 19:29 /boot/initrd.img-4.2.0-1-amd64 -rw-r--r-- 1 root root 16M Feb 22 12:40 /boot/initrd.img-4.3.0-1-amd64 -- /proc/cmdline auto BOOT_IMAGE=Linux ro root=900 quiet -- resume RESUME=UUID=1d1dec68-09a6-4ad1-8a6f-a1cf37b0178f -- /proc/filesystems ext3 ext2 ext4 -- lsmod Module Size Used by dm_mod106496 0 iTCO_wdt 16384 0 iTCO_vendor_support16384 1 iTCO_wdt iosf_mbi 16384 0 crct10dif_pclmul 16384 0 crc32_pclmul 16384 0 sha256_ssse3 28672 1 sha256_generic 24576 1 sha256_ssse3 hmac 16384 1 drbg 24576 1 ansi_cprng 16384 0 aesni_intel 167936 0 aes_x86_64 20480 1 aesni_intel lrw16384 1 aesni_intel psmouse 126976 0 ppdev 20480 0 gf128mul 16384 1 lrw evdev 20480 4 glue_helper16384 1 aesni_intel ablk_helper16384 1 aesni_intel cryptd 20480 2 aesni_intel,ablk_helper lpc_ich24576 0 pcspkr 16384 0 mfd_core 16384 1 lpc_ich serio_raw 16384 0 acpi_cpufreq 20480 0 tpm_tis20480 0 tpm40960 1 tpm_tis parport_pc 28672 0 rng_core 16384 0 i2c_piix4 24576 0 parport49152 2 ppdev,parport_pc 8250_fintek16384 0 processor 36864 1 acpi_cpufreq battery16384 0 ac 16384 0 video 36864 0 button 16384 0 sg 32768 0 snd_intel8x0 40960 0 snd_ac97_codec126976 1 snd_intel8x0 snd_pcm 102400 2 snd_ac97_codec,snd_intel8x0 snd_timer 32768 1 snd_pcm snd81920 4 snd_ac97_codec,snd_intel8x0,snd_timer,snd_pcm soundcore 16384 1 snd ac97_bus 16384 1 snd_ac97_codec ext4 577536 1 crc16 16384 1 ext4 mbcache20480 1 ext4 jbd2 106496 1 ext4 raid1 36864 1 md_mod131072 2 raid1 sr_mod 24576 0 sd_mod 40960 6 cdrom 57344 1 sr_mod ata_generic16384 0 ohci_pci 16384 0 crc32c_intel 24576 0 ahci 36864 4 libahci32768 1 ahci ata_piix 36864 0 ehci_pci 16384 0 ohci_hcd 49152 1 ohci_pci ehci_hcd 77824 1 ehci_pci usbcore 233472 4 ohci_hcd,ohci_pci,ehci_hcd,ehci_pci usb_common 16384 1 usbcore libata233472 4 ahci,libahci,ata_generic,ata_piix scsi_mod 229376 4 sg,libata,sd_mod,sr_mod e1000 135168 0 -- /etc/initramfs-tools/modules -- /etc/kernel-img.conf # Kernel image management overrides # See kernel-img.conf(5) for details do_symlinks = yes do_bootloader = yes do_initrd = yes link_in_boot = no -- /etc/initramfs-tools/initramfs.conf MODULES=most BUSYBOX=auto KEYMAP=n COMPRESS=gzip DEVICE= NFSROOT=auto -- /etc/initramfs-tools/update-initramfs.conf update_initramfs=yes backup_initramfs=no -- /proc/mdstat Personalities : [raid1] md0 : active raid1 sda1[0] sdb1[1] 32579712 blocks [2/2] [UU] unused devices: -- mkinitramfs hooks /etc/initramfs-tools/hooks/: /usr/share/initramfs-tools/hooks: dmsetup fsck keymap klibc-utils kmod mdadm resume thermal udev zz-busybox -- System Information: Debian Release: stretch/sid APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.3.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages initramfs-tools depends on: ii initramfs-tools-core 0.123 ii linux-base4.0 initramfs-tools recommends no packages. Versions of packages initramfs-tools suggests: ii bash-completion 1:2.1-4.2 -- no debconf