[LinuxPPS] 2.6.32.8 etc

Udo van den Heuvel udovdh at xs4all.nl
Wed May 5 12:00:41 CEST 2010


Hello,

After some maintenance I brought the firewall up with 2.6.32.8.
I had some ntpd trouble:
[root at epia network-scripts]# service ntpd stop
Shutting down ntpd:                                        [  OK  ]
[root at epia network-scripts]# killall -9 ppsldisc
[1]+  Killed                  ppsldisc /dev/ttyS0
[root at epia network-scripts]# ppsldisc /dev/ttyS0 &
[1] 10545
[root at epia network-scripts]# cat /sys/devices/virtual/pps/pps0/assert
-4524219369226338857.273051908#2
[root at epia network-scripts]# cat /sys/devices/virtual/pps/pps0/clear
-4524219370026307087.273051911#5
[root at epia network-scripts]# cat /sys/devices/virtual/pps/pps0/clear
-4524219370026280790.273051914#8
[root at epia network-scripts]# cat /sys/devices/virtual/pps/pps0/assert
-4524219369226246305.273051916#10
[root at epia network-scripts]# service ntpd start
Starting ntpd:                                             [  OK  ]
[root at epia network-scripts]# cat /sys/devices/virtual/pps/pps0/assert
-4524219369224876466.1273051925#19
[root at epia network-scripts]# cat /sys/devices/virtual/pps/pps0/clear
-4524219370026182943.273051923#17
[root at epia network-scripts]# cat /sys/devices/virtual/pps/pps0/clear
-4524219370026182943.273051923#17
[root at epia network-scripts]# cat /sys/devices/virtual/pps/pps0/clear
-4524219370026182943.273051923#17
[root at epia network-scripts]# cat /sys/devices/virtual/pps/pps0/clear
-4524219370026182943.273051923#17
[root at epia network-scripts]# cat /sys/devices/virtual/pps/pps0/clear
-4524219370026182943.273051923#17
[root at epia network-scripts]# cat /sys/devices/virtual/pps/pps0/clear
-4524219370026182943.273051923#17
[root at epia network-scripts]# cat /sys/devices/virtual/pps/pps0/clear
-4524219370026182943.273051923#17


As you can see the clear edge gets 'stuck'.
This is LinuxPPS with Alexander's patches added.
Also notice the negative numbers in front.

Using ldattach stops both assert and clear.

Back on 2.6.30.9 I could, after a few restarts of ntpd, get things to
work well.

How can I fix these still present issues that are fixable by `stopping
ntpd, restarting ppsldisc, starting ntpd` a few times?




More information about the LinuxPPS mailing list