Re: [Linuxptp-users] Stuck in the ptp4l command
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Richard C. <ric...@gm...> - 2016-01-24 19:42:28
|
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 |