[LinuxPPS] Problem - refclock_nmea: time_pps_kcbind failed

Philip M. White pmw at qnan.org
Fri Jun 2 03:38:07 CEST 2006


On Thu, Jun 01, 2006 at 07:28:53PM -0500, Philip M. White wrote:
> [ntpd] refclock_nmea: time_pps_kcbind failed: Operation not supported
> [ntpd] too many recvbufs allocated (40)
>                 - Last output repeated 3 times -
> ... about 15 seconds later ...
> [ntpd] clock GPS_NMEA(0) event 'clk_fault' (0x03)

Follow-up on the issue: it's most likely not due to missing header
files.  I traced the issue with the source code, and the code is failing
in sys/timepps.h in the function:
static int netlink_msg(int socket, struct pps_netlink_msg *nlpps)
right here:

    /* Check the return value */
    memcpy(nlpps, NLMSG_DATA(nlh), sizeof(struct pps_netlink_msg));
    if (nlpps->ret < 0) {
        errno = -nlpps->ret;
        return -1;
    }

-1 is returned because nlpps->ret is -95.

Here, my l33t skills end.  I have no idea what's going on.  Anyone?

-- 
Philip
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://ml.enneenne.com/pipermail/linuxpps/attachments/20060601/98c39315/attachment.pgp


More information about the LinuxPPS mailing list