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

Iain Lane iain at orangesquash.org.uk
Tue Apr 14 14:22:34 UTC 2020


** 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 AHCI memory space.
- Based on this, ubiquity installer can take advantage of detection and
- handle such a case with improved user experience.
+ If the system has "Intel RST" mode enabled, we can't see its disks
+ because there is no support in the Linux kernel for them.
+ 
+ We can detect this situation and tell the user, directing them to
+ documentation which tells them how to work around it.
  
  [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 ubi-partman executes
- discover-remapped-nvme.sh to call remapped_nvme_probe(). Then use db.get
- ('disk-detect/activate_remapped_nvme') to get boolean value.
- 
- To verify value can be issuing debconf command:
- $ echo "get disk-detect/activate_remapped_nvme" | sudo debconf-communicate
- 0 True
+ On a system (probably bare metal), turn on RST/Intel RAID mode and try
+ to install from Ubiquity (GTK frontend only). You should see a page
+ directing you to documentation (to be created).
  
  [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
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1864965

Title:
  [FFe] Add Intel RAID/RST detection with NVMe devices

Status in ubiquity package in Ubuntu:
  Triaged

Bug description:
  [Impact]

  If the system has "Intel RST" mode enabled, we can't see its disks
  because there is no support in the Linux kernel for them.

  We can detect this situation and tell the user, directing them to
  documentation which tells them how to work around it.

  [Test Case]

  On a system (probably bare metal), turn on RST/Intel RAID mode and try
  to install from Ubiquity (GTK frontend only). You should see a page
  directing you to documentation (to be created).

  [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.

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



More information about the Ubuntu-sponsors mailing list