Re: [Linuxptp-users] phc2sys[273995.639]: failed to read clock: Invalid argument
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Richard C. <ric...@gm...> - 2014-03-04 16:17:42
|
On Tue, Mar 04, 2014 at 03:48:57PM +0000, Pham, Calvin wrote: > Calvin> output of strace > strace ./testptp -d /dev/ptp0 -g ... > clock_gettime(0xffffffe3 /* CLOCK_??? */, {1393947888, 731912808}) = 0 The kernel returns zero. > Calvin> Here is output of ltrace > > [root@V4-CALVIN ptptest]# ltrace ./testptp -d /dev/ptp0 -g ... > clock_gettime(0xffffffdb, 0x7fff7d779690, 0x7fff7d779690, -1, 0) = 0xffffffff But your C library returns -1. This is a bug in your C library. What distro and C library are you using? Thanks, Richard |