Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2006 18:45:15 -0500
From:      David Magda <dmagda@ee.ryerson.ca>
To:        freebsd-stable@freebsd.org, rsmith@xs4all.nl
Subject:   Re: ntpd flipping between PLL and FLL mode
Message-ID:  <C1DC7E54-BE19-4F4B-A1B5-621AC2C30A5B@ee.ryerson.ca>
In-Reply-To: <200612191407.kBJE7Vmq059475@lurza.secnetix.de>
References:  <200612191407.kBJE7Vmq059475@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help

On Dec 19, 2006, at 09:07, Oliver Fromme wrote:

> Roland Smith wrote:
[...]
>> 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.

This bug has been reported to the NTP maintainers:

	https://ntp.isc.org/bugs/show_bug.cgi?id=452

It's been assigned to Harlan Stenn (stenn<at>ntp.org). There have  
been no notes added to the bug report after the initial report on  
2005-06-15.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C1DC7E54-BE19-4F4B-A1B5-621AC2C30A5B>