[Bug 1826737] Re: lshw does not list NVMe storage devices as "disk" nodes
Eric Desrochers
1826737 at bugs.launchpad.net
Thu Jan 21 21:36:05 UTC 2021
root at gtest:~# lsb_release -cs
groovy
root at gtest:~# dpkg -l | grep -i lshw
ii lshw 02.18.85-0.3ubuntu2.20.10.1 amd64 information about hardware configuration
root at gtest:~# dpkg -L lshw
/.
/usr
/usr/bin
/usr/bin/lshw
/usr/share
/usr/share/doc
/usr/share/doc/lshw
/usr/share/doc/lshw/changelog.Debian.gz
/usr/share/doc/lshw/copyright
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/lshw.1.gz
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lshw in Ubuntu.
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:
Fix Committed
Status in lshw source package in Focal:
Fix Committed
Status in lshw source package in Groovy:
Fix Committed
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 foundations-bugs
mailing list