[LinuxPPS] Problems with ppstest and NTP

Heiko Gerstung heiko.gerstung at meinberg.de
Wed Jan 9 12:08:33 CET 2008


Hi there!

I just managed to get LinuxPPS (ntp-pps-2.6.23-quater.diff) to run on 
one of our embedded systems (kernel 2.6.23.12, i386 arch). I tried to 
follow the instructions on
http://wiki.enneenne.com/index.php/LinuxPPS_support

but I have a few problems/comments:

- when I try to fire up ppstest, I get:
/ppstest /dev/pps0
trying PPS source "/dev/pps0"
cannot create a PPS source from device "/dev/pps0" (Operation not supported)

My pps0 device looks OK to me:
 ls -l /dev/pps0
crwxrwxrwx    1 root     root     253,   0 Jan  9 10:48 /dev/pps0


And the debugging output looks fine, too:
PPS event on source 0 at 1199876811.203122984
capture clear seq #1260 for source 0

It seems that ntpd has the same problems here:
Jan  9 10:46:07 xxx daemon.err ntpd[5675]: refclock_atom: 
time_pps_create failed: Invalid argument
Jan  9 10:49:50 xxx daemon.notice ntpd[6239]: PARSE receiver #0: 
parse_start: could not set up PPS: Invalid argument


Any hint what I could check?

Thanks in advance,
 Heiko




More information about the LinuxPPS mailing list