From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Mark Adams <mark@campbell-lange.net>
Cc: Dan Magenheimer <dan.magenheimer@oracle.com>,
xen-devel@lists.xensource.com
Subject: Re: Clock jumped 50 minutes in dom0 caused incorrect 2008 R2 domU time
Date: Tue, 26 Oct 2010 10:03:07 -0700 [thread overview]
Message-ID: <4CC709CB.7090203@goop.org> (raw)
In-Reply-To: <20101026092254.GA2066@campbell-lange.net>
On 10/26/2010 02:22 AM, Mark Adams wrote:
> On Thu, Oct 07, 2010 at 07:04:18AM -0700, Dan Magenheimer wrote:
>> Hi Jeremy and Mark --
>>
>> Oddly, I saw that "clocksource tsc unstable" message myself
>> on a busy 2.6.36-rc5 PV domain yesterday. While it is possible
>> that this reflects a hardware problem, the fact that you
>> saw it on a Nehalem+ Intel processor makes it very unlikely.
>> The "s" and "t" debug keys (the output of which can be seen via
>> "xm debug-key s; xm dmesg | tail" in dom0) can help diagnose
>> the problem if it is indeed a hardware problem or BIOS
>> problem or the result of a CPU hot-add... all unlikely.
>>
>> It IS possible that the code that emulates tsc is broken
>> somewhere, but I don't think tsc should be emulated by
>> default for dom0 on a Nehalem+ box... and even if it is,
>> it is directly based on Xen system time which, if it went
>> awry, would probably cause major problems.
>>
>> Looking through the Linux code that prints that message (in
>> kernel/time/clocksource.c) it appears that the message
>> appears if the tsc deviates from the "watchdog clocksource",
>> which in PV domains is "xen" (or more precisely pvclock
>> I think). So most likely, this is a symptom of a problem
>> with pvclock or the watchdog code in the pvops kernel, not
>> an indicator that the tsc is actually unstable.
>>
>> Dan
> Is there any more information I can provide to help with debugging this?
> We haven't had the problem since. It could just be a coincidence but it
> happened around the time that daylight savings occurred in the US (we
> are in the UK).
In Linux/Xen it shouldn't have any effect since the clocks are always
maintained in UTC, then timezone details are applied much later in
usermode. But Windows has a bad habit of setting the hardware RTC to
local time, and mucking about with it for DST changes - but that would
only be relevant if you booted Windows on your host machine (I don't
think there's any way for a Windows guest's time to leak into the
host/dom0's timebase).
Unfortunately these kinds of time problems can be notoriously hard to
pin down and diagnose.
J
next prev parent reply other threads:[~2010-10-26 17:03 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-06 11:16 Clock jumped 50 minutes in dom0 caused incorrect 2008 R2 domU time Mark Adams
2010-10-06 12:20 ` Clock jumped 50 minutes in dom0 caused incorrect 2008R2 " James Harper
2010-10-06 12:24 ` James Harper
2010-10-06 13:04 ` Mark Adams
2010-10-06 15:41 ` Clock jumped 50 minutes in dom0 caused incorrect 2008 R2 " Jeremy Fitzhardinge
2010-10-06 16:15 ` Mark Adams
2010-10-06 16:23 ` Jeremy Fitzhardinge
2010-10-07 14:04 ` Dan Magenheimer
2010-10-26 9:22 ` Mark Adams
2010-10-26 17:03 ` Jeremy Fitzhardinge [this message]
2010-10-26 21:54 ` Dan Magenheimer
2010-10-27 20:29 ` Dan Magenheimer
2011-01-04 17:00 ` Mark Adams
[not found] ` <AANLkTinDMfrR5u2k3kPJfJ9Z+op53v6ziEYnLEO03FkG@mail.gmail.com>
[not found] ` <20101008100907.GH30044@campbell-lange.net>
2010-10-09 2:15 ` wei song
2010-10-11 10:10 ` Mark Adams
2011-01-04 17:09 ` Ian Campbell
2011-01-04 17:22 ` Tim Deegan
2011-01-04 17:27 ` Ian Campbell
2011-01-04 17:28 ` Gianni Tedesco
2011-01-05 12:03 ` Mark Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CC709CB.7090203@goop.org \
--to=jeremy@goop.org \
--cc=dan.magenheimer@oracle.com \
--cc=mark@campbell-lange.net \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).