On Fri, Jun 19, 2015 at 04:15:20AM +0000, Daniel Le wrote:
> And the log messages at start in "good case". I didn't save the log where my 
> system time was initially off a few minutes, though I remember the master 
> offsets were above 200000000. I'll need to reproduce such condition in order 
> to capture the exact log messages.

Your config looks good to me. The default value of first_step_threshold
is 20 microseconds, so in your test with ~1.5 millisecond initial
offset it should have stepped.

> ptp4l[792717.068]: master offset   -1567668 s0 freq  -13556 path delay      
> 1194
> ptp4l[792718.068]: master offset   -1569978 s0 freq  -13556 path delay      
> 1200
> ptp4l[792719.068]: master offset   -1554292 s1 freq  -13510 path delay     
> -4826
> ptp4l[792720.068]: master offset   -1556592 s2 freq -170726 path delay     
> -4826

But as we can see, it didn't step for some reason. Here is a test I
did using the same config file and it does step for me.

ptp4l[8898442.271]: master offset   -1093869 s0 freq   -1946 path delay     
54642
ptp4l[8898443.271]: master offset   -1094931 s0 freq   -1946 path delay     
54642
ptp4l[8898444.271]: master offset   -1102224 s1 freq   -6078 path delay     
55329
ptp4l[8898445.271]: master offset       9378 s2 freq   -5131 path delay     
55329

What linuxptp and kernel versions are you using?

-- 
Miroslav Lichvar

------------------------------------------------------------------------------
_______________________________________________
Linuxptp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to