ports/103808: net/ntp needs disabling RS232 parity for RAWDCF refclock
Martin Kraft
martin.kraft at fal.de
Fri Sep 29 12:20:36 UTC 2006
>Number: 103808
>Category: ports
>Synopsis: net/ntp needs disabling RS232 parity for RAWDCF refclock
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Sep 29 12:20:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Martin Kraft
>Release: FreeBSD 6.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD myhost.fal.de 6.1-STABLE FreeBSD 6.1-STABLE #7: Wed Jun 7 09:36:11 CEST 2006 kraft at myhost.fal.de:/usr/obj/usr/src/sys/MYHOST amd64
>Description:
The ntp version in the ports (ntp-4.2.2) can not operate my
Expert mouse clock as a refclock (server 127.127.8.0 mode 16).
The clock is blinking like it should, but the debug repeatedly says:
addto_syslog: parse: convert_rawdcf: INCOMPLETE DATA - time code
only has (n) bits
with (n) = 2..4
How-To-Repeat:
Install ntp out of the ports with make -DENABLE_RAWDCF.
/etc/ntp.conf contains:
server 127.127.8.0 mode 16
fudge 127.127.8.0 time1 0.259
/etc/devfs.conf contains: link cuad0 refclock-0
Fix:
make clean patch
In configure, line 25389, change "ans=no" to "ans=yes"
(this sets ac_cv_var_rawdcf_parity to yes)
make install
This works for my situation. I did not try any other types of RAWDCF clocks.
See also:
/usr/ports/net/ntp/work/ntp-4.2.2/html/build/hints/changes:
Ulrich Windl did the same change for linux.
Note:
The ntpd of the FreeBSD System (rsc/contrib/ntp, version 4.2.0-a) operates
the clock correctly.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list