Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
The `dmidecode -t 1` on x86_64 includes the machine type, but on arm it only says "1.0".
Version-Release number of selected component (if applicable):
qemu-kvm-2.9.0-21.el7a.aarch64
How reproducible:
Always
Steps to Reproduce:
1. run guest with "-machine virt"
2. in the guest run "dmidecode -t 1"
Actual results:
avocado.test: [stdout] # dmidecode 3.0
avocado.test: [stdout] Getting SMBIOS data from sysfs.
avocado.test: [stdout] SMBIOS 3.0.0 present.
avocado.test: [stdout]
avocado.test: [stdout] Handle 0x0100, DMI type 1, 27 bytes
avocado.test: [stdout] System Information
avocado.test: [stdout] Manufacturer: QEMU
avocado.test: [stdout] Product Name: KVM Virtual Machine
avocado.test: [stdout] Version: 1.0
avocado.test: [stdout] Serial Number: Not Specified
avocado.test: [stdout] UUID: Not Settable
avocado.test: [stdout] Wake-up Type: Power Switch
avocado.test: [stdout] SKU Number: Not Specified
avocado.test: [stdout] Family: Red Hat Enterprise Linux
Expected results:
avocado.test: [stdout] # dmidecode 3.0
avocado.test: [stdout] Getting SMBIOS data from sysfs.
avocado.test: [stdout] SMBIOS 3.0.0 present.
avocado.test: [stdout]
avocado.test: [stdout] Handle 0x0100, DMI type 1, 27 bytes
avocado.test: [stdout] System Information
avocado.test: [stdout] Manufacturer: QEMU
avocado.test: [stdout] Product Name: KVM Virtual Machine
avocado.test: [stdout] Version: RHEL 7.4.0 ARM Virtual Machine (default)
avocado.test: [stdout] Serial Number: Not Specified
avocado.test: [stdout] UUID: Not Settable
avocado.test: [stdout] Wake-up Type: Power Switch
avocado.test: [stdout] SKU Number: Not Specified
avocado.test: [stdout] Family: Red Hat Enterprise Linux
Additional info:
Basically for "-machine virt" using the same logic as on x86_64 it should output:
Version: RHEL 7.4.0 ARM Virtual Machine (default)
and with "-machine virt-rhel7.4.0"
Version: RHEL 7.4.0 ARM Virtual Machine (alias of virt-rhel7.4.0)
This is based on `smbios_table.machine_type` avocado-vt test results.
Wei sent a patch upstream that changes the useless "1.0" version string to mc->name, like upstream x86 machine types have. That will result in, e.g.
System Information
Manufacturer: QEMU
Product Name: KVM Virtual Machine
Version: virt-2.10
Serial Number: Not Specified
UUID: B901BA96-3A85-45EF-9724-03FBA645119D
Wake-up Type: Power Switch
SKU Number: Not Specified
Family: Not Specified
which is correct, so the expected results in comment 0 are not correct, regarding upstream. The expected results aren't correct regarding downstream either, though. Downstream we should have, e.g.
System Information
Manufacturer: Red Hat
Product Name: KVM
Version: RHEL 7.4.0 ARM Virtual Machine
Serial Number: Not Specified
UUID: 69198DFF-E2C5-47AB-8071-E657EEF4D779
Wake-up Type: Power Switch
SKU Number: Not Specified
Family: Red Hat Enterprise Linux
We still need a downstream patch to fix that. We can use this BZ for it.
Notice, IMO, that the (default) and (alias of ...) stuff should not be there. If it is there, then we should fix it (upstream and downstream) too.
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-2018:3443
Comment 11Red Hat Bugzilla
2023-09-14 04:06:37 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days
Description of problem: The `dmidecode -t 1` on x86_64 includes the machine type, but on arm it only says "1.0". Version-Release number of selected component (if applicable): qemu-kvm-2.9.0-21.el7a.aarch64 How reproducible: Always Steps to Reproduce: 1. run guest with "-machine virt" 2. in the guest run "dmidecode -t 1" Actual results: avocado.test: [stdout] # dmidecode 3.0 avocado.test: [stdout] Getting SMBIOS data from sysfs. avocado.test: [stdout] SMBIOS 3.0.0 present. avocado.test: [stdout] avocado.test: [stdout] Handle 0x0100, DMI type 1, 27 bytes avocado.test: [stdout] System Information avocado.test: [stdout] Manufacturer: QEMU avocado.test: [stdout] Product Name: KVM Virtual Machine avocado.test: [stdout] Version: 1.0 avocado.test: [stdout] Serial Number: Not Specified avocado.test: [stdout] UUID: Not Settable avocado.test: [stdout] Wake-up Type: Power Switch avocado.test: [stdout] SKU Number: Not Specified avocado.test: [stdout] Family: Red Hat Enterprise Linux Expected results: avocado.test: [stdout] # dmidecode 3.0 avocado.test: [stdout] Getting SMBIOS data from sysfs. avocado.test: [stdout] SMBIOS 3.0.0 present. avocado.test: [stdout] avocado.test: [stdout] Handle 0x0100, DMI type 1, 27 bytes avocado.test: [stdout] System Information avocado.test: [stdout] Manufacturer: QEMU avocado.test: [stdout] Product Name: KVM Virtual Machine avocado.test: [stdout] Version: RHEL 7.4.0 ARM Virtual Machine (default) avocado.test: [stdout] Serial Number: Not Specified avocado.test: [stdout] UUID: Not Settable avocado.test: [stdout] Wake-up Type: Power Switch avocado.test: [stdout] SKU Number: Not Specified avocado.test: [stdout] Family: Red Hat Enterprise Linux Additional info: Basically for "-machine virt" using the same logic as on x86_64 it should output: Version: RHEL 7.4.0 ARM Virtual Machine (default) and with "-machine virt-rhel7.4.0" Version: RHEL 7.4.0 ARM Virtual Machine (alias of virt-rhel7.4.0) This is based on `smbios_table.machine_type` avocado-vt test results.