On Sun, Jan 24, 2016 at 03:42:51PM +0000, Namit Agrawal wrote:
> Hi All,
>          I am running linuxptp in software mode. This is the command that 
> I gave:
> ptp4l -i eth0 -m -S
> ptp4l[2562.960]: port 1: INITIALIZING to LISTENING on INITIALIZE
> ptp4l[2562.961]: port 0: INITIALIZING to LISTENING on INITIALIZE
> ptp4l[2569.982]: port 1: LISTENING to MASTER on 
> ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
> ptp4l[2569.982]: selected best master clock 080027.fffe.907de9
> ptp4l[2569.982]: assuming the grand master role
> 
> It is stuck at this point. Is there any solution for this??

There is no problem that I can see.

This is the expected output when your PC is the only PTP node in your
network.  Add another PTP node into your network, and something more
interesting will happen, namely one node will begin synchronizing to
the other one.
 
> Also, can you explain me who is master, grandmaster and slave here. My 
> guess is system clock is slave, eth0 is master and ptp4l is grandmaster. 
> Am I right or wrong??

No, these terms having nothing to do with the system clock.  Instead,
they describe the role of a single port in the PTP state machine.

Your port has progressed through the followings states:

   INITIALIZING -> LISTENING -> MASTER

It did this because no better master was discovered in your network.
(In fact, no other master at all is present.)

HTH
Richard

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to