Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 1999 23:22:10 +0100
From:      Ollivier Robert <roberto@keltia.freenix.fr>
To:        "FreeBSD Hackers' list" <freebsd-hackers@FreeBSD.ORG>
Subject:   Problem with ntp4 & DCF77 clock
Message-ID:  <19990115232210.A40217@keltia.freenix.fr>

next in thread | raw e-mail | index | archive | help
I get the following message after a few hours running ntp4 (4.0.90f) with
my DCF77 receiver... Is there anything I could do to prevent that ?

Jan 15 21:54:31 tara ntpd[25909]: time error 3600 over 1000 seconds; set clock manually)

After that message, ntpd is gone. Any idea ?

The machine is a 2xPPro/200 with 64 MB RAM, running FreeBSD/SMP from 25th
of December.

Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.0-CURRENT #8: Sat Dec 26 01:22:22 CET 1998
    roberto@tara.freenix.org:/src/src/sys/compile/TARA_SMP
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium Pro (686-class CPU)
 Origin = "GenuineIntel"  Id = 0x619  Stepping=9
 Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV>
real memory  = 67108864 (65536K bytes)

machdep.i8254_freq: 1193182
machdep.tsc_freq: 198656034

When it runs, it displays that:

ntpq> cv
status=0003 clk_okay, last_clk_fault
device="RAW DCF77 CODE (Conrad DCF77 receiver module)",
timecode="------------------M-S--4-1--p-----2P1-4-1-1-41----1--81--8p",
poll=12705, noreply=1534, badformat=284, baddata=0, fudgetime1=254.000,
fudgetime2=0.000, stratum=0, refid=DCFa, flags=0,
refclock_time="ba4a1201.00000000  Fri, Jan 15 1999 20:14:09.000 (+0100)",
refclock_status="TIME CODE; (LEAP INDICATION; ANTENNA)",
refclock_format="RAW DCF77 Timecode",
refclock_states="*NOMINAL: 10:01:31 (88.36%); NO RESPONSE: 00:48:41 (7.15%); FAULT: 00:02:41 (0.39%); ILLEGAL DATE: 00:27:52 (4.09%); running time: 11:20:45"
ntpq> rv
status=02f7 leap_none, sync_lf_clock, 15 events, event_clock_excptn,
processor="i386", system="FreeBSD3.0-CURRENT", leap=00, stratum=1,
precision=-20, rootdelay=0.000, rootdispersion=48.688, peer=48388,
refid=DCFa, reftime=ba4a3bfd.3ee9ee45  Fri, Jan 15 1999 23:13:17.245,
poll=6, clock=ba4a3c22.22605ee5  Fri, Jan 15 1999 23:13:54.134, state=4,
phase=-0.714, frequency=-0.144, jitter=48.116, stability=0.031

244 [21:41] root@tara:ntp-4.0.90f/ntpdc# ntpq -c lop
     remote           local      st t when poll reach  delay  offset   disp
===========================================================================
*GENERIC(0)      0.0.0.0          0 -   43   64  377     0.00   12.306    0.02

-- 
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr
FreeBSD keltia.freenix.fr 3.0-CURRENT #67: Tue Dec 29 20:24:02 CET 1998


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990115232210.A40217>