From owner-freebsd-stable@FreeBSD.ORG Tue Dec 19 16:23:07 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1A56616A40F for ; Tue, 19 Dec 2006 16:23:07 +0000 (UTC) (envelope-from mike@jellydonut.org) Received: from mail.secureworks.net (mail.secureworks.net [65.114.32.155]) by mx1.FreeBSD.org (Postfix) with SMTP id 23C3643CBF for ; Tue, 19 Dec 2006 16:23:01 +0000 (GMT) (envelope-from mike@jellydonut.org) Received: (qmail 76298 invoked from network); 19 Dec 2006 15:56:21 -0000 Received: from unknown (HELO ?192.168.23.35?) (63.239.86.3) by 0 with SMTP; 19 Dec 2006 15:56:21 -0000 Message-ID: <45880BA6.80907@jellydonut.org> Date: Tue, 19 Dec 2006 10:56:22 -0500 From: Michael Proto User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.8) Gecko/20061206 Thunderbird/1.5.0.8 Mnenhy/0.7.4.666 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <20061219124151.GA33385@icarus.home.lan> <20061219132032.GA66632@slackbox.xs4all.nl> In-Reply-To: <20061219132032.GA66632@slackbox.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: ntpd flipping between PLL and FLL mode X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2006 16:23:07 -0000 Roland Smith wrote: > On Tue, Dec 19, 2006 at 04:41:51AM -0800, Jeremy Chadwick wrote: > >> Dec 19 00:22:26 icarus ntpd[624]: kernel time sync enabled 2001 >> Dec 19 01:47:48 icarus ntpd[624]: kernel time sync enabled 6001 >> Dec 19 02:04:52 icarus ntpd[624]: kernel time sync enabled 2001 > > Looks very familiar, unfortunately. > > >> I looked at the ntpd code for this, and there does not appear to >> be a way to disable logging of this message without impacting other >> important ntpd messages. :-( > > Since this is about the only message I ever see from ntpd, I put the > following line in /etc/ntpd.conf: > > logconfig -syncall > > At least this got rid of those annoying messages. Maybe syncinfo or > syncevents would be sufficient to kill these messages. I haven't checked > if LOG_NOTICE in the source code is equivalent to the message type > "info" in the manpage. > > IMHO, it violates the tradition that programs shouldn't blather. An alternate workaround I've discovered is to use a maxpoll of 9 in /etc/ntp.conf: server rolex.peachnet.edu maxpoll 9 Since implementing this I haven't seen any of the FLL/PLL flips in my logs. -Proto