Time goes backwards

Mister Olli mister.olli at googlemail.com
Thu Jan 29 19:21:16 PST 2009


Hi,

I've had time problems too. The clock did not go backwards, but forwards
for some time sime, and then jumped back to a certain date. Like
Sun Jan 25 00:55:12 UTC 2009
...
Sun Jan 25 01:08:35 UTC 2009
Sun Jan 25 00:55:12 UTC 2009
Sun Jan 25 00:55:13 UTC 2009
...

It took me quite some time to find a solution that helped for me:
- activate the independent_wallclock in domO by 'sysctl xen.independent_wallclock=1'
- edit and configure '/etc/ntpd.conf' in domU
- edit '/etc/rc.conf' and add the following lines
	# NTP stuff
	ntpdate_enable="YES"
	ntpdate_flags="-b <YOUR_NTP_SERVER>"
	ntpd_enable="YES"
- reboot domU

If you try it on your problem, could you please give me some feedback if
it worked?

--
Mr. Olli



Am Freitag, den 30.01.2009, 03:53 +0100 schrieb Julian Stecklina:
> Hello,
> 
> on my FreeBSD 8-CURRENT Xen DomU printing `date' each second gives me
> this:
> 
> Sun Jan 25 00:55:12 UTC 2009
> Sun Jan 25 00:55:13 UTC 2009
> Sun Jan 25 00:55:14 UTC 2009
> Sun Jan 25 00:49:50 UTC 2009
> Sun Jan 25 00:49:51 UTC 2009
> Sun Jan 25 00:49:52 UTC 2009
> Sun Jan 25 00:49:53 UTC 2009
> Sun Jan 25 00:49:55 UTC 2009
> Sun Jan 25 00:49:56 UTC 2009
> Sun Jan 25 00:49:57 UTC 2009
> Sun Jan 25 00:49:58 UTC 2009
> Sun Jan 25 00:49:59 UTC 2009
> Sun Jan 25 00:50:00 UTC 2009
> Sun Jan 25 00:50:01 UTC 2009
> Sun Jan 25 00:50:02 UTC 2009
> ... 8 mins pass ...
> Sun Jan 25 00:58:25 UTC 2009
> Sun Jan 25 00:58:26 UTC 2009
> Sun Jan 25 00:58:27 UTC 2009
> Sun Jan 25 00:49:49 UTC 2009
> Sun Jan 25 00:49:50 UTC 2009
> 
> It should increase every second, shouldn't it? ;)
> 
> MfG,



More information about the freebsd-xen mailing list