From owner-freebsd-questions@FreeBSD.ORG Thu May 19 23:01:15 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1484816A4CE for ; Thu, 19 May 2005 23:01:15 +0000 (GMT) Received: from rdsmtp.iglou.com (rdsmtp.iglou.com [192.107.41.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id A222343DB9 for ; Thu, 19 May 2005 23:01:14 +0000 (GMT) (envelope-from dlevitch@iglou.com) Received: from [192.107.41.8] (helo=iglou2.iglou.com) by rdsmtp.iglou.com with esmtp (8.12.5/8.12.5) id 1DYu0w-0005jC-3G for freebsd-questions@freebsd.org; Thu, 19 May 2005 19:01:14 -0400 Received: from [192.107.41.17] (helo=shell1) by iglou2.iglou.com with esmtp (8.12.5/8.12.5) id 1DYu0v-0004Zw-PV for freebsd-questions@freebsd.org; Thu, 19 May 2005 19:01:13 -0400 Date: Thu, 19 May 2005 19:01:13 -0400 (EDT) From: Darrel X-X-Sender: dlevitch@shell1 To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Originating-IP: 192.107.41.17 X-IgLou-Customer: verified Subject: Re: NTP issues with 5.4 (SOLVED) (fwd) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2005 23:01:15 -0000 I wrote: > Hello, > > I run ntpd in daemon mode on several FreeBSD computers and synchronize > with 'ntpd -q' all others. > > I've just updated one machine to 5.4 (from 5.3) and noticed the daemon > was unhappy, often logging 'time reset' and resynchronizing with peers. > On other machines I also only recently (after the upgrade to 5.4) see > ntp problems - 'ntpd -q' gets stuck and time goes off. The machines were > all fine before. > > I searched the web and archives and found some more people complaining > about similar issues but I haven't found any good answer. At first I > thought it was happening only on SMP computers but it isn't the case. > The machines have all kinds of timecounters - ACPI-fast, ACPI-safe and > i8254. I'd like to let you all know that I don't think the problem is as widespread as I originally thought. After tens of restarts of ntpd processes I've never experienced any problem synchronizing. No more hung 'ntpd -q' processes either. I suspect the latter was a consequence of my server having problems synchronizing. Michal --------- I installed openntpd considering that it should run with reduced privileges. The Workgroup did not sync up right away and I reinstalled NTP4. Currently, I can sync Window XP and Windows 98. My /var/log/messages: May 19 12:25:37 ntpd[379]: kernel time sync enabled 6001 May 19 12:42:40 ntpd[379]: kernel time sync enabled 2001 May 19 14:59:14 ntpd[379]: kernel time sync enabled 6001 May 19 15:16:19 ntpd[379]: kernel time sync enabled 2001 May 19 18:24:09 ntpd[379]: kernel time sync enabled 6001 May 19 18:41:14 ntpd[379]: kernel time sync enabled 2001 I am not sure, but this could be normal phase-lock-loop of the kernel. Darrel