Bug 1695343
| Summary: | lshw does not list NVMe storage devices as "disk" nodes | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Bryan Gurney <bgurney> |
| Component: | lshw | Assignee: | lijiang |
| Status: | CLOSED ERRATA | QA Contact: | Jeff Bastian <jbastian> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.0 | CC: | jbastian, lijiang, ruyang |
| Target Milestone: | rc | Flags: | ruyang:
mirror+
|
| Target Release: | 8.2 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | lshw-B.02.19.2-2.el8 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1695339 | Environment: | |
| Last Closed: | 2020-11-04 01:57:49 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: | 1755139, 1771222, 1825061 | ||
|
Description
Bryan Gurney
2019-04-02 20:54:40 UTC
Info for RHEL 8 test system:
Version info:
lshw-B.02.18-16.el8.x86_64
Example NVMe storage device (Intel Optane 16 GB)
*-pci:2
description: PCI bridge
product: Xeon E5/Core i7 IIO PCI Express Root Port 2a
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:80:02.0
version: 07
width: 32 bits
clock: 33MHz
capabilities: pci msi pciexpress pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:36 memory:fbe00000-fbefffff
*-storage
description: Non-Volatile memory controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:83:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: storage pm msix pciexpress msi nvm_express bus_master cap_list
configuration: driver=nvme latency=0
resources: irq:35 memory:fbe10000-fbe13fff memory:fbe00000-fbe0ffff
Example Serial ATA device: Samsung 840 Pro (128 GB)
*-sata
description: SATA controller
product: C600/X79 series chipset 6-Port SATA AHCI Controller
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
logical name: scsi0
logical name: scsi1
logical name: scsi2
logical name: scsi3
logical name: scsi4
logical name: scsi5
version: 06
width: 32 bits
clock: 66MHz
capabilities: sata msi pm ahci_1.0 bus_master cap_list emulated
configuration: driver=ahci latency=0
resources: irq:50 ioport:9070(size=8) ioport:9060(size=4) ioport:9050(size=8) ioport:9040(size=4) ioport:9020(size=32) memory:dfc21000-dfc217ff
*-disk:0
description: ATA Disk
product: Samsung SSD 840
physical id: 0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: 4B0Q
serial: XXXXXXXXXXXXXXX
size: 119GiB (128GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=97aa9b44
Verified with lshw-B.02.19.2-2.el8.
:::::::::::::::::::
:: Block devices ::
:::::::::::::::::::
[root@dell-per7515-01 ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
nvme0n1 259:0 0 745.2G 0 disk
├─nvme0n1p1 259:1 0 600M 0 part /boot/efi
├─nvme0n1p2 259:2 0 1G 0 part /boot
└─nvme0n1p3 259:3 0 743.6G 0 part
├─rhel_dell--per7515--01-root 253:0 0 50G 0 lvm /
├─rhel_dell--per7515--01-swap 253:1 0 23.5G 0 lvm [SWAP]
└─rhel_dell--per7515--01-home 253:2 0 670.2G 0 lvm /home
::::::::::::
:: Before ::
::::::::::::
[root@dell-per7515-01 ~]# rpm -q lshw
lshw-B.02.18-23.el8.x86_64
[root@dell-per7515-01 ~]# lshw -class disk
[root@dell-per7515-01 ~]# lshw
...
...
*-pci:3
description: PCI bridge
product: PLX Technology, Inc.
vendor: PLX Technology, Inc.
physical id: 3
bus info: pci@0000:42:03.0
version: b0
width: 32 bits
clock: 33MHz
capabilities: pci pm msi pciexpress normal_decode bus_master
cap_list
configuration: driver=pcieport
resources: irq:45 memory:a6c00000-a6cfffff ioport:47ea0800000
(size=2097152)
*-nvme
description: Non-Volatile memory controller
product: NVMe SSD Controller 172Xa/172Xb
vendor: Samsung Electronics Co Ltd
physical id: 0
bus info: pci@0000:46:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: nvme pm msi pciexpress msix nvm_express bus_master cap_list
configuration: driver=nvme latency=0
resources: irq:44 memory:a6c00000-a6c03fff
*-pci:4
...
...
:::::::::::
:: After ::
:::::::::::
[root@dell-per7515-01 ~]# rpm -q lshw
lshw-B.02.19.2-2.el8.x86_64
[root@dell-per7515-01 ~]# lshw -class disk
*-namespace
description: NVMe disk
physical id: 1
bus info: nvme@0:1
logical name: /dev/nvme0n1
size: 745GiB (800GB)
capabilities: gpt-1.00 partitioned partitioned:gpt
configuration: guid=aac5eccc-26ef-4766-835e-5c5bc5b15c0e logicalsectorsize=512 sectorsize=512 wwid=eui.333959304ab002370025385800000002
[root@dell-per7515-01 ~]# lshw
...
...
*-pci:3
description: PCI bridge
product: PLX Technology, Inc.
vendor: PLX Technology, Inc.
physical id: 3
bus info: pci@0000:42:03.0
version: b0
width: 32 bits
clock: 33MHz
capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:45 memory:a6c00000-a6cfffff ioport:47ea0800000(size=2097152)
*-nvme
description: NVMe device
product: Dell Express Flash PM1725a 800GB SFF
vendor: Samsung Electronics Co Ltd
physical id: 0
bus info: pci@0000:46:00.0
logical name: /dev/nvme0
version: 1.0.4
serial: S39YNX0JB00237
width: 64 bits
clock: 33MHz
capabilities: nvme pm msi pciexpress msix nvm_express bus_master cap_list
configuration: driver=nvme latency=0 nqn=nqn.2014.08.org.nvmexpress:144d1028 S39YNX0JB00237Dell Express Flash PM1725a 800GB SFF state=live
resources: irq:44 memory:a6c00000-a6c03fff
*-namespace
description: NVMe disk
physical id: 1
bus info: nvme@0:1
logical name: /dev/nvme0n1
size: 745GiB (800GB)
capabilities: gpt-1.00 partitioned partitioned:gpt
configuration: guid=aac5eccc-26ef-4766-835e-5c5bc5b15c0e logicalsectorsize=512 sectorsize=512 wwid=eui.333959304ab002370025385800000002
*-volume:0 UNCLAIMED
description: Windows FAT volume
vendor: mkfs.fat
physical id: 1
bus info: nvme@0:1,1
version: FAT32
serial: 5a6b-e16d
size: 598MiB
capacity: 599MiB
capabilities: boot fat initialized
configuration: FATs=2 filesystem=fat name=EFI System Partition
*-volume:1 UNCLAIMED
description: EFI partition
physical id: 2
bus info: nvme@0:1,2
serial: 9f9d5ef1-129f-4953-9d54-5ecbf5326bdb
capacity: 1023MiB
*-volume:2
description: LVM Physical Volume
vendor: Linux
physical id: 3
bus info: nvme@0:1,3
logical name: /dev/nvme0n1p3
serial: 1tIcKi-qTf8-0V5H-TSwl-4ANd-zcjY-A3zH3J
size: 743GiB
capabilities: multi lvm2
*-pci:4
...
...
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 (lshw bug fix and enhancement update), 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:4533 |