update-initramfs "missing md root"

Bug #601380 reported by Tommi Palomäki
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: initramfs-tools

$ sudo update-initramfs -u -k all
update-initramfs: Generating /boot/initrd.img-2.6.24-28-server
mkinitramfs: missing md root /dev/mapper/volgroup1-logvol1 /sys entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
update-initramfs: failed for /boot/initrd.img-2.6.24-28-server
update-initramfs: Generating /boot/initrd.img-2.6.24-24-server
mkinitramfs: missing md root /dev/mapper/volgroup1-logvol1 /sys entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
update-initramfs: failed for /boot/initrd.img-2.6.24-24-server

initramfs-tools version: 0.92bubuntu78

I upgraded from Ubuntu 8.04 (LTS) to 10.04 (LTS). After upgrade I needed to change MODULES=dep in
/etc/initramfs-tools/initramfs.conf
(because my BIOS is so old that with the new Ubuntu version MODULES=most takes too much space)

The I ran "update-initramfs -u" command but got the error above.

Now I cannot boot Linux until the problem is somehow solved. I appreciate any workaround!

BR,

Tommi Palomäki

--

Information about my system.

I have software RAID1 and LVM installed.

$ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md1 : active raid1 sda2[0] sdb2[1]
      1477888 blocks [2/2] [UU]

md0 : active raid1 sda1[0] sdb1[1]
      38668352 blocks [2/2] [UU]

unused devices: <none>

$ cat /proc/cmdline
auto BOOT_IMAGE=Linux ro root=/dev/mapper/volgroup1-logvol1

$ cat /proc/filesystems
nodev sysfs
nodev rootfs
nodev bdev
nodev proc
nodev cgroup
nodev cpuset
nodev debugfs
nodev securityfs
nodev sockfs
nodev pipefs
nodev anon_inodefs
nodev futexfs
nodev tmpfs
nodev inotifyfs
nodev devpts
        cramfs
nodev ramfs
nodev hugetlbfs
nodev mqueue
nodev fuse
        fuseblk
nodev fusectl
nodev usbfs
        ext3

$ lsmod
Module Size Used by
ipv6 273188 12
af_packet 23684 2
iptable_filter 3840 0
ip_tables 14820 1 iptable_filter
x_tables 16132 1 ip_tables
3c509 16212 0
lp 12324 0
loop 19076 0
evdev 12928 0
parport_pc 36644 1
parport 37704 2 lp,parport_pc
i2c_piix4 9612 0
intel_agp 25620 1
shpchp 34452 0
i2c_core 24832 1 i2c_piix4
agpgart 34760 1 intel_agp
pci_hotplug 30880 1 shpchp
pcspkr 4224 0
ext3 136712 1
jbd 48404 1 ext3
mbcache 9600 1 ext3
sg 36496 0
sr_mod 17828 0
cdrom 37280 1 sr_mod
sd_mod 30592 6
ata_piix 19588 4
pata_acpi 8320 0
ata_generic 8324 0
uhci_hcd 27152 0
libata 159728 3 ata_piix,pata_acpi,ata_generic
usbcore 146412 2 uhci_hcd
scsi_mod 151436 4 sg,sr_mod,sd_mod,libata
raid10 25856 0
raid456 129040 0
async_xor 4992 1 raid456
async_memcpy 3840 1 raid456
async_tx 9292 3 raid456,async_xor,async_memcpy
xor 16136 2 raid456,async_xor
raid1 25728 2
raid0 9344 0
multipath 9600 0
linear 7296 0
md_mod 81940 8 raid10,raid456,raid1,raid0,multipath,linear
dm_mirror 24704 0
dm_snapshot 19620 0
dm_mod 62532 5 dm_mirror,dm_snapshot
fbcon 42656 0
tileblit 3584 1 fbcon
font 9472 1 fbcon
bitblit 6784 1 fbcon
softcursor 3072 1 bitblit
fuse 50580 1

$ cat /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = yes
do_bootfloppy = no
do_initrd = yes
link_in_boot = no

$ cat /etc/initramfs-tools/initramfs.conf
MODULES=dep
BUSYBOX=y
COMPCACHE_SIZE=""
BOOT=local
DEVICE=eth0
NFSROOT=auto

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: initramfs-tools 0.92bubuntu78
ProcVersionSignature: Ubuntu 2.6.24-28.70-server
Uname: Linux 2.6.24-28-server i686
Architecture: i386
Date: Sat Jul 3 16:57:59 2010
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: initramfs-tools

Revision history for this message
Tommi Palomäki (kompa3) wrote :
Revision history for this message
Tommi Palomäki (kompa3) wrote :

Installed Ubuntu 10.04 to a fresh new machine and everything is ok now.

Revision history for this message
Aryeh Gregor (simetrical+launchpad) wrote :

I also hit this bug. We installed Ubuntu 10.04 fresh on LVM with no RAID, then I set up RAID and moved the root filesystem there using pvmove. Then when I tried running update-initramfs -u -k all, I got:

$ sudo update-initramfs -k all -u
update-initramfs: Generating /boot/initrd.img-2.6.32-25-server
mkinitramfs: missing md root /dev/mapper/lvm_Boot-root /sys entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
update-initramfs: failed for /boot/initrd.img-2.6.32-25-server
update-initramfs: Generating /boot/initrd.img-2.6.32-24-server
mkinitramfs: missing md root /dev/mapper/lvm_Boot-root /sys entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
update-initramfs: failed for /boot/initrd.img-2.6.32-24-server
update-initramfs: Generating /boot/initrd.img-2.6.32-22-server
mkinitramfs: missing md root /dev/mapper/lvm_Boot-root /sys entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
update-initramfs: failed for /boot/initrd.img-2.6.32-22-server
update-initramfs: Generating /boot/initrd.img-2.6.32-21-server
mkinitramfs: missing md root /dev/mapper/lvm_Boot-root /sys entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
update-initramfs: failed for /boot/initrd.img-2.6.32-21-server

MODULES=most is already set in initramfs.conf. I'm afraid to reboot now.

Revision history for this message
Aryeh Gregor (simetrical+launchpad) wrote :

I deleted the file /etc/initramfs-tools/conf.d/driver-policy, which contained "MODULES=dep", and the error messages went away. (The machine actually didn't boot in the end, but I think that was a GRUB problem, not an initramfs problem.)

Revision history for this message
dino99 (9d9) wrote :

This version has expired

Changed in initramfs-tools (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.