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] dom0 clock skew

To: Alexander Wilms <alex.wilms@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] dom0 clock skew
From: "Ulrich Windl" <ulrich.windl@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 08 Jan 2007 15:25:01 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 08 Jan 2007 06:25:26 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200612290009.47173.alex.wilms@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/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>
Organization: Universitaet Regensburg, Klinikum
Priority: normal
References: <a7cb67200603160809h2db8c59fq3d9014f5c6e40f7f@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 29 Dec 2006 at 0:09, Alexander Wilms wrote:

> Hello all,
> 

As I'm unsure what hwclock is actually doing, try to replace "hwclock" with 
"cat 
/proc/driver/rtc | head -2 | awk '{ print $3 }' | tr '\012' ' '". Maybe also 
replace "date" with "date +'%D %T.%N'".

On my Dom0 I see this:
# cat /proc/driver/rtc | head -2 |awk '{ print $3 }' | tr '\012' ' '; date +'%D 
%T.%N'
14:22:15 2007-01-08 01/08/07 15:23:04.345571000

It seems the system time is OK, but the RTC isn't updated. I run NTP and 
independent clocks. (RTC is UTC, local timezone is 1h ahead of UTC)

Ulrich


> I have a huge time skew in my dom0, even while running ntpd, see:
> 
> xen0:/srv/xen # date; hwclock; sleep 60; date; hwclock
> Fr 29. Dez 00:01:04 CET 2006
> Do 28 Dez 2006 23:59:37 CET  -0.421291 Sekunden
> Fr 29. Dez 00:02:05 CET 2006
> Fr 29 Dez 2006 00:00:45 CET  -0.888387 Sekunden
> 
> Any Idea what I can do against it?
> 
> Thanks,
> Alex
> 
> _______________________________________________
> 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

<Prev in Thread] Current Thread [Next in Thread>