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 is off by an hour in my XEN vm

To: Frank Groeneveld <frankgroeneveld@xxxxxxxxx>
Subject: Re: [Xen-users] Time is off by an hour in my XEN vm
From: Age_M <Age_M@xxxxxx>
Date: Thu, 13 Mar 2008 14:21:33 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 13 Mar 2008 06:22:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <AE21BA9F-28E2-4307-9F77-24FC54323301@xxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AE21BA9F-28E2-4307-9F77-24FC54323301@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.12 (X11/20080227)
Hello Frank,

in my HVM WinXP domU config file ( /etc/xen/winxp) I use:

rtc_timeoffset=3600

Maybe this does the trick for you too.

Greetz Holger

Frank Groeneveld wrote:
Hello,

I'm hiring a XEN virtual machine running Ubuntu at a hosting company. My XEN virtual machine is hosted on a server which has some other VM's running on it. They all use ubuntu or debian. After a crash sometime last week, the systemclock of my VM is off by an hour (it says 19:49, although it's 18:49 here now). The other VM's don't have this problem, and according to the admin of the server, the server clock is running correctly and my XEN config is correct also (it's not set to locatime or anything).

I checked everything. Timezone is correct (in /etc/timezone), the localtime symlink is correct (/etc/localtime). UTC=yes in /etc/defaults/rcS, although changing it to no doesn't make a difference.

The admin of the server fixed it temporally by running:
echo 1 > /proc/sys/xen/independent_wallclock
And setting the date/time manually. Every hour the time is now set through ntpdate.

Does anybody know what's wrong with the vm? How can I fix this?

Frank Groeneveld

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



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