From owner-freebsd-xen@FreeBSD.ORG Thu Feb 5 20:03:04 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 812D01065670 for ; Thu, 5 Feb 2009 20:03:04 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.236]) by mx1.freebsd.org (Postfix) with ESMTP id 518048FC1B for ; Thu, 5 Feb 2009 20:03:04 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so422622rvf.43 for ; Thu, 05 Feb 2009 12:03:03 -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:cc :content-type:content-transfer-encoding; bh=7i4RKxcRUMpQLE3p6W91Awqo/12P48CkCnf/TPL58XY=; b=uOsqNyM71SceguFB+2pEhv7RVbcyOxAG8KEmsX9SFkSt6+HaE5yOO4LNszhKqrWj87 g85EkXSdTAl2WXQ05S/bELQDuRxq/Wjs88susA+J+c3Z5dM6/7ZSpI8CNLj6bBIxj80p WMdW1GI2u8XYygkDOexQPg6wB+cxFVnXniu/M= 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:cc:content-type :content-transfer-encoding; b=vbSY8HxgxpgPWE5xNxZCO6FrnGDMkbJJsLmZqH0/QvzyRrmbvpWk8k/+W9AWtFANyu Eppsb04RNefN96gJNZu6Ddy9Yxn6v82IoyLCo2Cexi57F2CCvBXTkY+SMiSDgDoV8pbC 0KBqUIOTthJd2mKvHOhtI3DwFJ1crqsyadrrM= MIME-Version: 1.0 Sender: mat.macy@gmail.com Received: by 10.141.51.10 with SMTP id d10mr622765rvk.195.1233864183716; Thu, 05 Feb 2009 12:03:03 -0800 (PST) In-Reply-To: <1233863896.22204.46.camel@phoenix.blechhirn.net> References: <877i4d1p46.fsf@tabernacle.localnet> <1233285639.24925.12.camel@phoenix.blechhirn.net> <87ljsokbdn.fsf@tabernacle.localnet> <3c1674c90902042004x299bee3ay7a231a27252e7e55@mail.gmail.com> <8763joeuzz.fsf@tabernacle.localnet> <1233863896.22204.46.camel@phoenix.blechhirn.net> Date: Thu, 5 Feb 2009 12:03:03 -0800 X-Google-Sender-Auth: 88004e1a87a23ed6 Message-ID: <3c1674c90902051203n338be726rc18ab1f71c513d6c@mail.gmail.com> From: Kip Macy To: mister.olli@googlemail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: Time goes backwards 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: Thu, 05 Feb 2009 20:03:04 -0000 On Thu, Feb 5, 2009 at 11:58 AM, Mister Olli wrote: > hi, > > > Am Donnerstag, den 05.02.2009, 16:58 +0100 schrieb Julian Stecklina: >> Kip Macy writes: >> >> > Can you please try with the latest sources and let me know if you >> > still see this? >> >> I've tried with r188140 and see no change. It still reverts to Jan 25 >> 00:50 every couple of minutes. dmesg is at > > The same for me. Setting 'xen.independent_wallclock=0' in the domU and > deactivating ntpd in the domU make the time jumps happen nearly > immediately: > ====================================================== > virt-001 template_8-CURRENT # while (true); do echo "date"; sleep 10s; done | xm console template_8-CURRENT > Thu Feb 5 20:52:22 CET 2009 > template_8-CURRENT# date > Thu Feb 5 20:52:32 CET 2009 > template_8-CURRENT# date > Thu Feb 5 20:52:42 CET 2009 > template_8-CURRENT# date > Thu Feb 5 20:52:52 CET 2009 > template_8-CURRENT# date > Sun Jan 25 00:54:16 CET 2009 > template_8-CURRENT# date > Sun Jan 25 00:54:26 CET 2009 > template_8-CURRENT# date > Sun Jan 25 00:54:36 CET 2009 > template_8-CURRENT# I will take a closer look. This is clearly a separate issue from the loss of timer interrupts - I had assumed that they were related. > virt-001 template_8-CURRENT # echo "uname -a" || xm console template_8-CURRENT > uname -a > virt-001 template_8-CURRENT # echo "uname -a" | xm console template_8-CURRENT > virt-001 template_8-CURRENT # xm console template_8-CURRENT > > template_8-CURRENT# uname -a > FreeBSD template_8-CURRENT.blechhirn.net 8.0-CURRENT FreeBSD 8.0-CURRENT #0 r188157: Thu Feb 5 14:53:10 CET 2009 root@template_8-CURRENT.blechhirn.net:/usr/obj/usr/src/sys/freebsd8_XEN i386 > template_8-CURRENT# > > > >> Btw, when I do 'reboot' in the virtual machine, it just stops and has to >> be recreated. > > The same problem here. Even with > on_reboot = 'restart' > in my config file. > > Is this a XEN problem, or is it related to the FreeBSD kernel? > FreeBSD. A different argument to shutdown needs to be passed for the reboot case. -Kip