From owner-freebsd-stable@FreeBSD.ORG Tue Dec 19 14:07:51 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 2CA2816A407 for ; Tue, 19 Dec 2006 14:07:51 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 696B243CA2 for ; Tue, 19 Dec 2006 14:07:50 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (nunefe@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id kBJE7Vpe059476; Tue, 19 Dec 2006 15:07:40 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id kBJE7Vmq059475; Tue, 19 Dec 2006 15:07:31 +0100 (CET) (envelope-from olli) Date: Tue, 19 Dec 2006 15:07:31 +0100 (CET) Message-Id: <200612191407.kBJE7Vmq059475@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, rsmith@xs4all.nl In-Reply-To: <20061219132032.GA66632@slackbox.xs4all.nl> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Tue, 19 Dec 2006 15:07:40 +0100 (CET) Cc: Subject: Re: ntpd flipping between PLL and FLL mode X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, rsmith@xs4all.nl 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 14:07:51 -0000 Roland Smith wrote: > 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 also get them once in a while, but I really don't care much. I usually don't look at the logs anyway, but let logsurfer (from ports) look at them and tell me when some- thing looks suspicious. :-) > The following patch to ntp_loopfilter.c should quell the message: > -------------------- STFU patch -------------------- > --- ntp_loopfilter.c.orig Tue Dec 19 14:13:25 2006 > +++ ntp_loopfilter.c Tue Dec 19 14:14:02 2006 > @@ -593,12 +593,6 @@ > "kernel time sync disabled %04x", > ntv.status); > ntv.status &= ~(STA_PPSFREQ | STA_PPSTIME); > - } else { > - if (ntv.status != pll_status) > - NLOG(NLOG_SYNCEVENT | NLOG_SYSEVENT) > - msyslog(LOG_NOTICE, > - "kernel time sync enabled %04x", > - ntv.status); > } > pll_status = ntv.status; > if (pll_nano) > -------------------- STFU patch -------------------- I think it makes sense to replace LOG_NOTICE with LOG_DEBUG, so you can still get at the messages if you really want to. It's not necessary to remove the logging code alltogether. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "I invented Ctrl-Alt-Delete, but Bill Gates made it famous." -- David Bradley, original IBM PC design team