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: Age_M <Age_M@xxxxxx>
Subject: Re: [Xen-users] Time is off by an hour in my XEN vm
From: Frank Groeneveld <frankgroeneveld@xxxxxxxxx>
Date: Thu, 13 Mar 2008 14:27:00 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 13 Mar 2008 06:27:38 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=zTeH0MSeVtU5AU4FLGNXVdnROrKmASE+X8NvMu+CakE=; b=Ygl4LDiv/uEhO8bCDiy3euwX+zve5PQT7fvMjwb/IWckF38LDGtR12/2i0oX1UrMlBat+rqCJNfdAE9SpQJyouKucyfFcfRkY6jzIdZxnRNvb83ZTq0wnYTDMWIo4veEB5K/+TmOXd/LSKnEiHRwnYRjElzaTeH0BE0MCrQN/6Q=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=eHshkRxoVC53eIBu1l6ySBzOG7YxwSwOzs/3fHCVgUX7P5NCp3Rde0iD7dRRiqS93O3nuISEhdjsjzRdwcuoJedib1hPSztNzhpzZ2IsgDgYR0Z/ZzAVyCaNHBjBatVkEEmmjvoVy8LtpPjNCNkyycgzOJGWne1UAGjVkKDktwQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47D92A5D.9080507@xxxxxx>
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> <47D92A5D.9080507@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Yes, that will probably work, but it used to work without such tricks. I'm sure it's just a setting in my VM or something like that.

Frank

Op 13 mrt 2008, om 14:21 heeft Age_M het volgende geschreven:

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