From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 29 12:20:36 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E4C516A417 for ; Fri, 29 Sep 2006 12:20:36 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEA2943D78 for ; Fri, 29 Sep 2006 12:20:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k8TCKIXn076299 for ; Fri, 29 Sep 2006 12:20:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k8TCKIcP076298; Fri, 29 Sep 2006 12:20:18 GMT (envelope-from gnats) Resent-Date: Fri, 29 Sep 2006 12:20:18 GMT Resent-Message-Id: <200609291220.k8TCKIcP076298@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Martin Kraft Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8488C16A4E2 for ; Fri, 29 Sep 2006 12:15:39 +0000 (UTC) (envelope-from martin.kraft@fal.de) Received: from euler2.dv.fal.de (euler2.dv.fal.de [134.110.18.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB09843DAB for ; Fri, 29 Sep 2006 12:15:06 +0000 (GMT) (envelope-from martin.kraft@fal.de) Received: from localhost (localhost [127.0.0.1]) by euler2.dv.fal.de (8.13.6/8.12.3) with ESMTP id k8TCF5qs079646 for ; Fri, 29 Sep 2006 14:15:05 +0200 (CEST) (envelope-from martin.kraft@fal.de) Received: from euler2.dv.fal.de ([127.0.0.1]) by localhost (euler2.dv.fal.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QCbOd2bPzGHB for ; Fri, 29 Sep 2006 14:15:04 +0200 (CEST) Received: from kocher.tb.fal.de (kocher.tb.fal.de [134.110.25.129]) by euler2.dv.fal.de (8.13.6/8.12.3) with ESMTP id k8TCF2Db079382 for ; Fri, 29 Sep 2006 14:15:02 +0200 (CEST) (envelope-from kraft@kocher.tb.fal.de) Received: from kocher.tb.fal.de (localhost [127.0.0.1]) by kocher.tb.fal.de (8.13.6/8.13.6) with ESMTP id k8TCF2En045450 for ; Fri, 29 Sep 2006 14:15:02 +0200 (CEST) (envelope-from kraft@kocher.tb.fal.de) Received: (from kraft@localhost) by kocher.tb.fal.de (8.13.6/8.13.3/Submit) id k8TCF2Qk045449; Fri, 29 Sep 2006 14:15:02 +0200 (CEST) (envelope-from kraft) Message-Id: <200609291215.k8TCF2Qk045449@kocher.tb.fal.de> Date: Fri, 29 Sep 2006 14:15:02 +0200 (CEST) From: Martin Kraft To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/103808: net/ntp needs disabling RS232 parity for RAWDCF refclock X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Kraft List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Sep 2006 12:20:36 -0000 >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: