DomU time resets

2009-02-11 Thread Björn JACKE
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örn
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org


Re: DomU time resets

2009-02-11 Thread Dan Johnson
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=1 didn't seem to do anything, so i
changed sys/i386/xen/clock.c

if (shadow_tv_version != HYPERVISOR_shared_info-wc_version) {
to
if ((shadow_tv_version != HYPERVISOR_shared_info-wc_version)
  (independent_wallclock!=1)) {

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.o...@googlemail.com wrote:
 Hi björn,

 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örn,

 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=1

 Best Kai

 - Björn JACKE b...@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örn
  ___
  freebsd-xen@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-xen
  To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org
 ___
 freebsd-xen@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-xen
 To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org

 ___
 freebsd-xen@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-xen
 To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org

___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org