[ntp:questions] PPS, TRUETIME, and FreeBSD 5.x?
fxw115 at yahoo.com
Wed Nov 10 20:17:17 UTC 2004
I have done the same thing. I remember the version of
FreeBSD should not bother. I suggest you confirm first
if you keep the same configuration as what you did
with Freebsd 4.8 box. The device that pps0 and true0
link to should be the same port you can read the time
stamp by using minicom or other com port control
tools. I used /dev/cuaa0.
To my understanding: if you use flag3 to enable the
discipline, you do not have to enable the PPS kernel.
Also, the flag3 is preferred.
Hope this can help.
--- "speisert at yahoo.com" <speisert at yahoo.com> wrote:
> I'm attempting to run NTP 4.2.0 on my FreeBSD
> 5.x-STABLE box with an
> external CDMA clock. The clock works just fine when
> connected to a
> FreeBSD 4.8 box. When I attempt to use it with the
> 5.x box and with
> ATOM and TRUETIME enabled in the NTP config.h file
> from the FreeBSD
> packages, I get these errors:
> Nov 9 17:26:36 bwctl ntpd: ntpd 4.2.0-a Mon
> Nov 8 11:18:06 PST
> 2004 (1)
> Nov 9 17:26:36 bwctl ntpd: refclock_atom:
> failed: Inappropriate ioctl for device
> Nov 9 17:26:36 bwctl ntpd: configuration of
> 127.127.22.0 failed
> Among other things, I have /dev/true0 and /dev/pps0
> symlinked to
> /dev/ttyd0. I have this line in my kernel config
> options PPS_SYNC
> Also, my ntp.conf file says:
> server 127.127.5.0 prefer # 5 is trimble
> TRUETIME/ 0 is ttyd0
> fudge 127.127.5.0 refid CDMA time1 0.011
> server 127.127.22.0 minpoll 2 maxpoll 6 # 22 is PPS
> "ATOM" device
> fudge 127.127.22.0 flag2 1 flag3 1
> What else do I need to do to get 1PPS working on
> this machine?
> questions mailing list
> questions at lists.ntp.isc.org
Do you Yahoo!?
Check out the new Yahoo! Front Page.
More information about the questions