[LinuxPPS] 1PPS Atom Ref Clock Not being Polled?

K. Connolly hbar at u.washington.edu
Thu Jul 23 02:57:07 CEST 2009


On Wed, 22 Jul 2009, William S. Brasher wrote:

> I decided to test this configuration (PPS ref clock using another box
> instead of the local NMEA driver to disambigulate the time of the pulese)
> and everything seems to work just fine.

Thank you for taking the time to test this out!

> This is a via nano running a 64 bit kernel and software; the kernel is
> linux-2.6.30.2 with the patch ntp-pps-v2.6.30-rc5-bis.diff applied.  I've
> also changed the constant SHIFT_PLL in include/linux/timex.h from 4 to 2.
>
> Ntp is ntp-4.2.4p7 with the patch ntp-4.2.4p7-nano-nmea-pps.patch applied.

The patches you used sound very official... Where did you get them? Sorry 
if that's a dumb question, it's just I feel like I've been looking at 
hundreds of forum posts and links and references to various patches. I 
would like to emulate your setup exactly and see where it gets me.

On that note, could you also let me know what version of ldattach you 
used, and how (if) it was patched?

I am just this minute discovering some oddities with my patched vs. 
unpatched version of ldattach and the subsequent results of ppstest. I 
will explore it a little more thoroughly and post back if I find anything 
revealing.

Cheers,

Kevin



>
> It was configured as follows:
> ./configure --prefix=/usr --bindir=/usr/sbin --sysconfdir=/etc
>   --with-binsubdir=sbin --libdir=/usr/lib64 --enable-shared
>
>
>
> The ntp.conf used is:
> root at spectre: # cat /etc/ntp.conf
>
> server 127.127.22.0 minpoll 4 maxpoll 4    # PPS clock  refid PPS
> fudge 127.127.22.0 flag3 1 flag2 0
>
> server 192.168.48.2 prefer iburst       # chronos
>
> server 192.168.48.18 noselect   # tick
>
> #
> # Access controls
> #
> restrict default limited        # default limit clients per net
> restrict 128.0.0.1              # allow local host
> restrict 192.168.48.0 mask 255.255.255.0        # allow q.lan clients
>
> #
> #  Authentication
> #
> crypto pw alphaqlan             # enable public key
> keysdir /etc/ntp.keysdir/       # key files directory
>
> #
> # Miscellaneous stuff
> #
> enable monitor                  # enable the good stuff
> driftfile /var/lib/ntp/drift    # path for drift file
> statsdir /var/lib/ntp/stats/    # directory for statistics files
> pidfile /var/run/ntpd.pid       # pid file
> filegen peerstats file peerstats type day enable
> filegen loopstats file loopstats type day enable
> filegen clockstats file clockstats type day enable
> filegen cryptostats file cryptostats type day enable
>
>



More information about the LinuxPPS mailing list