From owner-freebsd-xen@FreeBSD.ORG Fri Jan 30 03:21:16 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 1ABDF106564A for ; Fri, 30 Jan 2009 03:21:16 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id 975088FC0C for ; Fri, 30 Jan 2009 03:21:15 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by fg-out-1718.google.com with SMTP id e12so175312fga.35 for ; Thu, 29 Jan 2009 19:21:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=LtQxt5ETBb3B1WqvmhccirQSAxceP33AMZPkrhKENvo=; b=uHiRDoMtiGJanZE7dqqtIQr85yv8YSQ19k96ms4rsmdkZ01e4Q2/1WpQfx180LfPrm /bnmHtrphAGZFUoMSlPXjPzRFzi4l6U7vDfsOvlKIooaEz+OkNsofvNX1i7P1jWFTTDs H8zlBDVunSOlokAAoV8bSQe27oJFnKpIAyQSQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=ab5kxwb1l0QjNeaganBZOBDuhiHHuj+jFtVmCFd+5zIWoRFis9jmkwcuJSIlqQxFQ/ ydySrxABwoz8Xbsz2YVG4ArH28KPSqrIoe9d+/rB7BD8Q5rSHGx1prFyt44K3N8XfcqT GoYZgmLBmMQ6b2KPWffh2nnsKIJlU7DfntZJ4= Received: by 10.103.246.1 with SMTP id y1mr372497mur.116.1233285674685; Thu, 29 Jan 2009 19:21:14 -0800 (PST) Received: from ?10.30.1.130? (vpn-or.studi-planet.com [78.47.172.52]) by mx.google.com with ESMTPS id 23sm750533mum.52.2009.01.29.19.21.13 (version=SSLv3 cipher=RC4-MD5); Thu, 29 Jan 2009 19:21:14 -0800 (PST) From: Mister Olli To: Julian Stecklina In-Reply-To: <877i4d1p46.fsf@tabernacle.localnet> References: <877i4d1p46.fsf@tabernacle.localnet> Content-Type: text/plain Date: Fri, 30 Jan 2009 04:20:39 +0100 Message-Id: <1233285639.24925.12.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 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 Reply-To: mister.olli@googlemail.com 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: Fri, 30 Jan 2009 03:21:16 -0000 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 " 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,