[LinuxPPS] Problem - refclock_nmea: time_pps_kcbind failed

Rodolfo Giometti giometti at linux.it
Sun Jun 4 19:12:36 CEST 2006


On Thu, Jun 01, 2006 at 08:38:07PM -0500, Philip M. White wrote:
> 
> 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?

Usually error no 95 is "EOPNOTSUPP"... maybe the system are trying to
use the (currently) unsupported time_pps_kcbind() function?

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail:    giometti at enneenne.com
Linux Device Driver                             giometti at gnudd.com
Embedded Systems                     		giometti at linux.it
UNIX programming                     phone:     +39 349 2432127
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://ml.enneenne.com/pipermail/linuxpps/attachments/20060604/e86f8003/attachment.pgp


More information about the LinuxPPS mailing list