Bug 470035
| Summary: | xm dmesg printk spam -- Domain attempted WRMSR 00000000000000e8 from 00000016:3d0e9470 to 00000000:00000000 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Jeff Layton <jlayton> | ||||
| Component: | kernel-xen | Assignee: | Chris Lalancette <clalance> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Martin Jenner <mjenner> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 5.3 | CC: | benl, clalance, gozen, jplans, steved, syeghiay, tao, xen-maint | ||||
| Target Milestone: | rc | Keywords: | ZStream | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2009-09-02 08:04:16 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: | 488928 | ||||||
| Attachments: |
|
||||||
|
Description
Jeff Layton
2008-11-05 12:31:54 UTC
Jeff,
Hm, is this all of the time, or just on bootup of a dom0 or of a PV guest? It's common for a guest (including dom0) to do this sort of poking around at boot time, but it shouldn't happen after that. If it's happening more often than that, though, something else might be going on.
Chris Lalancette
I see it pop up pretty regularly. My guests have been active for quite a while now and I still see the message pop occasionally (at least a few times every minute). I don't see these messages on a 5.2 system. Again, I'm not sure if this is even a problem (it's not an artefact from increased debugging in beta kernels, is it?), but I don't see this happening before 5.3. Internal Status set to 'Waiting on SEG' This event sent from IssueTracker by streeter issue 237281 Seems that something is different, we are looking into it... This bugzilla has Keywords: Regression. Since no regressions are allowed between releases, it is also being proposed as a blocker for this release. Please resolve ASAP. *** Bug 477647 has been marked as a duplicate of this bug. *** OK. I'm pretty sure I know what this is now, thanks to jlayton allowing me to poke around on his box. For 5.3, we updated the acpi-cpufreq kernel module to user two new Intel MSR's, namely MSR_IA32_APERF and MSR_IA32_MPERF. The problem is, the hypervisor doesn't know anything about these MSR's. So the dom0 is trying to measure the frequency by doing: rdmsr(MSR_IA32_APERF) rdmsr(MSR_IA32_MPERF) And then trying to reset the state of those two MSR's with: wrmsr(MSR_IA32_APERF, 0) wrmsr(MSR_IA32_MPERF, 0) It's the latter which are probably spewing all of the messages. This is probably pretty easily fixed by allowing the dom0 to actually do those wrmsr's, which should be a fairly simple patch to teach the hypervisor about them. I'll try to come up with something. Chris Lalancette Created attachment 329207 [details]
Allow dom0 to write to the APERF/MPERF MSR
OK, I tested out the following patch on jlayton's failing box, and it did indeed quiet down the messages. I'll try to float this patch upstream and see what kind of response I get.
Chris Lalancette
FYI; this was committed in upstream Xen as xen-unstable c/s 19055. Chris Lalancette I've uploaded a test kernel that contains this fix (along with several others) to this location: http://people.redhat.com/clalance/virttest Could the original reporter try out the test kernels there, and report back if it fixes the problem? Thanks, Chris Lalancette Booted to the new kernel and no longer see these messages. Looks like the patch works! 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 therefore 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. http://rhn.redhat.com/errata/RHSA-2009-1243.html |