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:[email protected]] Sent: Tuesday, March 04, 2014 11:18 AM To: Pham, Calvin Cc: [email protected] 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 ------------------------------------------------------------------------------ Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk _______________________________________________ Linuxptp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxptp-users
