From owner-freebsd-xen@FreeBSD.ORG Fri Dec 6 17:36:28 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6B508333 for ; Fri, 6 Dec 2013 17:36:28 +0000 (UTC) Received: from SMTP.CITRIX.COM (smtp.citrix.com [66.165.176.89]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A2C771157 for ; Fri, 6 Dec 2013 17:36:26 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.93,842,1378857600"; d="scan'208";a="81422827" Received: from accessns.citrite.net (HELO FTLPEX01CL01.citrite.net) ([10.9.154.239]) by FTLPIPO01.CITRIX.COM with ESMTP; 06 Dec 2013 17:36:19 +0000 Received: from [IPv6:::1] (10.80.16.47) by smtprelay.citrix.com (10.13.107.78) with Microsoft SMTP Server id 14.2.342.4; Fri, 6 Dec 2013 12:36:18 -0500 Message-ID: <52A20B11.7010101@citrix.com> Date: Fri, 6 Dec 2013 18:36:17 +0100 From: =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: Adam McDougall Subject: Re: FreeBSD 10-BETA4 r258899 PVHVM Xen clock -> 1970 on VM migration References: <20131206171407.GD5386@egr.msu.edu> In-Reply-To: <20131206171407.GD5386@egr.msu.edu> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-DLP: MIA1 Cc: freebsd-xen@freebsd.org X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.17 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: Fri, 06 Dec 2013 17:36:28 -0000 On 06/12/13 18:14, Adam McDougall wrote: > Hello, > > I noticed on recent (PVHVM) builds of FreeBSD 10 that I randomly lose the > proper date/time when I migrate my VM from one XenServer to another in the > pool. I was intending to reproduce a much smaller time difference I've seen > on 9 but this was a much bigger jump so I started concentrating on the big > jumps. When I migrate my VM back and forth between two servers, it will > randomly jump to a date in 1970 or 1969. Continued migrations often bring > the proper date/time back, but there is not a strong pattern. The 1970 > comes and goes. I could not reproduce this kind of jump on 9. This happens > on XenServer 6.0 and 6.2. Hello, Thanks for testing, there were some bugs in Xen regarding the migration of PVHVM guests, the one that comes to mind, and that could cause this kind of time disruption is: http://lists.xenproject.org/archives/html/xen-devel/2013-06/msg01110.html The patch should be present in at least Xen 4.3, not sure about previous versions. Is there anyway you could try this on a recent Xen version (4.3)? > I will take a stab at trying PVH time permitting, > but since 10.0 will ship with PVHVM it seems appropriate to try to fix it > if possible. Let me know if there is more testing or information gathering > I should do. Thanks. Xen 4.4 will be the first version to support PVH, which has not yet been released, and right now doesn't support migration. If you could try a recent version of Xen that contains the mentioned patch it will certainly help diagnose it (or at least make sure it's caused by this issue). Roger.