RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1699104 - lshw does not list MMC storage devices as "disk" nodes
Summary: lshw does not list MMC storage devices as "disk" nodes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: lshw
Version: 8.0
Hardware: All
OS: Linux
medium
low
Target Milestone: rc
: 8.1
Assignee: lijiang
QA Contact: Jeff Bastian
URL:
Whiteboard:
Depends On:
Blocks: 1674330
TreeView+ depends on / blocked
 
Reported: 2019-04-11 19:30 UTC by Jeff Bastian
Modified: 2020-11-04 01:59 UTC (History)
2 users (show)

Fixed In Version: lshw-B.02.19.2-2.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 01:57:49 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1695343 0 medium CLOSED lshw does not list NVMe storage devices as "disk" nodes 2023-04-29 10:49:04 UTC
Red Hat Product Errata RHBA-2020:4533 0 None None None 2020-11-04 01:58:06 UTC

Description Jeff Bastian 2019-04-11 19:30:35 UTC
Description of problem:
Some of the latest ARM servers (SmartNICs in particular like the Mellanox Bluefield) use MMC storage, but lshw does not report this as a disk.  As a result, tools like Beaker think the servers have no storage available.  Please report MMC storage as disks, too.

Version-Release number of selected component (if applicable):
lshw-B.02.18-16.el8

How reproducible:
always

Steps to Reproduce:
1. run lshw on a system with MMC for primary storage

Actual results:
no disks reported

Expected results:
/dev/mmcblk0 is reported as a disk

Additional info:
See also bug 1695343 for a similar problem with NVMe storage.

Comment 7 Jeff Bastian 2020-08-05 22:29:33 UTC
Verified with lshw-B.02.19.2-2.el8.

:::::::::::::::::::::::
:: Block device info ::
:::::::::::::::::::::::

[root@mellanox-bluefield-01 ~]# lsblk
NAME                                  MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
mmcblk0                               179:0    0 13.8G  0 disk 
├─mmcblk0p1                           179:1    0  600M  0 part /boot/efi
├─mmcblk0p2                           179:2    0    1G  0 part /boot
└─mmcblk0p3                           179:3    0 12.2G  0 part 
  ├─rhel_mellanox--bluefield--01-root 253:0    0 10.8G  0 lvm  /
  └─rhel_mellanox--bluefield--01-swap 253:1    0  1.4G  0 lvm  [SWAP]
mmcblk0boot0                          179:8    0   16M  1 disk 
mmcblk0boot1                          179:16   0   16M  1 disk 


::::::::::::
:: Before ::
::::::::::::

[root@mellanox-bluefield-01 ~]# rpm -q lshw
lshw-B.02.18-16.el8.aarch64

[root@mellanox-bluefield-01 ~]# lshw -class generic -class volume
  *-generic UNCLAIMED       
       description: DMA controller
       product: MT416842 BlueField SoC management interfac
       vendor: Mellanox Technologies
       physical id: 0.2
       bus info: pci@0000:03:00.2
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress vpd msix pm 8237 cap_list
       configuration: latency=0


:::::::::::
:: After ::
:::::::::::

[root@mellanox-bluefield-01 ~]# rpm -q lshw
lshw-B.02.19.2-2.el8.aarch64

[root@mellanox-bluefield-01 ~]# lshw -class generic -class volume
  *-generic UNCLAIMED       
       description: DMA controller
       product: MT416842 BlueField SoC management interfac
       vendor: Mellanox Technologies
       physical id: 0.2
       bus info: pci@0000:03:00.2
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress vpd msix pm 8237 cap_list
       configuration: latency=0
  *-device
       description: SD/MMC Device
       product: R1J56L
       vendor: Unknown (19)
       physical id: 1
       logical name: /dev/mmcblk0
       date: 05/2018
       serial: 2353507851
       size: 14763950080
       capabilities: mmc gpt-1.00 partitioned partitioned:gpt
       configuration: guid=81bca71c-289e-4350-b70c-3b065c088c45 logicalsectorsize=512 sectorsize=512
     *-volume:0 UNCLAIMED
          description: Windows FAT volume
          vendor: mkfs.fat
          physical id: 1
          version: FAT32
          serial: 3a9c-8c6c
          size: 598MiB
          capacity: 599MiB
          capabilities: boot fat initialized
          configuration: FATs=2 filesystem=fat name=EFI System Partition
     *-volume:1
          description: EFI partition
          physical id: 2
          logical name: /dev/mmcblk0p2
          logical name: /boot
          serial: 48869e2c-7527-4b09-9cd8-e1e921ff17a8
          capacity: 1023MiB
          configuration: mount.fstype=xfs mount.options=rw,seclabel,relatime,attr2,inode64,noquota state=mounted
     *-volume:2
          description: LVM Physical Volume
          vendor: Linux
          physical id: 3
          logical name: /dev/mmcblk0p3
          serial: 27hJ9P-hlOv-B1DB-J5I4-HVlQ-tZFB-dzp7xs
          size: 12GiB
          capabilities: multi lvm2

Comment 10 errata-xmlrpc 2020-11-04 01:57:49 UTC
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


Note You need to log in before you can comment on or make changes to this bug.