[ntp:questions] PPS, TRUETIME, and FreeBSD 5.x?

speisert at yahoo.com speisert at yahoo.com
Wed Nov 10 02:18:33 UTC 2004

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[1253]: ntpd 4.2.0-a Mon Nov  8 11:18:06 PST
2004 (1)
Nov  9 17:26:36 bwctl ntpd[1253]: refclock_atom: time_pps_create
failed: Inappropriate ioctl for device
Nov  9 17:26:36 bwctl ntpd[1253]: configuration of failed

Among other things, I have /dev/true0 and /dev/pps0 symlinked to
/dev/ttyd0.  I have this line in my kernel config file:

options         PPS_SYNC

Also, my ntp.conf file says:

server prefer       # 5 is trimble TRUETIME/ 0 is ttyd0
fudge refid CDMA time1 0.011
server minpoll 2 maxpoll 6 # 22 is PPS "ATOM" device
fudge flag2 1 flag3 1

What else do I need to do to get 1PPS working on this machine?

More information about the questions mailing list