[LinuxPPS] LinuxPPS + kernel 2.6.34 = ok

Udo van den Heuvel udovdh at xs4all.nl
Mon May 24 10:11:56 CEST 2010


On 2010-05-24 10:02, Rodolfo Giometti wrote:
> On Mon, May 24, 2010 at 09:47:41AM +0200, Udo van den Heuvel wrote:
>> I noticed this:
>> # cat /sys/devices/virtual/pps/pps0/{assert,clear}
>> 1274686950.992846869#955
>> 1274686008.261192728#12
>>
>> I.e.: clear edge get stuck when ntpd is started.
> 
> Just clear edge?? Quite strange! O_o
> 
> Which serial driver are you using? You should check there if the clear
> edge can be skipped in some manner...

Config was unchanged w.r.t edges;
Currently it looks like this, slightly better:

# ntpq -pn
     remote           refid      st t when poll reach   delay   offset
jitter
==============================================================================
 127.127.1.0     .LOCL.          15 l  283   64   20    0.000    0.000
 0.001
*127.127.20.0    .GPS.           14 l   10   16  377    0.000  -166.77
 1.586
o127.127.22.0    .PPS.            0 l    6   16  377    0.000   -1.487
 1.098
+194.109.22.18   193.67.79.202    2 u   15   64   37   20.783  -25.156
41.186
+194.109.20.18   193.67.79.202    2 u   13   64   37   20.715   -4.952
26.040
+193.67.79.202   .PPS.            1 u   17   64   37   20.807  -10.927
24.469
+193.79.237.14   .PPS.            1 u   11   64   37   20.961   -4.956
27.261
+83.163.219.98   .DCFa.           1 u   14   64   37   40.681  -17.225
17.546
+134.221.205.12  .PPS.            1 u   13   64   37   24.663  -12.068
29.490


With in ntpd.conf:

# Garmin GPS 18 LVC w/ PPS
server 127.127.20.0 minpoll 4 prefer
fudge 127.127.20.0 flag3 0 flag2 0 time1 0.000
fudge 127.127.20.0 flag3 0 flag2 0 time1 0.000 stratum 14

server 127.127.22.0 minpoll 4 maxpoll 4
fudge 127.127.22.0 flag3 1 flag2 0 time1 0.000 stratum 0

Perhaps I should adapt the time1 values a bit, but what would be
conservative values that could be used? (GPS18-> Epia LT10000 w/ Fedora
12 and kernel.org 2.6.34, ntpd 4.2.6p1.)

Udo



More information about the LinuxPPS mailing list