Hi Miroslav & Richard,

We upgraded linuxptp from 1.8 to 2.0. Perhaps that was the issue behind
kernel parameter tai_offset not being set (although the code in
*clock_hanlde_leap
*method *phc2sys.c* in both the versions looks same).

The same command *phc2sys -s em1 -c CLOCK_REALTIME -w -m *works fine now.
tai_offset is being set and we are able to get TAI time through
clock_gettime(CLOCK_TAI).

We are surprised and not sure what changed between the 2 runs.

Thanks for helping us.

Regards,
Dolly

On Mon, Nov 5, 2018 at 1:22 PM Miroslav Lichvar <mlich...@redhat.com> wrote:

> On Mon, Nov 05, 2018 at 08:52:02AM +0100, Miroslav Lichvar wrote:
> > On Mon, Nov 05, 2018 at 11:38:47AM +0530, Dolly Gyanchandani wrote:
> > > *phc2sys Command on Slave*
> > >
> > > phc2sys -s em1 -c CLOCK_REALTIME -w -m
> >
> > Can you please try "phc2sys -a -m" ?
>
> Er, I mean "phc2sys -a -r -m".
>
> --
> Miroslav Lichvar
>
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to