[Bug 1826737] Re: lshw does not list NVMe storage devices as "disk" nodes

Eric Desrochers 1826737 at bugs.launchpad.net
Thu Jan 14 16:07:31 UTC 2021


[sts-sponsors][groovy][focal][bionic]

Sponsored.

Thanks for your contribution Victor.

-- 
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/1826737

Title:
  lshw does not list NVMe storage devices as "disk" nodes

Status in lshw package in Ubuntu:
  Fix Released
Status in lshw source package in Bionic:
  In Progress
Status in lshw source package in Focal:
  In Progress
Status in lshw source package in Groovy:
  In Progress
Status in lshw source package in Hirsute:
  Fix Released
Status in lshw package in Debian:
  Unknown

Bug description:
  [Impact]

   * NVMe devices are not recognized by lshw in Ubuntu

  [Test Case]

   * Running "lshw -C disk" or "lshw -C storage" does not show NVMe devices.
     Example: https://pastebin.ubuntu.com/p/FfKGNc7W6M/

  [Where problems could occur]

   * This upload consists of four cherry-picked patches and the feature
  is self-contained, so the regression potential is quite low. If
  there's anything to happen, it would be in the network device scan,
  where the structure was altered by the main NVMe patch.

  * For those who does HW monitoring/inventory listing based on 'lshw'
  might observe changes in their inventory listing, it shouldn't be a
  'problem' but I want to point this out.

  [Other information]

  # Redhat bug:
  https://bugzilla.redhat.com/show_bug.cgi?id=1695343

  * It also seems to fit in the 'other safe cases':

  https://wiki.ubuntu.com/StableReleaseUpdates#Other_safe_cases
  For Long Term Support releases we regularly want to enable new hardware. Such changes are appropriate provided that we can ensure not to affect upgrades on existing hardware. 

  [Original description]

  Ubuntu MATE 19.04, updated 2019-04-28

      sudo lshw -class disk

  Expected : info on SSD
  Actual result : info on USB drive only.

  Note this is already reported to RedHat

  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: lshw 02.18-0.1ubuntu7
  ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6
  Uname: Linux 5.0.0-13-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.10-0ubuntu27
  Architecture: amd64
  CurrentDesktop: MATE
  Date: Sun Apr 28 07:11:45 2019
  InstallationDate: Installed on 2019-04-25 (3 days ago)
  InstallationMedia: Ubuntu-MATE 19.04 "Disco Dingo" - Release amd64 (20190416)
  SourcePackage: lshw
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the Ubuntu-sponsors mailing list