[ntp:hackers] Ooops

Harlan Stenn stenn at whimsy.udel.edu
Mon Jul 7 00:45:44 PDT 2003


Dave,

I want to put a Notice int ntp_loopfilter.c, ntp_proto.c, and systime.c
saying that all changes to those files must include a notification (and
preferably pre-approval) from you.

OK?

Harlan
--
> Harlan,
> 
> Absolutely never change anything in ntp_loopfilter.c or ntp_proto.c or
> libntp/systime.c without telling me first. The code got lost when a
> working copy was restored from /backroom/sim. I see the code fragment
> was restored other than by me. Don't do that. Lighting strikes.
> 
> Dave
> 
> Frederick Bruckman wrote:
> > 
> > On Thu, 3 Jul 2003, Harlan Stenn wrote:
> > 
> > > I might have been confused on this one... Please ignore my previous.
> > >
> > > Harlan
> > > --
> > > > Dave,
> > > >
> > > > You yanked out:
> > > >
> > > > -               } else {
> > > > -                       if (ntv.status != pll_status)
> > > > -                               NLOG(NLOG_SYNCEVENT | NLOG_SYSEVENT)
> > > > -                                   msyslog(LOG_NOTICE,
> > > > -                                   "kernel time sync enabled %04x",
> > > > -                                   ntv.status);
> > > >
> > > > from ntp_loopfilter.c - why?
> > > >
> > > > Based on earlier email from you giving permission to add that code back
> > > > in and bug reports from other people that code was recently added.
> > 
> > No, it's really gone. The syslog says "kernel time sync disabled", but
> > "ntptime" reveals otherwise:
> > 
> > Jul  3 19:50:07 tautology ntpd[25165]: ntpd 4.1.80-rc1 at 1.1098-r Thu
> > Jul  3 19:42:20 CDT 2003 (1)
> > Jul  3 19:50:07 tautology ntpd[25165]: precision = 6.000 usec
> > Jul  3 19:50:07 tautology ntpd[25165]: kernel time sync status 0040
> > Jul  3 19:50:08 tautology ntpd[25165]: frequency initialized -59.116 PPM fr
> om /var/db/ntp.drift
> > Jul  3 19:58:42 tautology ntpd[25165]: synchronized to 199.240.130.1, strat
> um=2
> > Jul  3 19:58:42 tautology ntpd[25165]: kernel time sync disabled 0041
> > Jul  3 19:58:50 tautology ntpd[25165]: synchronized to 128.105.37.11, strat
> um=2
> > fredb at tautology-> ntptime
> > ntp_gettime() returns code 0 (OK)
> >   time c2af52ee.21d14000  Thu, Jul  3 2003 20:12:14.132, (.132099),
> >   maximum error 628584 us, estimated error 36579 us
> > ntp_adjtime() returns code 0 (OK)
> >   modes 0x0 (),
> >   offset -4041.000 us, frequency 32.365 ppm, interval 1 s,
> >   maximum error 628584 us, estimated error 36579 us,
> >   status 0x1 (PLL),
> >   time constant 2, precision 1.000 us, tolerance 512 ppm,
> > 
> > Frederick
> 



More information about the hackers mailing list