[Bug 1826737] Re: lshw does not list NVMe storage devices as "disk" nodes
Victor Tapia
1826737 at bugs.launchpad.net
Fri Jan 22 09:49:50 UTC 2021
# VERIFICATION BIONIC
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.5 LTS"
$ apt-cache policy lshw
lshw:
Installed: 02.18-0.1ubuntu6.18.04.2
Candidate: 02.18-0.1ubuntu6.18.04.2
Version table:
*** 02.18-0.1ubuntu6.18.04.2 500
500 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 Packages
100 /var/lib/dpkg/status
02.18-0.1ubuntu6.18.04.1 500
500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
02.18-0.1ubuntu6 500
500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
$ sudo lshw -short -c storage,disk
H/W path Device Class Description
====================================================
/0/100/1.1 storage 82371SB PIIX3 IDE [Natoma/Triton II]
/0/100/5 storage Virtio block device
/0/100/5/0 /dev/vda disk 32GB Virtual I/O device
/0/100/7 storage QEMU NVM Express Controller
/0/100/7/0 /dev/nvme0 storage QEMU NVMe Ctrl
/0/100/7/0/1 /dev/nvme0n1 disk 10GB NVMe namespace
Long output: https://pastebin.ubuntu.com/p/bk2Q8JJxzS/
** Tags removed: verification-needed verification-needed-bionic verification-needed-focal verification-needed-groovy
** Tags added: verification-done verification-done-bionic verification-done-focal verification-done-groovy
--
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