[Bug 1864965] Re: Add Intel RAID/RST detection with NVMe devices

Woodrow Shen woodrow.shen at canonical.com
Thu Mar 12 10:49:28 UTC 2020


** Description changed:

  [Impact]
  
- The disk-detect.sh supports to detect if Intel RAID/RST mode is
- activated as NVMe devices are remapped to PCI bus. Based on this,
- ubiquity installer can take advantage of detection and handle such a
- case with improved user experience.
+ A new discover-remapped-nvme.sh supports to detect if Intel RAID/RST
+ mode is activated as NVMe devices are remapped to PCI bus. Based on
+ this, ubiquity installer can take advantage of detection and handle such
+ a case with improved user experience.
  
  [Test Case]
  
  There are several ways to test this case, but one of them will be
  integration test:
  
  In ubiquity, hw-detect will be sourced, and then import disk-detect.sh to call remapped_nvme_probe(). Then use the following command to get debconf value:
  $ echo "get disk-detect/activate_remapped_nvme" | sudo debconf-communicate
  0 True
  
  [Regression Potential]
  
  Some case will be different, especially the system doesn't have AHCI
  when RAID mode was set in BIOS, so that PCI attribute "remapped_nvme" is
  gone.
  
  [Other Info]
  
  To upstream to debian sid is another WIP item.

** Description changed:

  [Impact]
  
  A new discover-remapped-nvme.sh supports to detect if Intel RAID/RST
- mode is activated as NVMe devices are remapped to PCI bus. Based on
- this, ubiquity installer can take advantage of detection and handle such
- a case with improved user experience.
+ mode is activated as NVMe devices are remapped to AHCI memory space.
+ Based on this, ubiquity installer can take advantage of detection and
+ handle such a case with improved user experience.
  
  [Test Case]
  
  There are several ways to test this case, but one of them will be
  integration test:
  
  In ubiquity, hw-detect will be sourced, and then import disk-detect.sh to call remapped_nvme_probe(). Then use the following command to get debconf value:
  $ echo "get disk-detect/activate_remapped_nvme" | sudo debconf-communicate
  0 True
  
  [Regression Potential]
  
  Some case will be different, especially the system doesn't have AHCI
  when RAID mode was set in BIOS, so that PCI attribute "remapped_nvme" is
  gone.
  
  [Other Info]
  
  To upstream to debian sid is another WIP item.

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

Title:
  Add Intel RAID/RST detection with NVMe devices

Status in hw-detect package in Ubuntu:
  New

Bug description:
  [Impact]

  A new discover-remapped-nvme.sh supports to detect if Intel RAID/RST
  mode is activated as NVMe devices are remapped to AHCI memory space.
  Based on this, ubiquity installer can take advantage of detection and
  handle such a case with improved user experience.

  [Test Case]

  There are several ways to test this case, but one of them will be
  integration test:

  In ubiquity, hw-detect will be sourced, and then import disk-detect.sh to call remapped_nvme_probe(). Then use the following command to get debconf value:
  $ echo "get disk-detect/activate_remapped_nvme" | sudo debconf-communicate
  0 True

  [Regression Potential]

  Some case will be different, especially the system doesn't have AHCI
  when RAID mode was set in BIOS, so that PCI attribute "remapped_nvme"
  is gone.

  [Other Info]

  To upstream to debian sid is another WIP item.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hw-detect/+bug/1864965/+subscriptions



More information about the foundations-bugs mailing list