Hi Richard,
Corrected step_threshold to 0 and observed that slave's servo state going
to locked state.

But the offset is continuously increasing..

ptp4l[12074.007]: master offset     -31076 s2 freq      -1 path delay
 4145
ptp4l[12075.008]: master offset     -46783 s2 freq      -1 path delay
 4997
ptp4l[12076.008]: master offset     -60785 s2 freq      -1 path delay
 4145
ptp4l[12077.008]: master offset     -76475 s2 freq      -1 path delay
 4977
ptp4l[12078.008]: master offset     -92161 s2 freq      -1 path delay
 5809
ptp4l[12079.008]: master offset    -107002 s2 freq      -1 path delay
 5809
ptp4l[12080.008]: master offset    -121631 s2 freq      -1 path delay
 5596
ptp4l[12081.012]: master offset    -136760 s2 freq      -1 path delay
 5809
ptp4l[12082.008]: master offset    -151538 s2 freq      -1 path delay
 5809
ptp4l[12083.008]: master offset    -166173 s2 freq      -1 path delay
 5596
ptp4l[12084.009]: master offset    -181008 s2 freq      -1 path delay
 5596
ptp4l[12085.008]: master offset    -194884 s2 freq      -1 path delay
 4624
ptp4l[12086.008]: master offset    -208806 s2 freq      -1 path delay
 3698
ptp4l[12087.008]: master offset    -223651 s2 freq      -1 path delay
 3698
ptp4l[12088.008]: master offset    -238042 s2 freq      -1 path delay
 3241
ptp4l[12089.008]: master offset    -252481 s2 freq      -1 path delay
 2838
ptp4l[12090.009]: master offset    -267209 s2 freq      -1 path delay
 2722
ptp4l[12091.008]: master offset    -282064 s2 freq      -1 path delay
 2722
ptp4l[12092.009]: master offset    -296912 s2 freq      -1 path delay
 2722
ptp4l[12093.009]: master offset    -310850 s2 freq      -1 path delay
 1819
ptp4l[12094.009]: master offset    -327346 s2 freq      -1 path delay
 3463
ptp4l[12095.009]: master offset    -342191 s2 freq      -1 path delay
 3463
ptp4l[12096.009]: master offset    -356094 s2 freq      -1 path delay
 2521
ptp4l[12097.009]: master offset    -372022 s2 freq      -1 path delay
 3604
ptp4l[12098.009]: master offset    -386867 s2 freq      -1 path delay
 3604
ptp4l[12099.009]: master offset    -401705 s2 freq      -1 path delay
 3604
ptp4l[12100.009]: master offset    -416547 s2 freq      -1 path delay
 3604

Can you please help me in knowing what might be the reason for this?

-Aditya

On Tue, Jan 17, 2023 at 3:05 PM Richard Cochran <richardcoch...@gmail.com>
wrote:

> On Fri, Jan 13, 2023 at 12:32:21PM +0530, Aditya Venu via Linuxptp-users
> wrote:
>
> > d) I'm using default config files for both master and slave(attaching
> them
> > for reference)
>
> You are NOT using the default configuration.
> You changed step_threshold from the default of zero.
> This is the reason for the oscillation between S0 and S1.
>
> Thanks,
> Richard
>

-- 


Disclaimer:- This footer text is to convey that this email is sent by one 
of the users of IITH. So, do not mark it as SPAM.
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to