[LinuxPPS] no pps?

Folkert van Heusden folkert at vanheusden.com
Thu Mar 26 22:36:56 CET 2009


what does
lsof -n | grep ntp | grep dev
say?

On Thu, Mar 26, 2009 at 04:33:26PM +0100, Udo van den Heuvel wrote:
> Hello,
> 
> Something strange occurred:
> 
> # ntpq -pn
>       remote           refid      st t when poll reach   delay   offset 
>   jitter
> ==============================================================================
>   127.127.1.0     .LOCL.          15 l   38   64  377    0.000    0.000 
>    0.002
>   127.127.20.0    .GPS.           14 l    -   16    0    0.000    0.000 
>    0.002
>   127.127.22.0    .PPS.            0 l    -   16    0    0.000    0.000 
>    0.002
> +194.109.22.18   193.67.79.202    2 u   19   64  377    8.155  -85.073 
>   4.854
>   194.109.20.18   193.79.237.14    2 u   50   64  377    8.260  -84.352 
>    3.458
> +193.67.79.202   .PPS.            1 u   26   64  377   11.151  -84.027 
>   7.609
> *193.79.237.14   .PPS.            1 u   43   64  377    9.203  -84.055 
>   4.289
> +80.126.110.251  .DCFa.           1 u   56   64  377   25.081  -82.351 
>   7.702
> +134.221.205.12  .PPS.            1 u   37   64  377   11.331  -84.440 
>   3.881
> [root at epia]# cat /sys/devices/virtual/pps/pps0/{assert,clear}
> 1238081469.149995461#11832
> 1238081468.349993811#11832
> [root at epia]# cat /sys/devices/virtual/pps/pps0/{assert,clear}
> 1238081469.149995461#11832
> 1238081469.349995738#11833
> [root at epia]# cat /sys/devices/virtual/pps/pps0/{assert,clear}
> 1238081470.149998987#11833
> 1238081470.350000044#11834
> [root at epia]# ls -l /dev/*ps*
> lrwxrwxrwx 1 root root      5 2009-02-06 17:25 /dev/gps0 -> ttyS0
> lrwxrwxrwx 1 root root      4 2009-03-26 13:13 /dev/gpspps0 -> pps0
> crw-rw---- 1 root tty  254, 0 2009-03-26 13:13 /dev/pps0
> [root at epia]#
> 
> 
> So yes, we have pps on the serial port.
> Yes we have the pps device.
> And I did restart ntpd.
> So...?
> 
> _______________________________________________
> LinuxPPS mailing list
> LinuxPPS at ml.enneenne.com
> http://ml.enneenne.com/cgi-bin/mailman/listinfo/linuxpps
> Wiki: http://wiki.enneenne.com/index.php/LinuxPPS_support


Folkert van Heusden

-- 
www.vanheusden.com/multitail - win een vlaai van multivlaai! zorg
ervoor dat multitail opgenomen wordt in Fedora Core, AIX, Solaris of
HP/UX en win een vlaai naar keuze
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com



More information about the LinuxPPS mailing list