touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #127189
[Bug 1532146] [NEW] update-initramfs fails for MODULES=dep when root is on nvme device
Public bug reported:
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.
** Affects: initramfs-tools (Ubuntu)
Importance: Medium
Assignee: Louis Bouchard (louis-bouchard)
Status: Confirmed
** Changed in: initramfs-tools (Ubuntu)
Status: New => Confirmed
** Changed in: initramfs-tools (Ubuntu)
Importance: Undecided => Medium
** Changed in: initramfs-tools (Ubuntu)
Assignee: (unassigned) => Louis Bouchard (louis-bouchard)
--
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:
Confirmed
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
Follow ups