Public bug reported:

[Impact] 
The initramfs-tools hook-functions script cannot translate nvmeXnYpZ to nvmeXnY 
block device, so it's failing and not building the initram disk.

Upstream solution is composed for at least 2 patches (it's a series, but
the 2 below are really the needed ones):

commit 3cb744c9
Author: Ben Hutchings <b...@decadent.org.uk>
hook-functions: Rewrite block device sysfs lookup to be generic

commit 8ac52dc0
Author: Ben Hutchings <b...@decadent.org.uk>
hook-functions: Include modules for all components of a multi-disk device

Instead of doing the backport, which is huge, we added another sed 
substitution: currently the script has substitutions for sdX and hdX, in order 
to convert sda1 to sda, for example. The new substitution converts nvmeXnYpZ to 
nvmeXnY.
It's less intrusive than the full backport, since this is a SRU to Trusty only.


[Test Case]
To be added.


[Regression Potential] 
If the sed expression was somewhat broken, we could have an issue generating 
initiramfs for generic block devices, like regular HDDs.


[Other Info]
This issue is based on Debian bug #785147: 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785147

** Affects: initramfs-tools
     Importance: Unknown
         Status: Fix Released

** Affects: initramfs-tools (Ubuntu)
     Importance: High
     Assignee: Guilherme G. Piccoli (gpiccoli)
         Status: In Progress

** Affects: initramfs-tools (Ubuntu Trusty)
     Importance: High
     Assignee: Guilherme G. Piccoli (gpiccoli)
         Status: In Progress

** Affects: initramfs-tools (Ubuntu Xenial)
     Importance: Medium
         Status: Fix Released


** Tags: sts trusty

** Changed in: linux (Ubuntu)
   Importance: Undecided => High

** Changed in: linux (Ubuntu)
       Status: New => In Progress

** Changed in: linux (Ubuntu)
    Milestone: None => trusty-updates

** Bug watch added: Debian Bug tracker #785147
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785147

** Also affects: linux via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785147
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1771557

Title:
  NVMe boot drives not supported - failing in generating initramfs

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to