[ntp:hackers] Ooops
Frederick Bruckman
fredb at immanent.net
Thu Jul 3 18:15:30 PDT 2003
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 from /var/db/ntp.drift
Jul 3 19:58:42 tautology ntpd[25165]: synchronized to 199.240.130.1, stratum=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, stratum=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