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 jumping back and forth

To: christian mock <cm@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] time jumping back and forth
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Wed, 22 Sep 2004 07:40:11 +0100
Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Wed, 22 Sep 2004 07:42:05 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Wed, 22 Sep 2004 06:43:18 +0200." <20040922044318.GA27029@xxxxxxxxxxxxxx>
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
> > Are you 100% sure you haven't got ntpdate running in your startup
> > scripts or crontab? It should be ignored, but its possible that
> > the port from 2.4 to 2.6 wasn't quite right.
> 
> Yup. There's nothing in the running processes that should try to mess
> with the clock; in the init scripts, the only thing that does try is
> hwclock, and that bails out because it tries to to I/O access and
> can't -- and even if it could, it's a one-time thing, and I'm seeing
> jumps long after it tries to run.
> 
> Now that I've written a few lines of perl to report time jumps, I
> don't see them. Heisenbug.

I've got a little program that does successive calls to
gettimeofday to look for such problems, and I haven't seen any
such issues in quite a while.

I presume syslogd uses gettimeofday to figure out what the time is?
It might be worth strace'ing it to see if you can catch things
going wrong.

Ian


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel