Bug 593317
Summary: | seabios: SMBIOS data is different from that shown in RHEL5, even with -M rhel5.4.0 | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Daniel Berrangé <berrange> | ||||||||||||
Component: | seabios | Assignee: | Eduardo Habkost <ehabkost> | ||||||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||||||||
Severity: | medium | Docs Contact: | |||||||||||||
Priority: | urgent | ||||||||||||||
Version: | 6.0 | CC: | apevec, cperry, ehabkost, gyue, jhutar, jkastner, john.cooper, jpazdziora, mjenner, msuchy, mzazrivec, riek, syeghiay, virt-maint | ||||||||||||
Target Milestone: | beta | ||||||||||||||
Target Release: | --- | ||||||||||||||
Hardware: | All | ||||||||||||||
OS: | Linux | ||||||||||||||
Whiteboard: | |||||||||||||||
Fixed In Version: | seabios-0.5.1-0.10.20100108git669c991.1.el6 | Doc Type: | Bug Fix | ||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||
Clone Of: | |||||||||||||||
: | 605704 612851 (view as bug list) | Environment: | |||||||||||||
Last Closed: | 2010-08-02 20:52:04 UTC | Type: | --- | ||||||||||||
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: | 582655, 605522, 605704, 612851 | ||||||||||||||
Attachments: |
|
Description
Daniel Berrangé
2010-05-18 14:03:03 UTC
Created attachment 414862 [details]
SMBIOS dump from RHEL5 host
Created attachment 414863 [details]
SMBIOS dump from RHEL6 host
Ok so doing a bit more research on this, it looks like at least half the differences are because libvirt doesn't specify the correct options on the command line. It is likely that these strings may change again in the future, so relying builtin default values just isn't going to cut it. For example after I brought up the issue on the SeaBIOS list, it was suggested to change some of the strings that currently say Bochs to say SeaBIOS. Adding the following to the QEMU command line eliminates most of the differences: -smbios type=1,manufacturer="Red Hat" -smbios type=1,product="KVM" -smbios type=1,family="Red Hat Enterprise Linux" -smbios type=0,vendor=QEMU -smbios type=0,version=QEMU Hi, I brought this up on the QEMU+SeaBIOS lists and the general consensus in the community is not to touch the current state of SMBIOS in SeaBIOS unless we have specific cases where we can document something broke because of this. The bulk of the SMBIOS strings can be mangled per my previous post, so it's up to libvirt to add those arguments to QEMU. Beyond that, I recommend we close this as WONTFIX, unless there are strong objections. Jes The thing with the values we've seen have changed between rhel-5 and rhel-6 is that Red Hat Network (hosted) as well as Red Hat Network Satellite relies on these values when determining whether or not a particular system registering with RHN / Satellite is a virtual guest (entitlement consumption thing). With these values changed, KVM virtual guests will now be recognized and registered as physical machines. See bug #605522 Milan, Relying on a virtual BIOS that can be replaced with a simple copy, or most of it by just adding extra arguments to the qemu command line isn't a good way to do this. Plus it means patching the SeaBIOS code, diverting it from upstream for this. The consensus from the discussion I opened with the community about this is that those SMBIOS strings are likely to change again, and relying on such changes is going to turn it into an endless patch chase. If you want to validate RHN access, have the guest RHN talk to a license server on the host to verify that access is granted instead. Cheers, Jes *** Bug 605522 has been marked as a duplicate of this bug. *** Created attachment 425895 [details]
RHEL-5.5 guest, dmidecode output
RHEL-6 host, w/ seabios-0.5.1-0.14.20100108git669c991.el6.x86_64
RHEL6 is a different system, with a different BIOS. RHN should check for the RH-specific fields (e.g. System Information vendor/product) instead of bios.vendor. Created attachment 425936 [details]
dmidecode on rhel5, rhel6 guests after seabios upgrade
Created attachment 434072 [details]
dmidecode output
# rpm -q seabios seabios-0.5.1-2.el6.x86_64 |