Bug 439254 - Xen hypervisor doesn't detect Penryn cpu_model correctly
Summary: Xen hypervisor doesn't detect Penryn cpu_model correctly
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel-xen   
(Show other bugs)
Version: 5.2
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Geoff Gustafson
QA Contact: Martin Jenner
Depends On: 253056
Blocks: 245607
TreeView+ depends on / blocked
Reported: 2008-03-27 18:34 UTC by Geoff Gustafson
Modified: 2008-05-21 15:12 UTC (History)
8 users (show)

Fixed In Version: RHBA-2008-0314
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-05-21 15:12:55 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
fix to generic_identify to use extended model (653 bytes, patch)
2008-03-27 19:11 UTC, Geoff Gustafson
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0314 normal SHIPPED_LIVE Updated kernel packages for Red Hat Enterprise Linux 5.2 2008-05-20 18:43:34 UTC

Description Geoff Gustafson 2008-03-27 18:34:11 UTC
n the course of getting bz 253056 resolved, I just discovered that Penryn-class
CPUs show up as cpu model 7 in the Xen Hypervisor under RHEL5.2, rather than 23
like they should.

There is a small patch that will fix this, which I will port immediately. One
effect of the bug is that these new chips are treated like a Pentium 3 instead
of a Core 2 chip, for some purposes, such as oprofile.

I'm not sure of all the repercussions of that yet, but it's A Bad Thing (TM).

Here's the upstream patch:

Comment 1 Geoff Gustafson 2008-03-27 19:11:34 UTC
Created attachment 299379 [details]
fix to generic_identify to use extended model

About to test this patch, fix to generic_identify() function to use the
extended model field to calculate the correct cpu_model. It was actually being
done correctly in early_cpu_detect() already.

Comment 2 Bill Burns 2008-03-28 17:32:42 UTC
Add dependency.

Comment 3 Bill Burns 2008-03-28 18:15:56 UTC
Setting flags. This bz is closely related to bz 235056 which addresses the same
issue on bare metal, but neglected the equivalent Xen kernel changes. This is
deemed very low risk and needs to be considered for RHEL 5.2.

Comment 6 Don Zickus 2008-04-02 16:10:13 UTC
in kernel-2.6.18-88.el5
You can download this test kernel from http://people.redhat.com/dzickus/el5

Comment 12 Mike Gahagan 2008-05-06 20:05:09 UTC
Confirmed fix is in the -92.el5 kernel.

Comment 14 errata-xmlrpc 2008-05-21 15:12:55 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


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