[ntp:questions] Re: Oncore Reference Driver Problem

Thomas Laus lausts at acm.org
Sun Feb 12 17:29:25 UTC 2006


On 2006-02-11, Richard B. Gilbert <rgilbert88 at comcast.net> wrote:
> Sounds like Bug 546
> https://ntp.isc.org/bugs/show_bug.cgi?id=546
>
> I believe the maintainer is shoveling like mad, trying to find his desk!
>
> It may be a while before this is fixed!
>
> I've looked for the cause myself without result so far.   A diff of the 
> two versions reveals that several hundred lines of code have been 
> changed, for what reason I cannot say.  I used the VMS difference 
> utility which has the ability to ignore comments and white space so all 
> the changes I saw seem to have been substantive rather than cosmetic.
>
> I must say, I found the code quite difficult to follow!
>
I found it very difficult to follow as well.  There was a lot of
structure manipulation to get the various fields extracted from the
Oncore reply responses.  I filed that under the 'magic' category and
figured that the original author knew what he was doing.  The rest of
the code seems to have been rewritten and cleaned up by Clements a
couple of years back.

There is a real lack of good understandable documentation for this driver
and nothing more than source code comments for what goes in the
configuration files.  I know that the original driver required
definitions in the /etc/oncore0 file for the hard PPS assert and clear
action.  In version 4.2.0 it was replaced by flag3 in the /etc/ntp.conf
file and the HTML documentation for the current interation has all flag
statements listed as not being used in this driver.  I looked over the
various changelogs in the distribution for any changes that might be
needed in the config files.  I could not find anything.

Tom
 

-- 
Public Keys:
PGP KeyID = 0x5F22FDC1
GnuPG KeyID = 0x620836CF




More information about the questions mailing list