[LinuxPPS] linuxpps 2.6.32-rc8 question

clemens at dwf.com clemens at dwf.com
Tue Mar 30 01:31:21 CEST 2010


> 
> I have my PowerPC 85xx target connected to a GPS receiver that is 
> generating a PPS which is in turn generating an interrupt on my host.
> 
> I am trying to figure out why my system clock is showing such a large 
> discrepancy in time (10ms/s) and was wondering if anybody had any tips 
> on tracking this down.
> 
> Does everybody runs this in a calibration mode to determine the drift of 
> the local clock and then use adjtimex() to fix the offset?  The error is 
>   so large that NTPD won't use it as a reference source.
> 

Well, I know nothing about this specific setup, but motherboard manufacturers
seem to feel that spending more than about 10c for a quartz crystal is a waste
of money.  Still, yours seems to be particularly bad.  Almost reminds me of
owning a Sun.

But seriously, you MIGHT want to try using 'tickadj', which is in the ntp package
to bring the clock on your computer closer to the 'real world' .  There is a 
description of the program and its arguments in the HTML section of the
ntp sources.

Good luck.

-- 
                                        Reg.Clemens
                                        reg at dwf.com





More information about the LinuxPPS mailing list