[ntp:questions] Re: [PPSKIT]: ppsctl insists on dying with Invalid argument
wiu09524 at pc5234.rz.uni-regensburg.de
Mon Aug 18 14:15:07 UTC 2003
Francois Meyer <fmeyer at ccali12.in2p3.fr> writes:
> kernel 2.4.19 then 2.4.20 on a redhat 8.0 box.
> (kernel sources have been installed independantly of
> RH rpms).
> The pps source is ok (it usually feeds a running ntp server)
> and arrives on port /dev/ttyS0.
> Everything patches and compiles well (except ppsctl in
> which I replaced :
> #include <sys/timepps.h>
> #include <linux/timepps.h>
> In both cases, (2.4.19 + PPSkit 2.0.2 and 2.4.20 + PPSkit 2.1.1)
> ppsctl -p/dev/ttyS0 dies with
> [root at s2 PPSkit-2.1.1]# ./ppsctl -p/dev/ttyS0
> (This version has been compiled on Linux 2.4.20-NANO
> using glibc-2.3. Now running Linux 2.4.20-NANO)
> time_pps_create(): Invalid argument
> [root at s2 PPSkit-2.1.1]#
> Any idea is welcome.
I'd say your kernel does not have the PPS API implementation.
> Thank you in advance.
> -- fm
More information about the questions