[LinuxPPS] Report on linuxPPS.

clemens at dwf.com clemens at dwf.com
Tue Oct 27 18:00:12 CET 2009


I have one message that I sent to the list that I have never seen
back from the list.  Just in case it DOES make it at some time or
another, I have a comment there that perhaps the two NANO variables
in the config file for NTP need to be set.  THIS IS WRONG.  They
have nothing to do with ntp, but only a couple of the 'extra' 
programs that come along with ntp.

Without setting them I am running in NANO mode just fine.

I have tried both of the recent patches,
  
    ntp-pps-2.6.31-rc1

and

    http://ftp.enneenne.com/pub/misc/linuxpps/patches/tests/ntp-pps-v2.6.31.dif
f

and both seem to work fine (Im currently running with the latter).

So the only tricks to get to NANO mode seem to be
    (1) go to Fedora 11 (or the equivalent in your favorite distribution)
        where they have glibc 2.10.1, this has needed fixes.
    (2) be sure to copy the timepps.h (and possibly pps.h) from the linuxPPS
        distribution to /usr/include.
    (3) The timex.h does not have MOD_NANO, add a line that reads
            #define MOD_NANO STA_NANO

That's about it, Im running with linux-2.6.31.5 and ntp-4.2.5p234-RC, and the
residuals of the timestamps around the individual seconds is in the hundreds
of nanoseconds, rather than being in the microsecond range with the previous
libc.  Nice.

-- 
                                        Reg.Clemens
                                        reg at dwf.com





More information about the LinuxPPS mailing list