[Bug 1718055] Re: update-initramfs fails for MODULES=dep when root is on LVM wich uses nvme device
Dan Streetman
dan.streetman at canonical.com
Fri Oct 6 14:21:54 UTC 2017
the linux autopkgtest failure is due to the kernel team change to only
build a single kernel 'flavour' to reduce test rebuild time, but the
autopkgtest still expects the (no longer built) -lpae flavor on armhf.
The kernel team has a bug open for it and is fixing it in the next
build.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1718055
Title:
update-initramfs fails for MODULES=dep when root is on LVM wich uses
nvme device
Status in initramfs-tools package in Ubuntu:
Fix Released
Status in initramfs-tools source package in Trusty:
Fix Committed
Bug description:
[impact]
On a trusty system, if using MODULES=dep with lvm-on-nvme then update-
initramfs fails to rebuild the initramfs. This prevents using
MODULES=dep for building an initramfs on trusty, with a rootfs that
uses lvm on nvme.
[test case]
install a system where the rootfs uses a LVM logical volume that is
located on a physical volume on a NVMe drive. Edit the /etc
/initramfs-tools/initramfs.conf file and change the MODULES line to
MODULES=dep and save the file. Then run sudo update-initramfs -u
which will fail with:
$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-3.13.0-129-generic
mkinitramfs: for root /dev/dm-0 missing nvme /sys/block/ entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
update-initramfs: failed for /boot/initrd.img-3.13.0-129-generic with 1.
[regression potential]
This changes initramfs creation for rootfs that are on nvme or lvm, so
has the potential to break it for any system with its rootfs on either
or both of those. It is likely to only break initramfs creation, not
system booting.
[other info]
related to bug 1532146
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1718055/+subscriptions
More information about the foundations-bugs
mailing list