From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harald Koenig Subject: Re: domU clock over 23s off Date: Wed, 12 Jul 2006 15:37:59 +0200 Message-ID: <20060712133759.GB16613@atuin.science-computing.de> References: <20060226100730.GA24607@mx.ytti.net> <6596dc23fc4f6b9428f72724096f609a@cl.cam.ac.uk> <20060712090007.GA8401@atuin.science-computing.de> <20060712095627.GA18330@atuin.science-computing.de> <72def4c4e1bd4849ecc88f0dd11976ef@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <72def4c4e1bd4849ecc88f0dd11976ef@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Harald Koenig , Saku Ytti , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Jul 12, Keir Fraser wrote: > >- correct startup time (mount time, syslog start time etc), and > >- working ntp ? > > Run ntpd in domain0, and don't use independent_wallclock. that was my default setup I started with, until yesterday I realized that the domUs don't keep the time in sync. dom0 (FC4) is perfectly in sync running ntp. the domUs run ntp too, but there they don't manage to set/adjust the system time, so the ntp on domU logs the time skew. from syslog of a RH9 client: Jun 26 20:08:25 os-rh9 ntpd[1666]: time reset +12.532031 s Jun 26 20:24:51 os-rh9 ntpd[1666]: time reset +12.597371 s Jun 26 20:41:07 os-rh9 ntpd[1666]: time reset +12.761633 s Jun 26 21:02:54 os-rh9 ntpd[1666]: time reset +12.843185 s Jun 26 21:19:18 os-rh9 ntpd[1666]: time reset +12.930329 s Jun 26 21:38:59 os-rh9 ntpd[1666]: time reset +13.028862 s Jun 26 21:56:19 os-rh9 ntpd[1666]: time reset +13.159422 s ... Jun 27 20:05:22 os-rh9 ntpd[1666]: time reset +19.513893 s Jun 27 20:22:37 os-rh9 ntpd[1666]: time reset +19.640442 s Jun 27 20:37:47 os-rh9 ntpd[1666]: time reset +19.718607 s Jun 27 20:55:09 os-rh9 ntpd[1666]: time reset +19.769548 s Jun 27 21:13:31 os-rh9 ntpd[1666]: time reset +19.865546 s Jun 27 21:30:49 os-rh9 ntpd[1666]: time reset +19.965029 s does running ntp in a domU disable the clock synchronisation between dom0 and domU ? Harald Koenig -- "I hope to die ___ _____ before I *have* to use Microsoft Word.", 0--,| /OOOOOOO\ Donald E. Knuth, 02-Oct-2001 in Tuebingen. <_/ / /OOOOOOOOOOO\ \ \/OOOOOOOOOOOOOOO\ \ OOOOOOOOOOOOOOOOO|// Harald Koenig \/\/\/\/\/\/\/\/\/ science+computing ag // / \\ \ koenig@science-computing.de ^^^^^ ^^^^^