[LinuxPPS] Something Funny going on with linuxPPS.

clemens at dwf.com clemens at dwf.com
Wed Oct 17 22:56:13 CEST 2007


OK, First the version.
I appear to be running the ntp-pps-2.6.23-rc2.diff with linux-2.6.22 and
the patch-2.6.23-rc6 .

So Im running the LinuxPPS rc2 patch with rc6.

With a test program that just prints out the time hacks (if they have changed)
I see:

reg> [root at deneb Testing]# pps*4
fd2 = 3
getcap says 0x1133
getparam is 0x1113
set mode to 0x1113
getparam is 0x1113
Enter loop

A: 1192653829.3294954939 #437782
                           C: 1192653828.198436560 #437781
A: 1192653830.3294955022 #437783
                           C: 1192653829.198489907 #437782
A: 1192653831.3294955257 #437784
                           C: 1192653830.198540585 #437783
A: 1192653832.3294954727 #437785
                           C: 1192653831.198591520 #437784
A: 1192653833.3294955284 #437786
                           C: 1192653832.198644426 #437785
A: 1192653834.3294954791 #437787
                           C: 1192653833.198695348 #437786
A: 1192653835.3294955233 #437788
                           C: 1192653834.198746540 #437787

Note that the Assert for second 829.3 is followed by the Clear for second 
828.19
This cant happen.
These time hacks MUST be in ascending order !!!

Somehow the Clear timehacks seem to be 2sec behind where they should be
relative to the Assert timehacks.

I apologize for not having had time to actually LOOK at the code, but 
Im officially retired now and should have more time for things like this.
Just once I get the stacks piled up on my desk cleared off...
-- 
                                        Reg.Clemens
                                        reg at dwf.com





More information about the LinuxPPS mailing list