WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Time diferrence between dom0 and domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Time diferrence between dom0 and domU
From: Matthieu Patou <mat@xxxxxxxxx>
Date: Tue, 17 Nov 2009 16:07:22 +0300
Delivery-date: Tue, 17 Nov 2009 05:08:04 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200911121011.24068.bartoszl@xxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4AF28B04.4090602@xxxxxxxxxxxx> <4AF9D51B.8030407@xxxxxxxxx> <200911121011.24068.bartoszl@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4
On 12/11/2009 12:11, Bartosz Lis wrote:
Dnia wtorek, 10 listopada 2009 o 22:03:23 Matthieu Patou napisał(a):
Hello Jordi,
I noticed the same problem and that's pretty nasty on HVM host running
windows as the system can't login on domain by defaut due to too big
time drift.

I worked around by adding ~ 6 minutes to the time of the domU at startup.


Matthieu,

It looks like your xen wallclock differs ~6 min from dom0 time. This
difference may change slightly but noticeably after some time, say, a month.
Better workaround would be synchronizing your windows to some NTP server. See
the discussion on xen-devel:

http://lists.xensource.com/archives/html/xen-devel/2009-11/msg00505.html

Hi Dnia,

Thanks for the tips, I forgot to mention that this windows hvm is part of a domain so I already get the ntp synchronisation as Windows AD rely on very accurate clocks (<5minutes drift). So in the long run my clocks are in sync but the very few minutes after the boot without the rtc_timeoffset=-(time.altzone) + 6 I've a too big drift and the some stuff do not work properly (ie. startup script for workstation/server).

Note: I use time.altzone, as localtime = 1 is not working anymore for me (since xen 3.2).

Matthieu.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users