Bug 1695339
| Summary: | lshw does not list NVMe storage devices as "disk" nodes | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Bryan Gurney <bgurney> | |
| Component: | lshw | Assignee: | lijiang | |
| Status: | CLOSED ERRATA | QA Contact: | Jeff Bastian <jbastian> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 7.6 | CC: | amulhern, bubrown, jbastian, lijiang, ruyang | |
| Target Milestone: | rc | |||
| Target Release: | 7.7 | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1695343 (view as bug list) | Environment: | ||
| Last Closed: | 2020-03-31 19:59:34 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1711208 | |||
Here is a build packages, please refer to the following link: http://brew-task-repos.usersys.redhat.com/repos/official/lshw/B.02.18/14.el7/ Thanks. This is partially fixed for RHEL-7.8: NVMe drives now have an nvme node in lshw output as shown below. The node is still missing the disk size, though. More work is needed upstream to fix this. We're tracking this in bug 1763316 for RHEL8; it can possibly be backported to RHEL7 when it's ready. I'll move this bug to VERIFIED and we'll continue the work in bug 1763316. [root@dell-per820-02 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.8 Beta (Maipo) [root@dell-per820-02 ~]# uname -r 3.10.0-1121.el7.x86_64 [root@dell-per820-02 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 272.3G 0 disk ├─sda1 8:1 0 1G 0 part /boot └─sda2 8:2 0 271.3G 0 part ├─rhel_dell--per820--02-root 253:0 0 50G 0 lvm / └─rhel_dell--per820--02-home 253:2 0 562.4G 0 lvm /home sr0 11:0 1 1024M 0 rom nvme0n1 259:0 0 372.6G 0 disk └─nvme0n1p1 259:1 0 372.6G 0 part ├─rhel_dell--per820--02-swap 253:1 0 31.4G 0 lvm [SWAP] └─rhel_dell--per820--02-home 253:2 0 562.4G 0 lvm /home [root@dell-per820-02 ~]# rpm -q lshw lshw-B.02.18-14.el7.x86_64 [root@dell-per820-02 ~]# lshw dell-per820-02.khw.lab.eng.bos.redhat.com description: Rack Mount Chassis product: PowerEdge R820 (SKU=NotProvided;ModelName=PowerEdge R820) vendor: Dell Inc. ... ... *-pci:2 description: PCI bridge product: PEX 8632 32-lane, 12-Port PCI Express Gen 2 (5.0 GT/s) Switch vendor: PLX Technology, Inc. physical id: 6 bus info: pci@0000:45:06.0 version: bb width: 32 bits clock: 33MHz capabilities: pci pm msi pciexpress normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:45 memory:d1700000-d17fffff *-nvme description: Non-Volatile memory controller product: NVMe SSD Controller 171X vendor: Samsung Electronics Co Ltd physical id: 0 bus info: pci@0000:48:00.0 version: 03 width: 64 bits clock: 33MHz capabilities: nvme pm msi msix pciexpress nvm_express bus_master cap_list configuration: driver=nvme latency=0 resources: irq:35 memory:d17fc000-d17fffff *-pci:3 description: PCI bridge ... ... Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:1095 |
Description of problem: lshw currently does not list NVMe solid state drives as "disk" nodes. Currently, for each NVMe device, lshw shows the "storage" node, which details the capabilities of the NVMe "controller", but it does not show a "disk" node, which details the size of the device. This means that users of lshw (including beaker) will not be able to determine the device's size. Version-Release number of selected component (if applicable): lshw-B.02.18-12.el7.x86_64 How reproducible: always Steps to Reproduce: 1. Install RHEL 7.6 on a system with at least one NVMe solid state drive. Actual results: lshw lists each NVMe device as a "storage" node under "pci", but there is no corresponding "disk" node. Expected results: lshw lists each NVMe device as a "storage" node under "pci", and each NVMe device has a corresponding "disk" node. Additional info: Here's a quick example of the current results: Serial ATA storage device with "disk" node, for a Samsung 850 Pro SSD (size: 256 GB): *-sata:0 description: SATA controller product: C620 Series Chipset Family SSATA Controller [AHCI mode] vendor: Intel Corporation physical id: 11.5 bus info: pci@0000:00:11.5 logical name: scsi0 version: 09 width: 32 bits clock: 66MHz capabilities: sata msi pm ahci_1.0 bus_master cap_list emulated configuration: driver=ahci latency=0 resources: irq:39 memory:9d206000-9d207fff memory:9d209000-9d2090ff ioport:3070(size=8) ioport:3060(size=4) ioport:3020(size=32) memory:9d180000-9d 1fffff *-disk description: ATA Disk product: Samsung SSD 850 physical id: 0.0.0 bus info: scsi@0:0.0.0 logical name: /dev/sda version: 4B6Q serial: XXXXXXXXXXXXXXX size: 238GiB (256GB) capabilities: partitioned partitioned:dos configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=00006543 NVMe solid state drive without a "disk" node, for an Intel Optane 900P (size: 280 GB): *-pci:4 description: PCI bridge product: Sky Lake-E PCI Express Root Port A vendor: Intel Corporation physical id: 104 bus info: pci@0000:5d:00.0 version: 04 width: 32 bits clock: 33MHz capabilities: pci msi pciexpress pm normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:32 memory:c5e00000-c5efffff *-storage description: Non-Volatile memory controller product: Optane SSD 900P Series vendor: Intel Corporation physical id: 0 bus info: pci@0000:5e:00.0 version: 00 width: 64 bits clock: 33MHz capabilities: storage pm msix pciexpress nvm_express bus_master cap_list rom configuration: driver=nvme latency=0 resources: irq:40 memory:c5e10000-c5e13fff memory:c5e00000-c5e0ffff