[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.