[ntp:hackers] 4.2.1
Danny Mayer
mayer at ntp.isc.org
Wed Mar 15 04:34:35 UTC 2006
Terje Mathisen wrote:
> Harlan Stenn wrote:
>> It's been several days since there have been any reports of problems with
>> RC1.
>
> I'm still not sure why, but my old Oncore-based FreeBSD 5.3 system
> doesn't seem to like the Oncore after the upgrade?
>
> Afaik, this system should be all set for
>
> ./configure ; make ; make install
>
> but after restarting ntpd the Oncore driver never comes back up?
>
> OK, after a little 'ntpd -d -d' the reason seems obvious:
>
> The patch to allow binary data, needed by the Oncore driver, is still
> missing!
>
> The patch should be against ntpd/ntp_refclock.c
>
> What's needed is two extra lines in the setup code, to get from
>
> if (lflags & LDISC_RAW) {
> ttyp->c_lflag = 0;
>
> to
>
> if (lflags & LDISC_RAW) {
> ttyp->c_iflag = 0;
> ttyp->c_lflag = 0;
>
> in two different locations in the source.
>
> (Lines 856 and 918 in the current (rc1) version of the file.)
>
> This has been missing for about a year, and should really be included in
> the release code, possibly with some kind of #ifdef FREEBSD #endif
> around it.
>
> Terje
>
If you put this back in does it work as expected?
Danny
More information about the hackers
mailing list