Date: Fri, 29 Sep 2006 14:15:02 +0200 (CEST) From: Martin Kraft <martin.kraft@fal.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/103808: net/ntp needs disabling RS232 parity for RAWDCF refclock Message-ID: <200609291215.k8TCF2Qk045449@kocher.tb.fal.de> Resent-Message-ID: <200609291220.k8TCKIcP076298@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609291215.k8TCF2Qk045449>