Bug 103808 - net/ntp needs disabling RS232 parity for RAWDCF refclock
net/ntp needs disabling RS232 parity for RAWDCF refclock
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Cy Schubert
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-09-29 13:20 UTC by martin.kraft
Modified: 2006-10-05 20:22 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description martin.kraft 2006-09-29 13:20:18 UTC
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.
Comment 1 Edwin Groothuis freebsd_committer 2006-09-29 13:20:41 UTC
Responsible Changed
From-To: freebsd-ports-bugs->cy

Over to maintainer
Comment 2 dfilter freebsd_committer 2006-10-05 20:05:31 UTC
cy          2006-10-05 19:05:03 UTC

  FreeBSD ports repository

  Modified files:
    net/ntp-devel        Makefile 
    net/ntp-devel/files  patch-configure 
  Log:
  Enable parity for RAWDCF time clocks.
  
  PR:             103808
  
  Revision  Changes    Path
  1.48      +1 -0      ports/net/ntp-devel/Makefile
  1.5       +17 -7     ports/net/ntp-devel/files/patch-configure
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 dfilter freebsd_committer 2006-10-05 20:06:37 UTC
cy          2006-10-05 19:06:27 UTC

  FreeBSD ports repository

  Modified files:
    net/ntp-stable       Makefile 
    net/ntp-stable/files patch-configure 
  Log:
  Enable parity for RAWDCF time clocks.
  
  PR:             103808
  
  Revision  Changes    Path
  1.49      +1 -0      ports/net/ntp-stable/Makefile
  1.4       +17 -7     ports/net/ntp-stable/files/patch-configure
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 dfilter freebsd_committer 2006-10-05 20:07:21 UTC
cy          2006-10-05 19:07:16 UTC

  FreeBSD ports repository

  Modified files:
    net/ntp              Makefile distinfo 
    net/ntp/files        patch-configure 
  Log:
  Enable parity for RAWDCF time clocks.
  
  PR:             103808
  
  Revision  Changes    Path
  1.45      +3 -1      ports/net/ntp/Makefile
  1.23      +3 -3      ports/net/ntp/distinfo
  1.3       +17 -7     ports/net/ntp/files/patch-configure
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Cy Schubert freebsd_committer 2006-10-05 20:21:55 UTC
State Changed
From-To: open->closed

Fixed in all three ntp ports.