Bug 680350

Summary: WARNING: APIC timer calibration may be wrong [rhel-5.6.z]
Product: Red Hat Enterprise Linux 5 Reporter: RHEL Product and Program Management <pm-rhel>
Component: kernelAssignee: Jiri Pirko <jpirko>
Status: CLOSED ERRATA QA Contact: Igor Zhang <yugzhang>
Severity: medium Docs Contact:
Priority: high    
Version: 5.4CC: akataria, caiqian, dhoward, drjones, garrett, jsavanyo, jwilson, pm-eus, prarit, rkhan, sghosh, yugzhang
Target Milestone: rcKeywords: Regression, ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel-2.6.18-238.8.1.el5 Doc Type: Bug Fix
Doc Text:
Prior to this update, the following message was displayed when booting a Red Hat Enterprise Linux 5 system on a virtual guest: WARNING calibrate_APIC_clock: the APIC timer calibration may be wrong. This was due to the MAX_DIFFERENCE parameter value (in the APIC calibration loop) of 1000 cycles being too aggressive for virtual guests. APIC (Advanced Programmable Interrupt Controllers) and TSC (Time Stamp Counter) reads normally take longer than 1000 cycles when performed from inside a virtual guest, due to processors being scheduled away from and then back onto the guest. With this update, the MAX_DIFFERENCE parameter value has been increased to 10,000 for virtual guests.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-12 18:22:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 665197    
Bug Blocks:    
Attachments:
Description Flags
Warning generated when booting kernel-2.6.18-164.6.1.el5.i686 none

Description RHEL Product and Program Management 2011-02-25 08:18:12 UTC
This bug has been copied from bug #665197 and has been proposed
to be backported to 5.6 z-stream (EUS).

Comment 4 Jiri Pirko 2011-03-18 07:00:00 UTC
in kernel-2.6.18-238.8.1.el5

linux-2.6-misc-vmware-increase-apic_calibration_diff-to-10000.patch

Comment 7 Igor Zhang 2011-04-12 07:42:58 UTC
Created attachment 491418 [details]
Warning generated when booting kernel-2.6.18-164.6.1.el5.i686

Comment 8 errata-xmlrpc 2011-04-12 18:22:34 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 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-2011-0429.html

Comment 9 Martin Prpič 2011-04-14 10:16:48 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Prior to this update, the following message was displayed when booting a Red Hat Enterprise Linux 5 system on a virtual guest:

WARNING calibrate_APIC_clock: the APIC timer calibration may be wrong.

This was due to the MAX_DIFFERENCE parameter value (in the APIC calibration loop) of 1000 cycles being too aggressive for virtual guests. APIC (Advanced Programmable Interrupt Controllers) and TSC (Time Stamp Counter) reads normally take longer than 1000 cycles when performed from inside a virtual guest, due to processors being scheduled away from and then back onto the guest. With this update, the MAX_DIFFERENCE parameter value has been increased to 10,000 for virtual guests.