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

[Xen-users] Inconsistent and non-monotonic values from 'date'

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Inconsistent and non-monotonic values from 'date'
From: jasonmp85 <jasonmp85@xxxxxxx>
Date: Tue, 11 Dec 2007 11:37:46 -0800 (PST)
Delivery-date: Tue, 11 Dec 2007 11:38:13 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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 running ubuntu as a domU on Xen 3.03... Within the dom0, date works as
expected (returns the date, no jumps, monotonic increasing).

On this particular domU, six consecutive calls to date would return the
following:

jpetersen@devel:~$ date
Tue Dec 11 12:16:46 CST 2007
jpetersen@devel:~$ date
Tue Dec 11 12:17:12 CST 2007
jpetersen@devel:~$ date
Tue Dec 11 12:16:48 CST 2007
jpetersen@devel:~$ date
Tue Dec 11 12:17:15 CST 2007
jpetersen@devel:~$ date
Tue Dec 11 12:16:51 CST 2007
jpetersen@devel:~$ date
Tue Dec 11 12:17:17 CST 2007

The calls were each made one second apart. (I'd script this using "sleep"
within a loop, but the behavior I'm demonstrating breaks sleep).

No clue why this is happening; the domU is not running NTP and independent
wallclock is turned off (the dom0 is running ntp for me).

This is breaking my build system, so any help would be appreciated. I've
tried running ntp in the domU (with an independent wall clock), but have the
same problem.
-- 
View this message in context: 
http://www.nabble.com/Inconsistent-and-non-monotonic-values-from-%27date%27-tp14280053p14280053.html
Sent from the Xen - User mailing list archive at Nabble.com.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users