[ntp:hackers] 4.2.1

Terje Mathisen terje.mathisen at hda.hydro.com
Tue Mar 14 16:05:51 UTC 2006


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

-- 
- <Terje.Mathisen at hda.hydro.com>
"almost all programming can be viewed as an exercise in caching"

-------------- next part --------------


***********************************************************************
NOTICE: This e-mail transmission, and any documents, files or previous
e-mail messages attached to it, may contain confidential or privileged
information. If you are not the intended recipient, or a person
responsible for delivering it to the intended recipient, you are
hereby notified that any disclosure, copying, distribution or use of
any of the information contained in or attached to this message is
STRICTLY PROHIBITED. If you have received this transmission in error,
please immediately notify the sender and delete the e-mail and attached
documents. Thank you.
***********************************************************************



More information about the hackers mailing list