[LinuxPPS] PPS stops working after a few seconds

clemens at dwf.com clemens at dwf.com
Fri Feb 27 09:21:11 CET 2009


<snip>

> The "fix" I used was 
> to modify the init script to start then stop and then restart ppslidc and ntp.   
> I use a wrapper init script that handles starting ppsldisc and ntp.  This has 
> worked but is a hack that is covering up the real problem.

< snip >
> 
> So Reg there are more than just two users who are seeing this issue and if 
> memory serve me this is not limited to Oncore users.  I "fixed" it by always 
> starting things two times in my wrapper initi script which by the way always 
> works.  But it would be better if someone could figure out what the 
> underlaying problem is and fix it.  I have attached my wrapper init script if 
> anyone is interested.
> 

This is just to confirm Hal's discovery:-
     That starting ntpd, waiting 30seconds, stopping it and then restarting
     it, works around whatever the problem is in linuxPPS.

As noted earlier, I would assume that this is a timing problem in either
linuxPPS, or more likely a timing problem that we dont understand in the
kernel routines that linuxPPS calls.

This is a rather ugly workarround, but it works.
I would hope that it gives someone familiar with the kernel code an idea
as to where to look to correct this problem.
-- 
                                        Reg.Clemens
                                        reg at dwf.com





More information about the LinuxPPS mailing list