[time-nuts] Thunderbolt gpsd > ntpd failure.

John Murphy swl at freeode.co.uk
Fri May 1 01:50:34 UTC 2009


I'm trying to configure ntpd (4.2.4p5-a FreeBSD-7.1) to use the
shared memory driver to which gpsd should be writing timestamps.
All looks good on the gpsd side, after building it for 8N1, as
I can see what looks like ntpshm writing to shared memory:

gpsd: TSIP pkt_id = 0x41, packetlen= 14
gpsd: TSIP packet id 0x41 length 10: 48cf974905f941700000
gpsd: ntpshm_put: Clock: 1241129131 @ 1241129132.166348
gpsd: GPS Time 425146.281250 1529 15.000000

But, with ntp.conf entries like:

tos mindist 0.010
server 127.127.28.0 minpoll 4 maxpoll 4
fudge 127.127.28.0 time1 0.420 refid GPS
server 127.127.22.0 minpoll 4 maxpoll 4

The log shows:

ntpd 4.2.4p5-a Thu Jan  1 09:59:32 UTC 2009 (1)
refclock_newpeer: clock type 28 invalid
configuration of 127.127.28.0 failed

I'm also using the PPS output of the Thunderbolt, hence the
127.127.22.0 entry, and the 10MHz up converted to 33.333333MHz
for the soekris net4501 CPU clock. Both of those working well.

Do I need to initiate the shared memory some how? I feel I may
have missed something vital, which may be obvious to someone.

-- 
Thanks. My First post to the list, but I've read a fair bit of
the fine archive.



More information about the time-nuts mailing list