From: Mark Adams <mark@campbell-lange.net>
To: xen-devel@lists.xensource.com
Subject: Clock jumped 50 minutes in dom0 caused incorrect 2008 R2 domU time
Date: Wed, 6 Oct 2010 12:16:18 +0100 [thread overview]
Message-ID: <20101006111618.GA31233@campbell-lange.net> (raw)
Hi Xen-Devel's
Please see my note below regarding a serious issue where my clock jumped
in dom0. I'm sending this through to the devel list as I haven't managed
to glean any clear help from xen-users and the debian bug team are
unsure what could have caused this.
Can you confirm if the kernel or xen controls the clock in dom0? I also
understand that this could be an underlying hardware issue but I have
another system on exactly the same hardware which hasn't had this occur.
Any advice on how to investigate further or ensure better clock
stability across dom0 and domU would be appreciated.
Also is it correct behaviour for Xen to reboot an 2008 R2 HVM domU if
the time moves this much? My guess is that the domU crashed when the
time changed, and was thus rebooted automatically. Strangely the Windows
2003 server didn't get rebooted.
If you need any more info to help please let me know.
Thanks,
Mark
On Mon, Oct 04, 2010 at 01:00:51PM +0100, Mark Adams wrote:
> On Mon, Oct 04, 2010 at 11:01:10AM +0100, Mark Adams wrote:
> > Hi All,
> >
> > Im running Xen 4.0.1-rc6 Debian squeeze with pvops 2.6.32-21 kernel.
> > Today I noticed (when kerberos to the domain controllers stopped
> > working..) that the clock was 50 minutes out in dom0 -- This caused the
> > HVM windows domain controllers to have the wrong time.
> >
> > I'm not sure if this is a kernel issue or a xen issue, but the only
> > thing related is I can see the following in the kernel log:
> >
> > Oct 2 18:50:33 havhost1 kernel: [623480.977748] Clocksource tsc unstable (delta = -2999660303788 ns)
> >
> > But I also see in the dmesg log that xen is using it's own clock.
> >
> > [ 7.676563] Switching to clocksource xen
> >
> > I can't identify anything else in the logs to indicate when the time
> > might have changed. I have a few other dom0 at the same level that
> > haven't decided to change the time.
> >
> > Can anyone confirm whether xen controls the time or the kernel? Also
> > when I corrected the time in dom0 it was still wrong in HVM domU -- How
> > long does it take for this to propogate? (I rebooted the VM's to correct
> > it immediately).
> >
> > Any other pointers on how to ensure stability of clocks from dom0 to
> > domU HVM hosts (and pv for that matter..) would be appreciated.
>
> Some further info on this, It appears the HVM domU (windows server 2008)
> unexpectedly shut down at 18:51, after the unstable clocksource error.
> qemu-dm logs show a reset "reset requested in cpu_handle_ioreq." and
> xend.log shows a reboot
>
> [2010-10-02 18:51:03 1759] INFO (XendDomainInfo:2088) Domain has shutdown: name=ha-dc1 id=2 reason=reboot.
>
> This is like someone issuing "xm reboot domain" is it not? Is it
> possible that xen could have issued this reboot itself due to a crash? I
> can't see any crash logs.
>
> Cheers,
> Mark
next reply other threads:[~2010-10-06 11:16 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-06 11:16 Mark Adams [this message]
2010-10-06 12:20 ` Clock jumped 50 minutes in dom0 caused incorrect 2008R2 domU time 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
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=20101006111618.GA31233@campbell-lange.net \
--to=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).