← Back to team overview

touch-packages team mailing list archive

[Bug 1532146] Re: update-initramfs fails for MODULES=dep when root is on nvme device

 

now update-initramfs fails for MODULES=dep when root is NOT on nvme
device

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1532146

Title:
  update-initramfs fails for MODULES=dep when root is on nvme device

Status in initramfs-tools package in Ubuntu:
  Fix Released
Status in initramfs-tools source package in Wily:
  New

Bug description:
  If MODULES=dep is used to create a smaller initramfs, it will fail if
  the system has its root on NVME device.

  # grep ^MODULES /etc/initramfs-tools/initramfs.conf 
  MODULES=dep
  # update-initramfs -u
  update-initramfs: Generating /boot/initrd.img-3.19.0-43-generic
  mkinitramfs: for root /dev/nvme0n1p1 missing nvme /sys/block/ entry
  mkinitramfs: workaround is MODULES=most
  mkinitramfs: Error please report the bug
  update-initramfs: failed for /boot/initrd.img-3.19.0-43-generic with 1.

  /usr/share/initramfs-tools/hook-functions is missing an entry for NVME
  devices so it falls back to a default value which is inadequate

  I will open a bug in Debian as well which has the same issue in Sid.

  The upcoming version in experimental changes the logic which may or
  may not fix the problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1532146/+subscriptions


References