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-devel

Re: [Xen-devel] Time in Xen

To: Nicolas Bougues <nbougues-listes@xxxxxxxxxxx>
Subject: Re: [Xen-devel] Time in Xen
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 17 Oct 2003 09:39:37 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 17 Oct 2003 09:43:14 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Fri, 17 Oct 2003 10:20:30 +0200." <20031017082030.GA19686@flan>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> I have a strange problem. One of my various xen test boxes doesn't
> accept to set its time. Basically, it's stuck to RTC time.
> 
> ntpdate, date, hwclock all "seem" to work, but they don't actually
> change the system time. The only way I have to change it right now is
> to change it in the BIOS, which is not a good thing.
> 
> Since I heavily "stripped down" the Debian version on this box, maybe
> I broke something somewhere.

Sadly, settimeofday is broken :-(
 
In domain 0 it ought to set a new time down in Xen, visible to all
domains. 

> While I'm trying to debug how settimeofday() syscall work, I'm
> wondering if there is some cross-domain time synchronization : are
> they always in perfect sync, or should I run some kind of ntp stuff in
> each subdomain ? Or only domain 0 would be enough ?

If settimeofday in domain 0 would update the RTC via Xen, then that
would be adequate. All other domains automatically remain synchronized
with the RTC.

This shouldn't be a hard fix -- Rolf may have done it already but not
checked it in!

 Cheers,
 Keir


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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