Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2009 04:20:39 +0100
From:      Mister Olli <mister.olli@googlemail.com>
To:        Julian Stecklina <js@alien8.de>
Cc:        freebsd-xen@freebsd.org
Subject:   Re: Time goes backwards
Message-ID:  <1233285639.24925.12.camel@phoenix.blechhirn.net>
In-Reply-To: <877i4d1p46.fsf@tabernacle.localnet>
References:  <877i4d1p46.fsf@tabernacle.localnet>

next in thread | previous in thread | raw e-mail | index | archive | help
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,




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1233285639.24925.12.camel>