On Tue, Jul 18, 2017 at 04:09:57PM +0200, Petr Kulhavy wrote:
> 1. GM using HW time stamping

Okay, so make sure the master has the correct UTC offset.

        [global]
        utc_offset      37
or
        ptp4l --utc_offset=37

> The HW-timestamping slave is also running:
> /usr/sbin/phc2sys -s /dev/ptp0 -c CLOCK_REALTIME -S 1.0 -O 0

With '-O 0' you have set the UTC/TAI offset to zero by hand.  That
explains the offset between your two slaves.  Instead, use this:

        phc2sys -a -r

> Log of the SW-timestamping slave is:
> ptp4l: [413741.946] running in a temporal vortex

> The log of the HW-timestamping device is:
> ptp4l: [252.634] running in a temporal vortex

These messages about "temporal vortex" mean that the GM is reporting a
UTC offset that is less than the hard coded default.  Probably you are
running an older ptp4l version on the GM than on the slaves.  I
recommend running the same version on all the nodes.

Thanks,
Richard

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to