Re: [Linuxptp-users] Hardware PTP clock synchronization
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Richard C. <ric...@gm...> - 2013-08-07 07:50:11
|
On Tue, Aug 06, 2013 at 10:10:19PM +0300, Alex Gavrilov wrote: > > > 1. Make sure you are using the latest version (ptp4l -v). > Yes, i compiled the latest version 1.3, but command "ptp4l -v" say nothing > (version 1.0 say "1.0") - is this normal? No, it is not normal. Something is terribly wrong. What happens when you recompile? Do you see output like this? gcc -Wall -DVER=1.3 -I/lib/modules/3.7.10-00002-gfc74603/build/usr/include -c -o ptp4l.o ptp4l.c ^^^^^^^^^ What is the output of: ./version.sh ? gcc -v ? > > Are you running another program that sends PTP messages at the same > time as ptp4l? > Running nothing, and wireshark shows only input packets from switch and > output packets from 82676, according to work of process ptp4l. And no other programs are reading the registers of your PCIe card, bypassing the driver? > I try to use ptp4l in software mode - he shows big master offset (i set > difference between current system time and time in switch of one day), and > this offset does not decrease with time - any clock (realtime, /dev/ptp0) > not synchronized with time from switch. I try to set little difference - > but synchronization does not occur. Looking at the output from your other mail, something in your system seems to be totally broken. The estimated frequency offset is way too large. Can it be that your oscillator is so badly off? What architecture is the machine that are you running? Thanks, Richard |