Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2009 11:03:22 -0500
From:      Dan Johnson <dan_johnson@doomed.us>
To:        freebsd-xen@freebsd.org
Subject:   Re: DomU time resets
Message-ID:  <f29069d60902110803r6bad562bn19ce1ef8689c86fa@mail.gmail.com>
In-Reply-To: <1234361252.28262.20.camel@phoenix.blechhirn.net>
References:  <26077784.42351234350232426.JavaMail.root@zim.freshx.de> <1234361252.28262.20.camel@phoenix.blechhirn.net>

next in thread | previous in thread | raw e-mail | index | archive | help
I also had a problem with this, however on my setup for some reason it
would still revert the time to Jan 25th 2009 every minute or so,
presumably ntpd didn't know what to do with the time that far out of
whack.

sysctl xen.independent_wallclock=3D1 didn't seem to do anything, so i
changed sys/i386/xen/clock.c

        if (shadow_tv_version !=3D HYPERVISOR_shared_info->wc_version) {
to
        if ((shadow_tv_version !=3D HYPERVISOR_shared_info->wc_version)
&&  (independent_wallclock!=3D1)) {

Kludgy i'm sure, but it stopped the Jan25th thing. My time still skews
slowly, but ntpd should be able to adjust that without changing ntpds
tolerances.


On Wed, Feb 11, 2009 at 9:07 AM, Mister Olli <mister.olli@googlemail.com> w=
rote:
> Hi bj=F6rn,
>
> and don't forget configuring & activating 'ntpd' within the domU ;-))
>
> --
> Mr. Olli
>
>
> Am Mittwoch, den 11.02.2009, 12:03 +0100 schrieb Kai Mosebach:
>> Hi Bj=F6rn,
>>
>> This is a known problem (see other mails on the list)
>> The only workaround at the moment is setting this in the dom0:
>>
>> sysctl xen.independent_wallclock=3D1
>>
>> Best Kai
>>
>> ----- "Bj=F6rn JACKE" <bj@SerNet.DE> schrieb:
>>
>> > Hi,
>> >
>> > with CURRENT FreeBSD kernel I have the problem that time periodically
>> > jumps
>> > back to Sep 16 08:46. That happens every couple of minutes. I set up a
>> > cron job
>> > setting the correct time via ntpdate every minute but that is a
>> > problem when
>> > the time jump happens during ntpdate is just running - it hangs then.
>> > There is
>> > no cpu and no io load on the machine which might correlate with the
>> > time jumps.
>> > Any idea what might cause the problem? XEN is 3.2.0 with Linux Dom0.
>> >
>> > Bj=F6rn
>> > _______________________________________________
>> > freebsd-xen@freebsd.org mailing list
>> > http://lists.freebsd.org/mailman/listinfo/freebsd-xen
>> > To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org"
>> _______________________________________________
>> freebsd-xen@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-xen
>> To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org"
>
> _______________________________________________
> freebsd-xen@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-xen
> To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org"
>



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