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 2070727 - python-dmidecode does not print all information for type 9
Summary: python-dmidecode does not print all information for type 9
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: python-dmidecode
Version: 8.5
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Lichen Liu
QA Contact: Jiri Dluhos
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-31 18:55 UTC by Paulo Andrade
Modified: 2023-05-16 11:23 UTC (History)
6 users (show)

Fixed In Version: python-dmidecode-3.12.3-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-16 09:12:56 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-117571 0 None None None 2022-03-31 19:00:52 UTC
Red Hat Product Errata RHBA-2023:3064 0 None None None 2023-05-16 09:12:59 UTC

Description Paulo Andrade 2022-03-31 18:55:36 UTC
In dmidecode/dmidecode.c we see:

		case 9: /* 7.10 System Slots */
...
			dmi_slot_segment_bus_func(WORD(data + 0x0D), data[0x0F], data[0x10]);
			if (h->length < 0x13) break;
			pr_attr("Data Bus Width", "%u", data[0x11]);
			pr_attr("Peer Devices", "%u", data[0x12]);
			if (h->length - 0x13 >= data[0x12] * 5)
				dmi_slot_peers(data[0x12], data + 0x13);
			break;

while in python3-dmidecode/dmidecode.c the chunk above is
missing. The function dmi_slot_segment_bus_func is available,
but only for type 41.

  It appears the chunk that prints 'Bus Address' information
is missing by mistake, or was based on an older version of
dmidecode that missed that information.

Comment 21 Jiri Dluhos 2023-02-17 02:07:27 UTC
I successfully reproduced the test with the officially built package, everything looks all right.
Thanks for your patience.

Comment 31 errata-xmlrpc 2023-05-16 09:12:56 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 (python-dmidecode 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-2023:3064


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