Re: [Linuxptp-users] phc2sys[273995.639]: failed to read clock: Invalid argument
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Pham, C. <Cal...@ne...> - 2014-03-04 16:26:30
|
Richard, We are running Fedora Core 16, and glibc-2.14.90-24.fc16.9.x86_64. Thank you for your help! Now we understand why and take the next step. Calvin -----Original Message----- From: Richard Cochran [mailto:ric...@gm...] Sent: Tuesday, March 04, 2014 11:18 AM To: Pham, Calvin Cc: lin...@li... Subject: Re: [Linuxptp-users] phc2sys[273995.639]: failed to read clock: Invalid argument 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 |