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/
Home Products Support Community News


[Xen-users] Keeping time in dom0 and domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Keeping time in dom0 and domU
From: Timur Irmatov <irmatov@xxxxxxxxx>
Date: Tue, 22 Nov 2005 09:53:24 +0500
Delivery-date: Tue, 22 Nov 2005 04:53:24 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ZVQ5W9Fj/xlqqUAj9wLuyCkeC473jooE43NEHqAN4zx/0j8tNVOSxaxB/j9Rzb/AS1eFcEaKNWO0RQ1bIIZyDJvWOASp+cGfWV7tpp7udAwGZ3LG0BUYYJFyXTSOePh8dvNolEvKfm+FBTcLy/eRZGo3aqpjtVHiITewYA9Mt+0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

I'm trying to keep correct time on both machines, on dom0 and domU.. I
have installed OpenNTPd and made it to synchronize with local ntp
server. But, it works on dom0, but does not on domU..

After some googling, I found that domU have no own time, so it should
be always in sync with dom0 time (unless you change it through
/proc/sys/xen/independent_wallclock). So I just shut down ntp server
in domU and let ntp server in dom0 do it's work.

At the moment, clock in dom0 is about 8 minutes ahead of real time,
and I see in logs that ntp server is slowly correcting it (something
about half a minute per day).. But I don't see a clock in domU
changing.. There is a difference between what date says on these

It seems that clock in domU is not updated.. By the way,
independent_wallclock is set to 0, and I cannot set time through "date
-s" in domU..

Any suggestions?

P.S. I'm running xen-2.0.7-testing on 2.6.12 kernel.

Timur Irmatov, JID: thor@xxxxxxxxxxxxx

Xen-users mailing list

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