From owner-freebsd-xen@FreeBSD.ORG Wed Feb 11 16:31:46 2009 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EFB21065780 for ; Wed, 11 Feb 2009 16:31:46 +0000 (UTC) (envelope-from boinger69@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by mx1.freebsd.org (Postfix) with ESMTP id B88468FC0A for ; Wed, 11 Feb 2009 16:31:45 +0000 (UTC) (envelope-from boinger69@gmail.com) Received: by yx-out-2324.google.com with SMTP id 31so157685yxl.13 for ; Wed, 11 Feb 2009 08:31:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=jCW66O123a5lW1NnWJYWet+lT3Le0I40pYu3Vvo7pMc=; b=MVjzx+eAE3aZDCYJl+qNnOkx+tgHEQIuQBdGbCVfGFBUGt7cION9qHx/dAwxqk01Ss rzugRrXL47h5VicjDjUl7wCPHQ6MiwcYVDmDiYCgftsklgRuU21larCRWsIk7lok5AoR fEqaSPZd3hEt+UHyk70K5bN4+joJHqNI76LN4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=OGpFEB3XajDnkYoJZ7GO3fXZm6jTwSIG0r2fljV04AYQhxr0ZiYqeQAHG8Wy1we0gs 0glcmbSw6Supd9JqS22n1511FObUy/dZShPpkgfIMfQdbPC2nPSn428y3KhNMDlKQPEP rqNE5VCg6LYaoEaIXGBYGv0/ZWimChbtLUKYU= MIME-Version: 1.0 Sender: boinger69@gmail.com Received: by 10.151.42.13 with SMTP id u13mr17958ybj.130.1234368202682; Wed, 11 Feb 2009 08:03:22 -0800 (PST) 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> Date: Wed, 11 Feb 2009 11:03:22 -0500 X-Google-Sender-Auth: 72aa8bb101f18008 Message-ID: From: Dan Johnson To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: DomU time resets X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 16:31:46 -0000 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 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" 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" >