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] Xen guests clock is exactly 2 hours before dom0 time

To: Ralf Hornik Mailings <ralf@xxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Xen guests clock is exactly 2 hours before dom0 time
From: John Haxby <john.haxby@xxxxxxxxxx>
Date: Fri, 11 Jul 2008 13:40:46 +0100
Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 11 Jul 2008 05:41:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080710231626.194311w5ag2cvwve@xxxxxxxxxxxxxxxxxx>
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: <20080710231626.194311w5ag2cvwve@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080501)
Ralf Hornik Mailings wrote:
Dom0 uses ntp for time syncronisation. I set the time on my guests manually but after reboot any machine (Windows server, XP, Freebsd, even PV Machines like ubuntu) all run local time - 2 hours.

/proc/sys/xen/independent_wallclock is set to 0 so actually the time should be set by dom0...(?)

Any ideas, what this could be?

I would guess that you've got the system clock set to +0200 instead of UTC. Traditionally, unix has run with the system clock at UTC and all timestamps and so on are seconds since the 1st January 1970, 00:00:00 UTC. These days it's quite possible to set the system time (the real time clock) to something other than UTC and the system start-up looks after making sure the kernel's time is UTC.

Somewhere along the lines, I think this has broken down with your machine. It looks as though system time is actually +0200 in dom0. I'd start by looking closely at the output of date in dom0 -- is it CEST?

jch

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