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

Victor Tapia 1826737 at bugs.launchpad.net
Tue Jan 12 15:17:57 UTC 2021


** Patch added: "lshw-focal.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/1826737/+attachment/5452324/+files/lshw-focal.debdiff

-- 
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:
  New
Status in lshw source package in Focal:
  New
Status in lshw source package in Groovy:
  New
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

  [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