linuxptp-users Mailing List for linuxptp (Page 125)
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
You can subscribe to this list here.
2012 |
Jan
|
Feb
(10) |
Mar
(47) |
Apr
|
May
(26) |
Jun
(10) |
Jul
(4) |
Aug
(2) |
Sep
(2) |
Oct
(20) |
Nov
(14) |
Dec
(8) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2013 |
Jan
(6) |
Feb
(18) |
Mar
(27) |
Apr
(57) |
May
(32) |
Jun
(21) |
Jul
(79) |
Aug
(108) |
Sep
(13) |
Oct
(73) |
Nov
(51) |
Dec
(24) |
2014 |
Jan
(24) |
Feb
(41) |
Mar
(39) |
Apr
(5) |
May
(6) |
Jun
(2) |
Jul
(5) |
Aug
(15) |
Sep
(7) |
Oct
(6) |
Nov
|
Dec
(7) |
2015 |
Jan
(27) |
Feb
(18) |
Mar
(37) |
Apr
(8) |
May
(13) |
Jun
(44) |
Jul
(4) |
Aug
(50) |
Sep
(35) |
Oct
(6) |
Nov
(24) |
Dec
(19) |
2016 |
Jan
(30) |
Feb
(30) |
Mar
(23) |
Apr
(4) |
May
(12) |
Jun
(19) |
Jul
(26) |
Aug
(13) |
Sep
|
Oct
(23) |
Nov
(37) |
Dec
(15) |
2017 |
Jan
(33) |
Feb
(19) |
Mar
(20) |
Apr
(43) |
May
(39) |
Jun
(23) |
Jul
(20) |
Aug
(27) |
Sep
(10) |
Oct
(15) |
Nov
|
Dec
(24) |
2018 |
Jan
(3) |
Feb
(10) |
Mar
(34) |
Apr
(34) |
May
(28) |
Jun
(50) |
Jul
(27) |
Aug
(75) |
Sep
(21) |
Oct
(42) |
Nov
(25) |
Dec
(31) |
2019 |
Jan
(39) |
Feb
(28) |
Mar
(19) |
Apr
(7) |
May
(30) |
Jun
(22) |
Jul
(54) |
Aug
(36) |
Sep
(19) |
Oct
(33) |
Nov
(36) |
Dec
(32) |
2020 |
Jan
(29) |
Feb
(38) |
Mar
(29) |
Apr
(30) |
May
(39) |
Jun
(45) |
Jul
(31) |
Aug
(52) |
Sep
(40) |
Oct
(8) |
Nov
(48) |
Dec
(30) |
2021 |
Jan
(35) |
Feb
(32) |
Mar
(23) |
Apr
(55) |
May
(43) |
Jun
(63) |
Jul
(17) |
Aug
(24) |
Sep
(9) |
Oct
(31) |
Nov
(67) |
Dec
(55) |
2022 |
Jan
(31) |
Feb
(48) |
Mar
(76) |
Apr
(18) |
May
(13) |
Jun
(46) |
Jul
(75) |
Aug
(54) |
Sep
(59) |
Oct
(65) |
Nov
(44) |
Dec
(7) |
2023 |
Jan
(38) |
Feb
(32) |
Mar
(35) |
Apr
(23) |
May
(46) |
Jun
(53) |
Jul
(18) |
Aug
(10) |
Sep
(24) |
Oct
(15) |
Nov
(40) |
Dec
(6) |
From: Keller, J. E <jac...@in...> - 2015-08-18 20:04:37
|
Hi, On Tue, 2015-08-18 at 14:54 +0000, Harold Lapprich wrote: > Jake, > > Thanks for the detailed reply. My apologies but I need to iterate on > this one more time, want to keep master/slave with respect to the > system-network and NOT the PTP-network (for example the PTP-network > is a slave to the system-network master). > It doesn't matter what you want. The terminology is what it means. You changing it is confusing the discussion. The PTP network derives it's time from somewhere, be that GPS, NTP, it's own crystal on the grandmaster, whatever. This is not relevant to PTP. However, how you transition this time in is, sure. > Want to drop the 'ptp4l' scenario of system-network master from the > discussion to simplify things, another words PTP-network is always a > slave to the system-network or to NTP/ntpd master: > PTP always derives it's time from some source. > 1. NTP --> system clock -> phc2sys -> ptp4l (master) -> network > out to other PTP slaves --> ptp4l (slave) --> phc2sys --> system > clock (No NTP here) > When PTP is a master node, it gets its time from some source. In this case, NTP feeds the system clock, and phc2sys feeds the PTP master hardware clock which then feeds the PTP network. > > > Timemaster is slave-only. That is, PTP slave. The timemaster > configures such that it's ptp4l node will *never* become master > clock. The reason for this is because phc2sys only supports ntpshm > segment clock going from slave mode, and would have to switch servos > which no one has written code for. > Time master is slaveOnly, that is, PTP will always be slave, so it will always be creating a SHM segment clock that may (or may not) feed PTP. > For example: > ptp4l -i eth0 > phc2sys -a -r -r > chronyd 'local stratum 1' 'allow' > > The example configuration file shows 'ptp4l' being able to assume > GrandMaster but NOT system-network master due to a clock update > The example configuration file for PTP allows it perfectly to become GrandMaster and feed the system time. The issue you have is that when this happens you STILL have NTP configured to set the host clock. Your whole issue is that NTP is not aware of this and tries to reset system clock instead of serving that time. You need to fix NTP to assume that the system clock is absolute. > conflict between 'phc2sys' and the NTP/ntpd deamon (along with the > SHM or shared memory code issue you mentioned). Therefore 'phc2sys' > must always be a slave passing updates to 'ptp4l' which is > GrandMaster to the PTP-network? > This only happens when ptp4l is in "slave" mode. phc2sys will only write the system clock (when configured in -a -r mode) when ptp4l is *receiving* time from the network. Ie; it is deriving its time source from some other GrandMaster clock. > If 'ptp4l' can NOT become GrandMaster there would be no way of > synchronizing system-network clock with PTP-network clock. > Sure there is. Not every node has to be configured the same way. You configure one node manually with high values for its clock source and then it is elected GrandMaster clock. Then the other nodes are slaveOnly so they will never send announce messages, thus will never be selected. The issue is that the default NTP keeps trying to reset the clock after phc2sys configures it. If ptp4l is in "master" (or even the GrandMaster of a larger network) you can configure NTP to write the system clock, then phc2sys to tune the hardware clock running ptp4l to the system clock time source. Thus, ptp4l will serve (or as above, feed) the PTP network with this time source. If ptp4l is in "slave" mode it receives PTP time from the PTP network and tunes its internal clock. Then phc2sys feeds the system time from the internal clock. However, by default, ntpd is also trying to feed the system clock via its own mechanism. This is the conflict. Two sources controlling the clock. Thus, timemaster gets around this by not having phc2sys feed the system clock, but instead feed an SHM segmnent which ntpd/chronyd read to use as a possible input, along with NTP, and feed the system time from whichever is best. The issue is that phc2sys can't switch between these two modes, because phc2sys would have to change servos which is not supported. Regards, Jake > Thanks, > Harold > > > > > -----Original Message----- > From: Keller, Jacob E [mailto:jac...@in...] > Sent: Monday, August 17, 2015 6:14 PM > To: mli...@re...; Harold Lapprich < > hla...@pi...> > Cc: lin...@li... > Subject: Re: [Linuxptp-users] Grandmaster Auto-Negotiation and > Reconfiguration of phc2sys to ptp4l Synchronization > > Hello again, > > I think you're still missing something. > > Timemaster is slave-only. That is, PTP slave. The timemaster > configures such that it's ptp4l node will *never* become master > clock. The reason for this is because phc2sys only supports ntpshm > segment clock going from slave mode, and would have to switch servos > which no one has written code for. > > Thus, timemaster will only ever setup PTP slaves. Ie: these nodes can > never be elected as the master clock in the PTP network at all. > > I'm not sure what you mean by "entireSystem-network". > > Hopefully we are clear here, and "master/slave" designation only > refers to PTP network. > > You can decide what the SOURCE of the time on the ptp master is, > either GPS, NTP, etc. That's not of concern to PTP network. > > timemaster lets you configure a ptp4l *slave* to feed a time clock to > chronyd such that chronyd will either use NTP or PTP time whichever > one is considered more accurate. > > I don't believe timemaster configures chronyd to actually *serve* the > PTP time onto the NTP protocol, but Miroslav can correct me if I am > wrong. > > If you have a PTP master node, then it needs to get time from > somewhere. Usually this would be from say, NTP which writes the > master clock then the phc2sys writes the hardware clock onboard the > ethernet device using the system clock as a reference. > > In reverse, the ptp4l writes the hardware clock, then phc2sys writes > the system clock tuned to the hardware clock. But by default ntpd and > chronyd are configured to write the system clock and thus we have two > processes writing to the system clock, which results in the > clock_check errors you saw at the beginning of this thread. > > Those are the two flows in regards to ptp4l clock, system clock and > phc2sys and chronyd's roles. > > phc2sys can also provide a "SHM" reference to chronyd WITHOUT writing > the system clock, and chronyd will use this as a reference to tune > the system clock. This however can't work when phc2sys must write the > hardware clock, as chronyd and ntpd don't know of the hardware clock. > Thus, phc2sys can't swap between these modes, since it is not > designed to change servos from the PI servo to the NTPSHM servo mid > run, thus it can't automatically switch if the node is selected as > master. This is why timemaster configures ptp4l as slave only. > > Regards, > Jake > > On Mon, 2015-08-17 at 21:56 +0000, Harold Lapprich wrote: > Jake, > > Thanks for clarifying the function of the 'timemaster', a program > purely for configuring other programs. Going to go through your > response 1 line item at a time to simplify my response and clarify my > understanding. Getting specific terms in place for discussing this > matter has been helpful. > > So “master” means serving time out over the entireSystem-network NOT > the PTP-network (intentionally separating entireSystem-network and > PTP-network). When 'master' is used it is with regards to the > entireSystem-network and GrandMaster is used with regards to the PTP > -network. > > > > Miroslav mentioned that 'timemaster' is PTP slave only and starts > ptp4l with the slaveOnly option, so it can't become a master and that > didn't add up for me. I believe master and GrandMaster were getting > mixed up here (the slaveOnly options is for GrandMaster and not > master). > > "No, timemaster is currently PTP slave only. It starts ptp4l with the > slaveOnly option, so it can't become a master. With current phc2sys > it wouldn't work anyway. It would need to be modified to switch > between two servos, NTP SHM when the PTP clock is synchronized and a > real servo when the system clock is the source." > > > "For example: > > ptp4l -i eth0 > > phc2sys -a -r -r > > chronyd 'local stratum 1' 'allow'" > > This example provided 'ptp4l -i eth0' shows ptp4l starting withOUT > the slaveOnly option '-s' so in this case 'ptp4l' can assume > GrandMaster of the PTP-network (again it appears to be a mixing of > the terms master/entireSystem-network and Grandmaster/PTP-network)? > > > > Thanks for the flow diagram in your response is most helpful, I was > thinking 'timemaster' did more than just configure programs: > > > 1. NTP --> system clock -> phc2sys -> ptp4l (master) -> network > out to other PTP slaves --> ptp4l (slave) --> phc2sys --> system > clock (No NTP here) > > As you mentioned ptp4l(master) is the GrandMaster of the PTP > -network but NOT the 'master' serving time out over the entireSystem > -network. And ptp4l(master) is a slave to the NTP daemon via > 'phc2sys'. > > So having 'phc2sys' use the system clock to update 'ptp4l' isn't an > issue since the system clock is only being updated by one program the > ntpd deamon. > > > > > > OK we are now discussing the following flow configuration (if ptp4l > was to be the GrandMaster/PTP-network and 'master' of the > entireSystem-network): > > > 1. NTP< --system clock<- - phc2sys<-- ptp4l (master) -> network > out to other PTP slaves --> ptp4l (slave) --> phc2sys --> system > clock (No NTP here) > > To perform the NTP syncs PTP master setup, you need to do something > like: > > > 1. Configure NTP to control the system clock > > 2. Configure phc2sys to drive the PTP hardware clock on your > device. Your problem is that this behavior does not allow automatic > configuration, because phc2sys can’t switch servos while running. > Since it will attempt to drive the system time 100% when tuning > system time to ptp4l you get the result where NTP attempts to > interfere. > > a. If you do this manually, however, then it won’t automatically > switch directions for you > > In this case the system running the NTP server (ntpd deamon) would be > taking system time and broadcasting it across the entireSystem > -network or the 'master' using the Network Timing Protocol (NTP). > Also running on this same system would be the GrandMaster/PTP > -network. There would be NO conflict changing the system clock since > 'phc2sys' would be the only program and the ntpd daemon would be > broadcasting it across the entireSystem-network, correct? > > But there is an issue should the GrandMaster fail (removed or powered > down) in that both the NTP server and GrandMaster would be loss. In > this case the remaining slave/PTP-network devices would auto > -negotiate another GrandMaster but no NTP server would co-exist. So a > program would need to be running in the background on all systems > checking for a switch from slave to a GrandMaster/PTP-network device > and bring a NTP server up upon detecting a switch from slave to > GrandMaster, correct? > > > > > > It is possible your device is good enough to actually be the grand > -master of time, in which case it could be used to set the system > time as well. But that would really only occur if your PTP node is a > dedicated clock, and I can’t say I have experience setting one of > those up. > > This is a good point and I don't have an answer right now. If just a > local PTP-network existed then one of the system could be the NTP > server but way when you have the entire local network covered by PTP. > > > Thanks, > Harold > > > > > > From: Keller, Jacob E [mailto:jac...@in...] > Sent: Monday, August 17, 2015 2:09 PM > To: Harold Lapprich <hla...@pi...>; Miroslav Lichvar > <mli...@re...> > Cc: lin...@li... > Subject: RE: [Linuxptp-users] Grandmaster Auto-Negotiation and > Reconfiguration of phc2sys to ptp4l Synchronization > > Hi, > > Timemaster is a program to help simplify the configuration of the > other programs, in that sense, it doesn’t “do” any of the things on > its own. > > The flow diagram should be: > > > 1. NTP --> system clock -> phc2sys -> ptp4l (master) -> network > out to other PTP slaves --> ptp4l (slave) --> phc2sys --> system > clock (No NTP here) > > If you’re ptp4l is “master” that means it is serving time out the > network and thus is the only time when NTP should be configured it. > In this case, ptp4l would function as master on the PTP network, but > would be the slave of the NTP daemon via phc2sys. > > It is possible your device is good enough to actually be the grand > -master of time, in which case it could be used to set the system > time as well. But that would really only occur if your PTP node is a > dedicated clock, and I can’t say I have experience setting one of > those up. > > To perform the NTP syncs PTP master setup, you need to do something > like: > > > 1. Configure NTP to control the system clock > > 2. Configure phc2sys to drive the PTP hardware clock on your > device. Your problem is that this behavior does not allow automatic > configuration, because phc2sys can’t switch servos while running. > Since it will attempt to drive the system time 100% when tuning > system time to ptp4l you get the result where NTP attempts to > interfere. > > a. If you do this manually, however, then it won’t automatically > switch directions for you > > I believe that is the crux if your issue here. In addition, I think > you have the notion of slave/master backwards. Slave means that it is > receiving time from the network and thus is the “master” time source > in the system. Master means it is serving time out the network and is > thus the “slave” to the system time. This dual usage of terminology > can get confusing. > > Regards, > Jake > > From: Harold Lapprich [mailto:hla...@pi...] > Sent: Monday, August 17, 2015 10:16 AM > To: Miroslav Lichvar > Cc: Keller, Jacob E; lin...@li...<mailto: > lin...@li...> > Subject: RE: [Linuxptp-users] Grandmaster Auto-Negotiation and > Reconfiguration of phc2sys to ptp4l Synchronization > > Miroslav, > > Thanks again for the quick response, trying to simplify the > discussion and therefore minimize any mis-understanding by providing > the following simply flow diagrams: > > Need to support the following 2 scenarios using the 'linuxptp' > applications but NOT both in the same network configuration (only 1 > of the 2 will exist) > > 1. NTP <---- timemaster <---- system clock <---- phc2sys <--- > - 'ptp4l (master)' ----//---->ptp4l (slaves)---->phc2sys---->system > clock > > 2. NTP ----> timemaster ----> system clock ----> phc2sys --- > -> 'ptp4l (master)' ----//----ptp4l (slaves)---->phc2sys---->system > clock > > Please let me know if the proceeding flow diagrams are NOT correct? > > > > > I. Do you need NTP as a time source? Or just serve time over NTP? The > former conflicts with your requirement to allow ptp4l to be a master > as phc2sys would need to be the process that synchronizes the clock > and not chronyd/ntpd. > > Want the ability to have NTP as a time source or serve time over NTP > but not both at the same time (therefore need the capability to do > both, 1: when local network configuration is standalone then a > network server will be locked to PTP time via PTP-->NTP, and 2: when > the local network is a subset of a larger network and therefore NTP - > -> PTP). The configuration will be a known entity and therefore the > 'linuxptp' application configuration files created appropriately this > is NOT something that needs to happen automatically. > > > > > II. The former conflicts with your requirement to allow ptp4l to be a > master as phc2sys would need to be the process that synchronizes the > clock and not chronyd/ntpd. > > It is my understanding that 1 of the PTP clients has to be a master > (ptp4l master) but the master can be locked to the system clock by > phc2sys (this is what I am currently doing, ptp4l -i eth0 and phc2sys > -a -r -r). > Then 'timemaster' would be used to synchronize the system clock to > NTP. > > 1. NTP <---- timemaster <---- system clock <---- phc2sys <--- > - 'ptp4l (master)' ----//---->ptp4l (slaves)---->phc2sys---->system > clock > > > > > III. The problem is that when phc2sys is configured to feed > chronyd/ntpd, it is not able to synchronize the PTP clock in the > reverse direction when ptp4l is master. > > It is my understanding that the ptp4l(master) will be driving phc2sys > to drive the system clock (1: 'ptp2l -i eth0 -m', 'phc2sys -a -r -r > -m'; 2: 'ptp4l -i eth0 -s -m', 'phc2sys -a -r -m'). Or another words > PTP master clock will be driving everything. > > 1. NTP <---- timemaster <---- system clock <---- phc2sys <--- > - 'ptp4l (master)' ----//---->ptp4l (slaves)---->phc2sys---->system > clock > > > > > Jake Keller > > If you run ptp4l on all your systems, and each one also running > phc2sys, it will: > > on system which is "master" > > phc2sys will drive the ptp4l hw clock based on local time > > ptp4l will sync time out the network using PTP > > on systems which are not master > > ptp4l will sync time in from network to hw clock > > phc2sys will sync hw clock to CLOCK_REALTIME. > > > Also Jake Keller response: "But if you want to also use NTP as a > clock source, then you need to use timemaster, as otherwise phc2sys > and ntpd will interfere with each other." Dosen't this imply that > using 'timemaster' will remove this issue (phc2sys will synchronize > the PTP (master) clock to the system clock and NTP will synchronize > the system clock)? > > > Harold > > > > > -----Original Message----- > From: Miroslav Lichvar [mailto:mli...@re...] > Sent: Monday, August 17, 2015 11:54 AM > To: Harold Lapprich <hla...@pi...<mailto: > hla...@pi...>> > Cc: Keller, Jacob E <jac...@in...<mailto: > jac...@in...>>; lin...@li...<mail > to:lin...@li...> > Subject: Re: [Linuxptp-users] Grandmaster Auto-Negotiation and > Reconfiguration of phc2sys to ptp4l Synchronization > > On Mon, Aug 17, 2015 at 02:14:36PM +0000, Harold Lapprich wrote: > > "If you run ptp4l on all your systems, and each one also > > running phc2sys, it will: > > > > on system which is "master" > > > > phc2sys will drive the ptp4l hw clock based on local > > time > > > > ptp4l will sync time out the network using PTP > > > > on systems which are not master > > > > ptp4l will sync time in from network to hw clock > > > > phc2sys will sync hw clock to CLOCK_REALTIME. > > > > But if you want to also use NTP as a clock source, then you > > need to use timemaster, as otherwise phc2sys and ntpd will > > interfere with each other." > > Strictly speaking you just need to configure phc2sys to use the NTP > SHM servo to feed chronyd/ntpd so they can select the best source or > combine multiple sources and synchronize the clock. That's how > phc2sys is configured by timemaster. > > Do you need NTP as a time source? Or just serve time over NTP? The > former conflicts with your requirement to allow ptp4l to be a master > as phc2sys would need to be the process that synchronizes the clock > and not chronyd/ntpd. > > If you just need to serve NTP, you can configure chronyd/ntpd to not > synchronize the clock and keep phc2sys in the control of the clock. > > > So when NTP is to be the clock source (and vice versa) then > > 'timermaster' is needed because phc2sys and ntpd will interfere > > with one another. Now the problem is GrandMaster failure, if I > > understand you correctly when another PTP system on the network > > becomes the GrandMater 'timemaster' will NOT automatically > > reconfigure and start using NTP as the clock source (using > > timemaster to start PTP configuration on all systems on the PTP > > network)? > > The problem is that when phc2sys is configured to feed chronyd/ntpd, > it is not able to synchronize the PTP clock in the reverse direction > when ptp4l is master. > > > If this is the case then one would have to have another application > > running in the background to detect the switch, create the > > appropriate 'timemaster' configuration file and start? > > There is currently no way to configure timemaster to serve local time > over PTP. phc2sys would need to allow that first. > > -- > Miroslav Lichvar > |
From: Harold L. <hla...@pi...> - 2015-08-18 14:55:00
|
Jake, Thanks for the detailed reply. My apologies but I need to iterate on this one more time, want to keep master/slave with respect to the system-network and NOT the PTP-network (for example the PTP-network is a slave to the system-network master). Want to drop the 'ptp4l' scenario of system-network master from the discussion to simplify things, another words PTP-network is always a slave to the system-network or to NTP/ntpd master: 1. NTP --> system clock -> phc2sys -> ptp4l (master) -> network out to other PTP slaves --> ptp4l (slave) --> phc2sys --> system clock (No NTP here) Timemaster is slave-only. That is, PTP slave. The timemaster configures such that it's ptp4l node will *never* become master clock. The reason for this is because phc2sys only supports ntpshm segment clock going from slave mode, and would have to switch servos which no one has written code for. For example: ptp4l -i eth0 phc2sys -a -r -r chronyd 'local stratum 1' 'allow' The example configuration file shows 'ptp4l' being able to assume GrandMaster but NOT system-network master due to a clock update conflict between 'phc2sys' and the NTP/ntpd deamon (along with the SHM or shared memory code issue you mentioned). Therefore 'phc2sys' must always be a slave passing updates to 'ptp4l' which is GrandMaster to the PTP-network? If 'ptp4l' can NOT become GrandMaster there would be no way of synchronizing system-network clock with PTP-network clock. Thanks, Harold -----Original Message----- From: Keller, Jacob E [mailto:jac...@in...] Sent: Monday, August 17, 2015 6:14 PM To: mli...@re...; Harold Lapprich <hla...@pi...> Cc: lin...@li... Subject: Re: [Linuxptp-users] Grandmaster Auto-Negotiation and Reconfiguration of phc2sys to ptp4l Synchronization Hello again, I think you're still missing something. Timemaster is slave-only. That is, PTP slave. The timemaster configures such that it's ptp4l node will *never* become master clock. The reason for this is because phc2sys only supports ntpshm segment clock going from slave mode, and would have to switch servos which no one has written code for. Thus, timemaster will only ever setup PTP slaves. Ie: these nodes can never be elected as the master clock in the PTP network at all. I'm not sure what you mean by "entireSystem-network". Hopefully we are clear here, and "master/slave" designation only refers to PTP network. You can decide what the SOURCE of the time on the ptp master is, either GPS, NTP, etc. That's not of concern to PTP network. timemaster lets you configure a ptp4l *slave* to feed a time clock to chronyd such that chronyd will either use NTP or PTP time whichever one is considered more accurate. I don't believe timemaster configures chronyd to actually *serve* the PTP time onto the NTP protocol, but Miroslav can correct me if I am wrong. If you have a PTP master node, then it needs to get time from somewhere. Usually this would be from say, NTP which writes the master clock then the phc2sys writes the hardware clock onboard the ethernet device using the system clock as a reference. In reverse, the ptp4l writes the hardware clock, then phc2sys writes the system clock tuned to the hardware clock. But by default ntpd and chronyd are configured to write the system clock and thus we have two processes writing to the system clock, which results in the clock_check errors you saw at the beginning of this thread. Those are the two flows in regards to ptp4l clock, system clock and phc2sys and chronyd's roles. phc2sys can also provide a "SHM" reference to chronyd WITHOUT writing the system clock, and chronyd will use this as a reference to tune the system clock. This however can't work when phc2sys must write the hardware clock, as chronyd and ntpd don't know of the hardware clock. Thus, phc2sys can't swap between these modes, since it is not designed to change servos from the PI servo to the NTPSHM servo mid run, thus it can't automatically switch if the node is selected as master. This is why timemaster configures ptp4l as slave only. Regards, Jake On Mon, 2015-08-17 at 21:56 +0000, Harold Lapprich wrote: Jake, Thanks for clarifying the function of the 'timemaster', a program purely for configuring other programs. Going to go through your response 1 line item at a time to simplify my response and clarify my understanding. Getting specific terms in place for discussing this matter has been helpful. So “master” means serving time out over the entireSystem-network NOT the PTP-network (intentionally separating entireSystem-network and PTP-network). When 'master' is used it is with regards to the entireSystem-network and GrandMaster is used with regards to the PTP-network. Miroslav mentioned that 'timemaster' is PTP slave only and starts ptp4l with the slaveOnly option, so it can't become a master and that didn't add up for me. I believe master and GrandMaster were getting mixed up here (the slaveOnly options is for GrandMaster and not master). "No, timemaster is currently PTP slave only. It starts ptp4l with the slaveOnly option, so it can't become a master. With current phc2sys it wouldn't work anyway. It would need to be modified to switch between two servos, NTP SHM when the PTP clock is synchronized and a real servo when the system clock is the source." "For example: ptp4l -i eth0 phc2sys -a -r -r chronyd 'local stratum 1' 'allow'" This example provided 'ptp4l -i eth0' shows ptp4l starting withOUT the slaveOnly option '-s' so in this case 'ptp4l' can assume GrandMaster of the PTP-network (again it appears to be a mixing of the terms master/entireSystem-network and Grandmaster/PTP-network)? Thanks for the flow diagram in your response is most helpful, I was thinking 'timemaster' did more than just configure programs: 1. NTP --> system clock -> phc2sys -> ptp4l (master) -> network out to other PTP slaves --> ptp4l (slave) --> phc2sys --> system clock (No NTP here) As you mentioned ptp4l(master) is the GrandMaster of the PTP-network but NOT the 'master' serving time out over the entireSystem-network. And ptp4l(master) is a slave to the NTP daemon via 'phc2sys'. So having 'phc2sys' use the system clock to update 'ptp4l' isn't an issue since the system clock is only being updated by one program the ntpd deamon. OK we are now discussing the following flow configuration (if ptp4l was to be the GrandMaster/PTP-network and 'master' of the entireSystem-network): 1. NTP< --system clock<- - phc2sys<-- ptp4l (master) -> network out to other PTP slaves --> ptp4l (slave) --> phc2sys --> system clock (No NTP here) To perform the NTP syncs PTP master setup, you need to do something like: 1. Configure NTP to control the system clock 2. Configure phc2sys to drive the PTP hardware clock on your device. Your problem is that this behavior does not allow automatic configuration, because phc2sys can’t switch servos while running. Since it will attempt to drive the system time 100% when tuning system time to ptp4l you get the result where NTP attempts to interfere. a. If you do this manually, however, then it won’t automatically switch directions for you In this case the system running the NTP server (ntpd deamon) would be taking system time and broadcasting it across the entireSystem-network or the 'master' using the Network Timing Protocol (NTP). Also running on this same system would be the GrandMaster/PTP-network. There would be NO conflict changing the system clock since 'phc2sys' would be the only program and the ntpd daemon would be broadcasting it across the entireSystem-network, correct? But there is an issue should the GrandMaster fail (removed or powered down) in that both the NTP server and GrandMaster would be loss. In this case the remaining slave/PTP-network devices would auto-negotiate another GrandMaster but no NTP server would co-exist. So a program would need to be running in the background on all systems checking for a switch from slave to a GrandMaster/PTP-network device and bring a NTP server up upon detecting a switch from slave to GrandMaster, correct? It is possible your device is good enough to actually be the grand-master of time, in which case it could be used to set the system time as well. But that would really only occur if your PTP node is a dedicated clock, and I can’t say I have experience setting one of those up. This is a good point and I don't have an answer right now. If just a local PTP-network existed then one of the system could be the NTP server but way when you have the entire local network covered by PTP. Thanks, Harold From: Keller, Jacob E [mailto:jac...@in...] Sent: Monday, August 17, 2015 2:09 PM To: Harold Lapprich <hla...@pi...>; Miroslav Lichvar <mli...@re...> Cc: lin...@li... Subject: RE: [Linuxptp-users] Grandmaster Auto-Negotiation and Reconfiguration of phc2sys to ptp4l Synchronization Hi, Timemaster is a program to help simplify the configuration of the other programs, in that sense, it doesn’t “do” any of the things on its own. The flow diagram should be: 1. NTP --> system clock -> phc2sys -> ptp4l (master) -> network out to other PTP slaves --> ptp4l (slave) --> phc2sys --> system clock (No NTP here) If you’re ptp4l is “master” that means it is serving time out the network and thus is the only time when NTP should be configured it. In this case, ptp4l would function as master on the PTP network, but would be the slave of the NTP daemon via phc2sys. It is possible your device is good enough to actually be the grand-master of time, in which case it could be used to set the system time as well. But that would really only occur if your PTP node is a dedicated clock, and I can’t say I have experience setting one of those up. To perform the NTP syncs PTP master setup, you need to do something like: 1. Configure NTP to control the system clock 2. Configure phc2sys to drive the PTP hardware clock on your device. Your problem is that this behavior does not allow automatic configuration, because phc2sys can’t switch servos while running. Since it will attempt to drive the system time 100% when tuning system time to ptp4l you get the result where NTP attempts to interfere. a. If you do this manually, however, then it won’t automatically switch directions for you I believe that is the crux if your issue here. In addition, I think you have the notion of slave/master backwards. Slave means that it is receiving time from the network and thus is the “master” time source in the system. Master means it is serving time out the network and is thus the “slave” to the system time. This dual usage of terminology can get confusing. Regards, Jake From: Harold Lapprich [mailto:hla...@pi...] Sent: Monday, August 17, 2015 10:16 AM To: Miroslav Lichvar Cc: Keller, Jacob E; lin...@li...<mailto:lin...@li...> Subject: RE: [Linuxptp-users] Grandmaster Auto-Negotiation and Reconfiguration of phc2sys to ptp4l Synchronization Miroslav, Thanks again for the quick response, trying to simplify the discussion and therefore minimize any mis-understanding by providing the following simply flow diagrams: Need to support the following 2 scenarios using the 'linuxptp' applications but NOT both in the same network configuration (only 1 of the 2 will exist) 1. NTP <---- timemaster <---- system clock <---- phc2sys <---- 'ptp4l (master)' ----//---->ptp4l (slaves)---->phc2sys---->system clock 2. NTP ----> timemaster ----> system clock ----> phc2sys ----> 'ptp4l (master)' ----//----ptp4l (slaves)---->phc2sys---->system clock Please let me know if the proceeding flow diagrams are NOT correct? I. Do you need NTP as a time source? Or just serve time over NTP? The former conflicts with your requirement to allow ptp4l to be a master as phc2sys would need to be the process that synchronizes the clock and not chronyd/ntpd. Want the ability to have NTP as a time source or serve time over NTP but not both at the same time (therefore need the capability to do both, 1: when local network configuration is standalone then a network server will be locked to PTP time via PTP-->NTP, and 2: when the local network is a subset of a larger network and therefore NTP --> PTP). The configuration will be a known entity and therefore the 'linuxptp' application configuration files created appropriately this is NOT something that needs to happen automatically. II. The former conflicts with your requirement to allow ptp4l to be a master as phc2sys would need to be the process that synchronizes the clock and not chronyd/ntpd. It is my understanding that 1 of the PTP clients has to be a master (ptp4l master) but the master can be locked to the system clock by phc2sys (this is what I am currently doing, ptp4l -i eth0 and phc2sys -a -r -r). Then 'timemaster' would be used to synchronize the system clock to NTP. 1. NTP <---- timemaster <---- system clock <---- phc2sys <---- 'ptp4l (master)' ----//---->ptp4l (slaves)---->phc2sys---->system clock III. The problem is that when phc2sys is configured to feed chronyd/ntpd, it is not able to synchronize the PTP clock in the reverse direction when ptp4l is master. It is my understanding that the ptp4l(master) will be driving phc2sys to drive the system clock (1: 'ptp2l -i eth0 -m', 'phc2sys -a -r -r -m'; 2: 'ptp4l -i eth0 -s -m', 'phc2sys -a -r -m'). Or another words PTP master clock will be driving everything. 1. NTP <---- timemaster <---- system clock <---- phc2sys <---- 'ptp4l (master)' ----//---->ptp4l (slaves)---->phc2sys---->system clock Jake Keller If you run ptp4l on all your systems, and each one also running phc2sys, it will: on system which is "master" phc2sys will drive the ptp4l hw clock based on local time ptp4l will sync time out the network using PTP on systems which are not master ptp4l will sync time in from network to hw clock phc2sys will sync hw clock to CLOCK_REALTIME. Also Jake Keller response: "But if you want to also use NTP as a clock source, then you need to use timemaster, as otherwise phc2sys and ntpd will interfere with each other." Dosen't this imply that using 'timemaster' will remove this issue (phc2sys will synchronize the PTP (master) clock to the system clock and NTP will synchronize the system clock)? Harold -----Original Message----- From: Miroslav Lichvar [mailto:mli...@re...] Sent: Monday, August 17, 2015 11:54 AM To: Harold Lapprich <hla...@pi...<mailto:hla...@pi...>> Cc: Keller, Jacob E <jac...@in...<mailto:jac...@in...>>; lin...@li...<mailto:lin...@li...> Subject: Re: [Linuxptp-users] Grandmaster Auto-Negotiation and Reconfiguration of phc2sys to ptp4l Synchronization On Mon, Aug 17, 2015 at 02:14:36PM +0000, Harold Lapprich wrote: > "If you run ptp4l on all your systems, and each one also running phc2sys, it will: > > on system which is "master" > > phc2sys will drive the ptp4l hw clock based on local time > > ptp4l will sync time out the network using PTP > > on systems which are not master > > ptp4l will sync time in from network to hw clock > > phc2sys will sync hw clock to CLOCK_REALTIME. > > But if you want to also use NTP as a clock source, then you need to use timemaster, as otherwise phc2sys and ntpd will interfere with each other." Strictly speaking you just need to configure phc2sys to use the NTP SHM servo to feed chronyd/ntpd so they can select the best source or combine multiple sources and synchronize the clock. That's how phc2sys is configured by timemaster. Do you need NTP as a time source? Or just serve time over NTP? The former conflicts with your requirement to allow ptp4l to be a master as phc2sys would need to be the process that synchronizes the clock and not chronyd/ntpd. If you just need to serve NTP, you can configure chronyd/ntpd to not synchronize the clock and keep phc2sys in the control of the clock. > So when NTP is to be the clock source (and vice versa) then 'timermaster' is needed because phc2sys and ntpd will interfere with one another. Now the problem is GrandMaster failure, if I understand you correctly when another PTP system on the network becomes the GrandMater 'timemaster' will NOT automatically reconfigure and start using NTP as the clock source (using timemaster to start PTP configuration on all systems on the PTP network)? The problem is that when phc2sys is configured to feed chronyd/ntpd, it is not able to synchronize the PTP clock in the reverse direction when ptp4l is master. > If this is the case then one would have to have another application running in the background to detect the switch, create the appropriate 'timemaster' configuration file and start? There is currently no way to configure timemaster to serve local time over PTP. phc2sys would need to allow that first. -- Miroslav Lichvar |
From: Keller, J. E <jac...@in...> - 2015-08-17 22:14:34
|
Hello again, I think you're still missing something. Timemaster is slave-only. That is, PTP slave. The timemaster configures such that it's ptp4l node will *never* become master clock. The reason for this is because phc2sys only supports ntpshm segment clock going from slave mode, and would have to switch servos which no one has written code for. Thus, timemaster will only ever setup PTP slaves. Ie: these nodes can never be elected as the master clock in the PTP network at all. I'm not sure what you mean by "entireSystem-network". Hopefully we are clear here, and "master/slave" designation only refers to PTP network. You can decide what the SOURCE of the time on the ptp master is, either GPS, NTP, etc. That's not of concern to PTP network. timemaster lets you configure a ptp4l *slave* to feed a time clock to chronyd such that chronyd will either use NTP or PTP time whichever one is considered more accurate. I don't believe timemaster configures chronyd to actually *serve* the PTP time onto the NTP protocol, but Miroslav can correct me if I am wrong. If you have a PTP master node, then it needs to get time from somewhere. Usually this would be from say, NTP which writes the master clock then the phc2sys writes the hardware clock onboard the ethernet device using the system clock as a reference. In reverse, the ptp4l writes the hardware clock, then phc2sys writes the system clock tuned to the hardware clock. But by default ntpd and chronyd are configured to write the system clock and thus we have two processes writing to the system clock, which results in the clock_check errors you saw at the beginning of this thread. Those are the two flows in regards to ptp4l clock, system clock and phc2sys and chronyd's roles. phc2sys can also provide a "SHM" reference to chronyd WITHOUT writing the system clock, and chronyd will use this as a reference to tune the system clock. This however can't work when phc2sys must write the hardware clock, as chronyd and ntpd don't know of the hardware clock. Thus, phc2sys can't swap between these modes, since it is not designed to change servos from the PI servo to the NTPSHM servo mid run, thus it can't automatically switch if the node is selected as master. This is why timemaster configures ptp4l as slave only. Regards, Jake On Mon, 2015-08-17 at 21:56 +0000, Harold Lapprich wrote: Jake, Thanks for clarifying the function of the 'timemaster', a program purely for configuring other programs. Going to go through your response 1 line item at a time to simplify my response and clarify my understanding. Getting specific terms in place for discussing this matter has been helpful. So “master” means serving time out over the entireSystem-network NOT the PTP-network (intentionally separating entireSystem-network and PTP-network). When 'master' is used it is with regards to the entireSystem-network and GrandMaster is used with regards to the PTP-network. Miroslav mentioned that 'timemaster' is PTP slave only and starts ptp4l with the slaveOnly option, so it can't become a master and that didn't add up for me. I believe master and GrandMaster were getting mixed up here (the slaveOnly options is for GrandMaster and not master). "No, timemaster is currently PTP slave only. It starts ptp4l with the slaveOnly option, so it can't become a master. With current phc2sys it wouldn't work anyway. It would need to be modified to switch between two servos, NTP SHM when the PTP clock is synchronized and a real servo when the system clock is the source." "For example: ptp4l -i eth0 phc2sys -a -r -r chronyd 'local stratum 1' 'allow'" This example provided 'ptp4l -i eth0' shows ptp4l starting withOUT the slaveOnly option '-s' so in this case 'ptp4l' can assume GrandMaster of the PTP-network (again it appears to be a mixing of the terms master/entireSystem-network and Grandmaster/PTP-network)? Thanks for the flow diagram in your response is most helpful, I was thinking 'timemaster' did more than just configure programs: 1. NTP --> system clock -> phc2sys -> ptp4l (master) -> network out to other PTP slaves --> ptp4l (slave) --> phc2sys --> system clock (No NTP here) As you mentioned ptp4l(master) is the GrandMaster of the PTP-network but NOT the 'master' serving time out over the entireSystem-network. And ptp4l(master) is a slave to the NTP daemon via 'phc2sys'. So having 'phc2sys' use the system clock to update 'ptp4l' isn't an issue since the system clock is only being updated by one program the ntpd deamon. OK we are now discussing the following flow configuration (if ptp4l was to be the GrandMaster/PTP-network and 'master' of the entireSystem-network): 1. NTP< --system clock<- - phc2sys<-- ptp4l (master) -> network out to other PTP slaves --> ptp4l (slave) --> phc2sys --> system clock (No NTP here) To perform the NTP syncs PTP master setup, you need to do something like: 1. Configure NTP to control the system clock 2. Configure phc2sys to drive the PTP hardware clock on your device. Your problem is that this behavior does not allow automatic configuration, because phc2sys can’t switch servos while running. Since it will attempt to drive the system time 100% when tuning system time to ptp4l you get the result where NTP attempts to interfere. a. If you do this manually, however, then it won’t automatically switch directions for you In this case the system running the NTP server (ntpd deamon) would be taking system time and broadcasting it across the entireSystem-network or the 'master' using the Network Timing Protocol (NTP). Also running on this same system would be the GrandMaster/PTP-network. There would be NO conflict changing the system clock since 'phc2sys' would be the only program and the ntpd daemon would be broadcasting it across the entireSystem-network, correct? But there is an issue should the GrandMaster fail (removed or powered down) in that both the NTP server and GrandMaster would be loss. In this case the remaining slave/PTP-network devices would auto-negotiate another GrandMaster but no NTP server would co-exist. So a program would need to be running in the background on all systems checking for a switch from slave to a GrandMaster/PTP-network device and bring a NTP server up upon detecting a switch from slave to GrandMaster, correct? It is possible your device is good enough to actually be the grand-master of time, in which case it could be used to set the system time as well. But that would really only occur if your PTP node is a dedicated clock, and I can’t say I have experience setting one of those up. This is a good point and I don't have an answer right now. If just a local PTP-network existed then one of the system could be the NTP server but way when you have the entire local network covered by PTP. Thanks, Harold From: Keller, Jacob E [mailto:jac...@in...] Sent: Monday, August 17, 2015 2:09 PM To: Harold Lapprich <hla...@pi...>; Miroslav Lichvar <mli...@re...> Cc: lin...@li... Subject: RE: [Linuxptp-users] Grandmaster Auto-Negotiation and Reconfiguration of phc2sys to ptp4l Synchronization Hi, Timemaster is a program to help simplify the configuration of the other programs, in that sense, it doesn’t “do” any of the things on its own. The flow diagram should be: 1. NTP --> system clock -> phc2sys -> ptp4l (master) -> network out to other PTP slaves --> ptp4l (slave) --> phc2sys --> system clock (No NTP here) If you’re ptp4l is “master” that means it is serving time out the network and thus is the only time when NTP should be configured it. In this case, ptp4l would function as master on the PTP network, but would be the slave of the NTP daemon via phc2sys. It is possible your device is good enough to actually be the grand-master of time, in which case it could be used to set the system time as well. But that would really only occur if your PTP node is a dedicated clock, and I can’t say I have experience setting one of those up. To perform the NTP syncs PTP master setup, you need to do something like: 1. Configure NTP to control the system clock 2. Configure phc2sys to drive the PTP hardware clock on your device. Your problem is that this behavior does not allow automatic configuration, because phc2sys can’t switch servos while running. Since it will attempt to drive the system time 100% when tuning system time to ptp4l you get the result where NTP attempts to interfere. a. If you do this manually, however, then it won’t automatically switch directions for you I believe that is the crux if your issue here. In addition, I think you have the notion of slave/master backwards. Slave means that it is receiving time from the network and thus is the “master” time source in the system. Master means it is serving time out the network and is thus the “slave” to the system time. This dual usage of terminology can get confusing. Regards, Jake From: Harold Lapprich [mailto:hla...@pi...] Sent: Monday, August 17, 2015 10:16 AM To: Miroslav Lichvar Cc: Keller, Jacob E; lin...@li...<mailto:lin...@li...> Subject: RE: [Linuxptp-users] Grandmaster Auto-Negotiation and Reconfiguration of phc2sys to ptp4l Synchronization Miroslav, Thanks again for the quick response, trying to simplify the discussion and therefore minimize any mis-understanding by providing the following simply flow diagrams: Need to support the following 2 scenarios using the 'linuxptp' applications but NOT both in the same network configuration (only 1 of the 2 will exist) 1. NTP <---- timemaster <---- system clock <---- phc2sys <---- 'ptp4l (master)' ----//---->ptp4l (slaves)---->phc2sys---->system clock 2. NTP ----> timemaster ----> system clock ----> phc2sys ----> 'ptp4l (master)' ----//----ptp4l (slaves)---->phc2sys---->system clock Please let me know if the proceeding flow diagrams are NOT correct? I. Do you need NTP as a time source? Or just serve time over NTP? The former conflicts with your requirement to allow ptp4l to be a master as phc2sys would need to be the process that synchronizes the clock and not chronyd/ntpd. Want the ability to have NTP as a time source or serve time over NTP but not both at the same time (therefore need the capability to do both, 1: when local network configuration is standalone then a network server will be locked to PTP time via PTP-->NTP, and 2: when the local network is a subset of a larger network and therefore NTP --> PTP). The configuration will be a known entity and therefore the 'linuxptp' application configuration files created appropriately this is NOT something that needs to happen automatically. II. The former conflicts with your requirement to allow ptp4l to be a master as phc2sys would need to be the process that synchronizes the clock and not chronyd/ntpd. It is my understanding that 1 of the PTP clients has to be a master (ptp4l master) but the master can be locked to the system clock by phc2sys (this is what I am currently doing, ptp4l -i eth0 and phc2sys -a -r -r). Then 'timemaster' would be used to synchronize the system clock to NTP. 1. NTP <---- timemaster <---- system clock <---- phc2sys <---- 'ptp4l (master)' ----//---->ptp4l (slaves)---->phc2sys---->system clock III. The problem is that when phc2sys is configured to feed chronyd/ntpd, it is not able to synchronize the PTP clock in the reverse direction when ptp4l is master. It is my understanding that the ptp4l(master) will be driving phc2sys to drive the system clock (1: 'ptp2l -i eth0 -m', 'phc2sys -a -r -r -m'; 2: 'ptp4l -i eth0 -s -m', 'phc2sys -a -r -m'). Or another words PTP master clock will be driving everything. 1. NTP <---- timemaster <---- system clock <---- phc2sys <---- 'ptp4l (master)' ----//---->ptp4l (slaves)---->phc2sys---->system clock Jake Keller If you run ptp4l on all your systems, and each one also running phc2sys, it will: on system which is "master" phc2sys will drive the ptp4l hw clock based on local time ptp4l will sync time out the network using PTP on systems which are not master ptp4l will sync time in from network to hw clock phc2sys will sync hw clock to CLOCK_REALTIME. Also Jake Keller response: "But if you want to also use NTP as a clock source, then you need to use timemaster, as otherwise phc2sys and ntpd will interfere with each other." Dosen't this imply that using 'timemaster' will remove this issue (phc2sys will synchronize the PTP (master) clock to the system clock and NTP will synchronize the system clock)? Harold -----Original Message----- From: Miroslav Lichvar [mailto:mli...@re...] Sent: Monday, August 17, 2015 11:54 AM To: Harold Lapprich <hla...@pi...<mailto:hla...@pi...>> Cc: Keller, Jacob E <jac...@in...<mailto:jac...@in...>>; lin...@li...<mailto:lin...@li...> Subject: Re: [Linuxptp-users] Grandmaster Auto-Negotiation and Reconfiguration of phc2sys to ptp4l Synchronization On Mon, Aug 17, 2015 at 02:14:36PM +0000, Harold Lapprich wrote: > "If you run ptp4l on all your systems, and each one also running phc2sys, it will: > > on system which is "master" > > phc2sys will drive the ptp4l hw clock based on local time > > ptp4l will sync time out the network using PTP > > on systems which are not master > > ptp4l will sync time in from network to hw clock > > phc2sys will sync hw clock to CLOCK_REALTIME. > > But if you want to also use NTP as a clock source, then you need to use timemaster, as otherwise phc2sys and ntpd will interfere with each other." Strictly speaking you just need to configure phc2sys to use the NTP SHM servo to feed chronyd/ntpd so they can select the best source or combine multiple sources and synchronize the clock. That's how phc2sys is configured by timemaster. Do you need NTP as a time source? Or just serve time over NTP? The former conflicts with your requirement to allow ptp4l to be a master as phc2sys would need to be the process that synchronizes the clock and not chronyd/ntpd. If you just need to serve NTP, you can configure chronyd/ntpd to not synchronize the clock and keep phc2sys in the control of the clock. > So when NTP is to be the clock source (and vice versa) then 'timermaster' is needed because phc2sys and ntpd will interfere with one another. Now the problem is GrandMaster failure, if I understand you correctly when another PTP system on the network becomes the GrandMater 'timemaster' will NOT automatically reconfigure and start using NTP as the clock source (using timemaster to start PTP configuration on all systems on the PTP network)? The problem is that when phc2sys is configured to feed chronyd/ntpd, it is not able to synchronize the PTP clock in the reverse direction when ptp4l is master. > If this is the case then one would have to have another application running in the background to detect the switch, create the appropriate 'timemaster' configuration file and start? There is currently no way to configure timemaster to serve local time over PTP. phc2sys would need to allow that first. -- Miroslav Lichvar |
From: Harold L. <hla...@pi...> - 2015-08-17 21:57:00
|
Jake, Thanks for clarifying the function of the 'timemaster', a program purely for configuring other programs. Going to go through your response 1 line item at a time to simplify my response and clarify my understanding. Getting specific terms in place for discussing this matter has been helpful. So "master" means serving time out over the entireSystem-network NOT the PTP-network (intentionally separating entireSystem-network and PTP-network). When 'master' is used it is with regards to the entireSystem-network and GrandMaster is used with regards to the PTP-network. Miroslav mentioned that 'timemaster' is PTP slave only and starts ptp4l with the slaveOnly option, so it can't become a master and that didn't add up for me. I believe master and GrandMaster were getting mixed up here (the slaveOnly options is for GrandMaster and not master). "No, timemaster is currently PTP slave only. It starts ptp4l with the slaveOnly option, so it can't become a master. With current phc2sys it wouldn't work anyway. It would need to be modified to switch between two servos, NTP SHM when the PTP clock is synchronized and a real servo when the system clock is the source." "For example: ptp4l -i eth0 phc2sys -a -r -r chronyd 'local stratum 1' 'allow'" This example provided 'ptp4l -i eth0' shows ptp4l starting withOUT the slaveOnly option '-s' so in this case 'ptp4l' can assume GrandMaster of the PTP-network (again it appears to be a mixing of the terms master/entireSystem-network and Grandmaster/PTP-network)? Thanks for the flow diagram in your response is most helpful, I was thinking 'timemaster' did more than just configure programs: 1. NTP --> system clock -> phc2sys -> ptp4l (master) -> network out to other PTP slaves --> ptp4l (slave) --> phc2sys --> system clock (No NTP here) As you mentioned ptp4l(master) is the GrandMaster of the PTP-network but NOT the 'master' serving time out over the entireSystem-network. And ptp4l(master) is a slave to the NTP daemon via 'phc2sys'. So having 'phc2sys' use the system clock to update 'ptp4l' isn't an issue since the system clock is only being updated by one program the ntpd deamon. OK we are now discussing the following flow configuration (if ptp4l was to be the GrandMaster/PTP-network and 'master' of the entireSystem-network): 1. NTP< --system clock<- - phc2sys<-- ptp4l (master) -> network out to other PTP slaves --> ptp4l (slave) --> phc2sys --> system clock (No NTP here) To perform the NTP syncs PTP master setup, you need to do something like: 1. Configure NTP to control the system clock 2. Configure phc2sys to drive the PTP hardware clock on your device. Your problem is that this behavior does not allow automatic configuration, because phc2sys can't switch servos while running. Since it will attempt to drive the system time 100% when tuning system time to ptp4l you get the result where NTP attempts to interfere. a. If you do this manually, however, then it won't automatically switch directions for you In this case the system running the NTP server (ntpd deamon) would be taking system time and broadcasting it across the entireSystem-network or the 'master' using the Network Timing Protocol (NTP). Also running on this same system would be the GrandMaster/PTP-network. There would be NO conflict changing the system clock since 'phc2sys' would be the only program and the ntpd daemon would be broadcasting it across the entireSystem-network, correct? But there is an issue should the GrandMaster fail (removed or powered down) in that both the NTP server and GrandMaster would be loss. In this case the remaining slave/PTP-network devices would auto-negotiate another GrandMaster but no NTP server would co-exist. So a program would need to be running in the background on all systems checking for a switch from slave to a GrandMaster/PTP-network device and bring a NTP server up upon detecting a switch from slave to GrandMaster, correct? It is possible your device is good enough to actually be the grand-master of time, in which case it could be used to set the system time as well. But that would really only occur if your PTP node is a dedicated clock, and I can't say I have experience setting one of those up. This is a good point and I don't have an answer right now. If just a local PTP-network existed then one of the system could be the NTP server but way when you have the entire local network covered by PTP. Thanks, Harold From: Keller, Jacob E [mailto:jac...@in...] Sent: Monday, August 17, 2015 2:09 PM To: Harold Lapprich <hla...@pi...>; Miroslav Lichvar <mli...@re...> Cc: lin...@li... Subject: RE: [Linuxptp-users] Grandmaster Auto-Negotiation and Reconfiguration of phc2sys to ptp4l Synchronization Hi, Timemaster is a program to help simplify the configuration of the other programs, in that sense, it doesn't "do" any of the things on its own. The flow diagram should be: 1. NTP --> system clock -> phc2sys -> ptp4l (master) -> network out to other PTP slaves --> ptp4l (slave) --> phc2sys --> system clock (No NTP here) If you're ptp4l is "master" that means it is serving time out the network and thus is the only time when NTP should be configured it. In this case, ptp4l would function as master on the PTP network, but would be the slave of the NTP daemon via phc2sys. It is possible your device is good enough to actually be the grand-master of time, in which case it could be used to set the system time as well. But that would really only occur if your PTP node is a dedicated clock, and I can't say I have experience setting one of those up. To perform the NTP syncs PTP master setup, you need to do something like: 1. Configure NTP to control the system clock 2. Configure phc2sys to drive the PTP hardware clock on your device. Your problem is that this behavior does not allow automatic configuration, because phc2sys can't switch servos while running. Since it will attempt to drive the system time 100% when tuning system time to ptp4l you get the result where NTP attempts to interfere. a. If you do this manually, however, then it won't automatically switch directions for you I believe that is the crux if your issue here. In addition, I think you have the notion of slave/master backwards. Slave means that it is receiving time from the network and thus is the "master" time source in the system. Master means it is serving time out the network and is thus the "slave" to the system time. This dual usage of terminology can get confusing. Regards, Jake From: Harold Lapprich [mailto:hla...@pi...] Sent: Monday, August 17, 2015 10:16 AM To: Miroslav Lichvar Cc: Keller, Jacob E; lin...@li...<mailto:lin...@li...> Subject: RE: [Linuxptp-users] Grandmaster Auto-Negotiation and Reconfiguration of phc2sys to ptp4l Synchronization Miroslav, Thanks again for the quick response, trying to simplify the discussion and therefore minimize any mis-understanding by providing the following simply flow diagrams: Need to support the following 2 scenarios using the 'linuxptp' applications but NOT both in the same network configuration (only 1 of the 2 will exist) 1. NTP <---- timemaster <---- system clock <---- phc2sys <---- 'ptp4l (master)' ----//---->ptp4l (slaves)---->phc2sys---->system clock 2. NTP ----> timemaster ----> system clock ----> phc2sys ----> 'ptp4l (master)' ----//----ptp4l (slaves)---->phc2sys---->system clock Please let me know if the proceeding flow diagrams are NOT correct? I. Do you need NTP as a time source? Or just serve time over NTP? The former conflicts with your requirement to allow ptp4l to be a master as phc2sys would need to be the process that synchronizes the clock and not chronyd/ntpd. Want the ability to have NTP as a time source or serve time over NTP but not both at the same time (therefore need the capability to do both, 1: when local network configuration is standalone then a network server will be locked to PTP time via PTP-->NTP, and 2: when the local network is a subset of a larger network and therefore NTP --> PTP). The configuration will be a known entity and therefore the 'linuxptp' application configuration files created appropriately this is NOT something that needs to happen automatically. II. The former conflicts with your requirement to allow ptp4l to be a master as phc2sys would need to be the process that synchronizes the clock and not chronyd/ntpd. It is my understanding that 1 of the PTP clients has to be a master (ptp4l master) but the master can be locked to the system clock by phc2sys (this is what I am currently doing, ptp4l -i eth0 and phc2sys -a -r -r). Then 'timemaster' would be used to synchronize the system clock to NTP. 1. NTP <---- timemaster <---- system clock <---- phc2sys <---- 'ptp4l (master)' ----//---->ptp4l (slaves)---->phc2sys---->system clock III. The problem is that when phc2sys is configured to feed chronyd/ntpd, it is not able to synchronize the PTP clock in the reverse direction when ptp4l is master. It is my understanding that the ptp4l(master) will be driving phc2sys to drive the system clock (1: 'ptp2l -i eth0 -m', 'phc2sys -a -r -r -m'; 2: 'ptp4l -i eth0 -s -m', 'phc2sys -a -r -m'). Or another words PTP master clock will be driving everything. 1. NTP <---- timemaster <---- system clock <---- phc2sys <---- 'ptp4l (master)' ----//---->ptp4l (slaves)---->phc2sys---->system clock Jake Keller If you run ptp4l on all your systems, and each one also running phc2sys, it will: on system which is "master" phc2sys will drive the ptp4l hw clock based on local time ptp4l will sync time out the network using PTP on systems which are not master ptp4l will sync time in from network to hw clock phc2sys will sync hw clock to CLOCK_REALTIME. Also Jake Keller response: "But if you want to also use NTP as a clock source, then you need to use timemaster, as otherwise phc2sys and ntpd will interfere with each other." Dosen't this imply that using 'timemaster' will remove this issue (phc2sys will synchronize the PTP (master) clock to the system clock and NTP will synchronize the system clock)? Harold -----Original Message----- From: Miroslav Lichvar [mailto:mli...@re...] Sent: Monday, August 17, 2015 11:54 AM To: Harold Lapprich <hla...@pi...<mailto:hla...@pi...>> Cc: Keller, Jacob E <jac...@in...<mailto:jac...@in...>>; lin...@li...<mailto:lin...@li...> Subject: Re: [Linuxptp-users] Grandmaster Auto-Negotiation and Reconfiguration of phc2sys to ptp4l Synchronization On Mon, Aug 17, 2015 at 02:14:36PM +0000, Harold Lapprich wrote: > "If you run ptp4l on all your systems, and each one also running phc2sys, it will: > > on system which is "master" > > phc2sys will drive the ptp4l hw clock based on local time > > ptp4l will sync time out the network using PTP > > on systems which are not master > > ptp4l will sync time in from network to hw clock > > phc2sys will sync hw clock to CLOCK_REALTIME. > > But if you want to also use NTP as a clock source, then you need to use timemaster, as otherwise phc2sys and ntpd will interfere with each other." Strictly speaking you just need to configure phc2sys to use the NTP SHM servo to feed chronyd/ntpd so they can select the best source or combine multiple sources and synchronize the clock. That's how phc2sys is configured by timemaster. Do you need NTP as a time source? Or just serve time over NTP? The former conflicts with your requirement to allow ptp4l to be a master as phc2sys would need to be the process that synchronizes the clock and not chronyd/ntpd. If you just need to serve NTP, you can configure chronyd/ntpd to not synchronize the clock and keep phc2sys in the control of the clock. > So when NTP is to be the clock source (and vice versa) then 'timermaster' is needed because phc2sys and ntpd will interfere with one another. Now the problem is GrandMaster failure, if I understand you correctly when another PTP system on the network becomes the GrandMater 'timemaster' will NOT automatically reconfigure and start using NTP as the clock source (using timemaster to start PTP configuration on all systems on the PTP network)? The problem is that when phc2sys is configured to feed chronyd/ntpd, it is not able to synchronize the PTP clock in the reverse direction when ptp4l is master. > If this is the case then one would have to have another application running in the background to detect the switch, create the appropriate 'timemaster' configuration file and start? There is currently no way to configure timemaster to serve local time over PTP. phc2sys would need to allow that first. -- Miroslav Lichvar |
From: Keller, J. E <jac...@in...> - 2015-08-17 18:09:22
|
Hi, Timemaster is a program to help simplify the configuration of the other programs, in that sense, it doesn't "do" any of the things on its own. The flow diagram should be: 1. NTP --> system clock -> phc2sys -> ptp4l (master) -> network out to other PTP slaves ? ptp4l (slave) ? phc2sys ? system clock (No NTP here) If you're ptp4l is "master" that means it is serving time out the network and thus is the only time when NTP should be configured it. In this case, ptp4l would function as master on the PTP network, but would be the slave of the NTP daemon via phc2sys. It is possible your device is good enough to actually be the grand-master of time, in which case it could be used to set the system time as well. But that would really only occur if your PTP node is a dedicated clock, and I can't say I have experience setting one of those up. To perform the NTP syncs PTP master setup, you need to do something like: 1. Configure NTP to control the system clock 2. Configure phc2sys to drive the PTP hardware clock on your device. Your problem is that this behavior does not allow automatic configuration, because phc2sys can't switch servos while running. Since it will attempt to drive the system time 100% when tuning system time to ptp4l you get the result where NTP attempts to interfere. a. If you do this manually, however, then it won't automatically switch directions for you I believe that is the crux if your issue here. In addition, I think you have the notion of slave/master backwards. Slave means that it is receiving time from the network and thus is the "master" time source in the system. Master means it is serving time out the network and is thus the "slave" to the system time. This dual usage of terminology can get confusing. Regards, Jake From: Harold Lapprich [mailto:hla...@pi...] Sent: Monday, August 17, 2015 10:16 AM To: Miroslav Lichvar Cc: Keller, Jacob E; lin...@li... Subject: RE: [Linuxptp-users] Grandmaster Auto-Negotiation and Reconfiguration of phc2sys to ptp4l Synchronization Miroslav, Thanks again for the quick response, trying to simplify the discussion and therefore minimize any mis-understanding by providing the following simply flow diagrams: Need to support the following 2 scenarios using the 'linuxptp' applications but NOT both in the same network configuration (only 1 of the 2 will exist) 1. NTP <---- timemaster <---- system clock <---- phc2sys <---- 'ptp4l (master)' ----//---->ptp4l (slaves)---->phc2sys---->system clock 2. NTP ----> timemaster ----> system clock ----> phc2sys ----> 'ptp4l (master)' ----//----ptp4l (slaves)---->phc2sys---->system clock Please let me know if the proceeding flow diagrams are NOT correct? I. Do you need NTP as a time source? Or just serve time over NTP? The former conflicts with your requirement to allow ptp4l to be a master as phc2sys would need to be the process that synchronizes the clock and not chronyd/ntpd. Want the ability to have NTP as a time source or serve time over NTP but not both at the same time (therefore need the capability to do both, 1: when local network configuration is standalone then a network server will be locked to PTP time via PTP-->NTP, and 2: when the local network is a subset of a larger network and therefore NTP --> PTP). The configuration will be a known entity and therefore the 'linuxptp' application configuration files created appropriately this is NOT something that needs to happen automatically. II. The former conflicts with your requirement to allow ptp4l to be a master as phc2sys would need to be the process that synchronizes the clock and not chronyd/ntpd. It is my understanding that 1 of the PTP clients has to be a master (ptp4l master) but the master can be locked to the system clock by phc2sys (this is what I am currently doing, ptp4l -i eth0 and phc2sys -a -r -r). Then 'timemaster' would be used to synchronize the system clock to NTP. 1. NTP <---- timemaster <---- system clock <---- phc2sys <---- 'ptp4l (master)' ----//---->ptp4l (slaves)---->phc2sys---->system clock III. The problem is that when phc2sys is configured to feed chronyd/ntpd, it is not able to synchronize the PTP clock in the reverse direction when ptp4l is master. It is my understanding that the ptp4l(master) will be driving phc2sys to drive the system clock (1: 'ptp2l -i eth0 -m', 'phc2sys -a -r -r -m'; 2: 'ptp4l -i eth0 -s -m', 'phc2sys -a -r -m'). Or another words PTP master clock will be driving everything. 1. NTP <---- timemaster <---- system clock <---- phc2sys <---- 'ptp4l (master)' ----//---->ptp4l (slaves)---->phc2sys---->system clock Jake Keller If you run ptp4l on all your systems, and each one also running phc2sys, it will: on system which is "master" phc2sys will drive the ptp4l hw clock based on local time ptp4l will sync time out the network using PTP on systems which are not master ptp4l will sync time in from network to hw clock phc2sys will sync hw clock to CLOCK_REALTIME. Also Jake Keller response: "But if you want to also use NTP as a clock source, then you need to use timemaster, as otherwise phc2sys and ntpd will interfere with each other." Dosen't this imply that using 'timemaster' will remove this issue (phc2sys will synchronize the PTP (master) clock to the system clock and NTP will synchronize the system clock)? Harold -----Original Message----- From: Miroslav Lichvar [mailto:mli...@re...] Sent: Monday, August 17, 2015 11:54 AM To: Harold Lapprich <hla...@pi...<mailto:hla...@pi...>> Cc: Keller, Jacob E <jac...@in...<mailto:jac...@in...>>; lin...@li...<mailto:lin...@li...> Subject: Re: [Linuxptp-users] Grandmaster Auto-Negotiation and Reconfiguration of phc2sys to ptp4l Synchronization On Mon, Aug 17, 2015 at 02:14:36PM +0000, Harold Lapprich wrote: > "If you run ptp4l on all your systems, and each one also running phc2sys, it will: > > on system which is "master" > > phc2sys will drive the ptp4l hw clock based on local time > > ptp4l will sync time out the network using PTP > > on systems which are not master > > ptp4l will sync time in from network to hw clock > > phc2sys will sync hw clock to CLOCK_REALTIME. > > But if you want to also use NTP as a clock source, then you need to use timemaster, as otherwise phc2sys and ntpd will interfere with each other." Strictly speaking you just need to configure phc2sys to use the NTP SHM servo to feed chronyd/ntpd so they can select the best source or combine multiple sources and synchronize the clock. That's how phc2sys is configured by timemaster. Do you need NTP as a time source? Or just serve time over NTP? The former conflicts with your requirement to allow ptp4l to be a master as phc2sys would need to be the process that synchronizes the clock and not chronyd/ntpd. If you just need to serve NTP, you can configure chronyd/ntpd to not synchronize the clock and keep phc2sys in the control of the clock. > So when NTP is to be the clock source (and vice versa) then 'timermaster' is needed because phc2sys and ntpd will interfere with one another. Now the problem is GrandMaster failure, if I understand you correctly when another PTP system on the network becomes the GrandMater 'timemaster' will NOT automatically reconfigure and start using NTP as the clock source (using timemaster to start PTP configuration on all systems on the PTP network)? The problem is that when phc2sys is configured to feed chronyd/ntpd, it is not able to synchronize the PTP clock in the reverse direction when ptp4l is master. > If this is the case then one would have to have another application running in the background to detect the switch, create the appropriate 'timemaster' configuration file and start? There is currently no way to configure timemaster to serve local time over PTP. phc2sys would need to allow that first. -- Miroslav Lichvar |
From: Harold L. <hla...@pi...> - 2015-08-17 17:16:19
|
Miroslav, Thanks again for the quick response, trying to simplify the discussion and therefore minimize any mis-understanding by providing the following simply flow diagrams: Need to support the following 2 scenarios using the 'linuxptp' applications but NOT both in the same network configuration (only 1 of the 2 will exist) 1. NTP <---- timemaster <---- system clock <---- phc2sys <---- 'ptp4l (master)' ----//---->ptp4l (slaves)---->phc2sys---->system clock 2. NTP ----> timemaster ----> system clock ----> phc2sys ----> 'ptp4l (master)' ----//----ptp4l (slaves)---->phc2sys---->system clock Please let me know if the proceeding flow diagrams are NOT correct? I. Do you need NTP as a time source? Or just serve time over NTP? The former conflicts with your requirement to allow ptp4l to be a master as phc2sys would need to be the process that synchronizes the clock and not chronyd/ntpd. Want the ability to have NTP as a time source or serve time over NTP but not both at the same time (therefore need the capability to do both, 1: when local network configuration is standalone then a network server will be locked to PTP time via PTP-->NTP, and 2: when the local network is a subset of a larger network and therefore NTP --> PTP). The configuration will be a known entity and therefore the 'linuxptp' application configuration files created appropriately this is NOT something that needs to happen automatically. II. The former conflicts with your requirement to allow ptp4l to be a master as phc2sys would need to be the process that synchronizes the clock and not chronyd/ntpd. It is my understanding that 1 of the PTP clients has to be a master (ptp4l master) but the master can be locked to the system clock by phc2sys (this is what I am currently doing, ptp4l -i eth0 and phc2sys -a -r -r). Then 'timemaster' would be used to synchronize the system clock to NTP. 1. NTP <---- timemaster <---- system clock <---- phc2sys <---- 'ptp4l (master)' ----//---->ptp4l (slaves)---->phc2sys---->system clock III. The problem is that when phc2sys is configured to feed chronyd/ntpd, it is not able to synchronize the PTP clock in the reverse direction when ptp4l is master. It is my understanding that the ptp4l(master) will be driving phc2sys to drive the system clock (1: 'ptp2l -i eth0 -m', 'phc2sys -a -r -r -m'; 2: 'ptp4l -i eth0 -s -m', 'phc2sys -a -r -m'). Or another words PTP master clock will be driving everything. 1. NTP <---- timemaster <---- system clock <---- phc2sys <---- 'ptp4l (master)' ----//---->ptp4l (slaves)---->phc2sys---->system clock Jake Keller If you run ptp4l on all your systems, and each one also running phc2sys, it will: on system which is "master" phc2sys will drive the ptp4l hw clock based on local time ptp4l will sync time out the network using PTP on systems which are not master ptp4l will sync time in from network to hw clock phc2sys will sync hw clock to CLOCK_REALTIME. Also Jake Keller response: "But if you want to also use NTP as a clock source, then you need to use timemaster, as otherwise phc2sys and ntpd will interfere with each other." Dosen't this imply that using 'timemaster' will remove this issue (phc2sys will synchronize the PTP (master) clock to the system clock and NTP will synchronize the system clock)? Harold -----Original Message----- From: Miroslav Lichvar [mailto:mli...@re...] Sent: Monday, August 17, 2015 11:54 AM To: Harold Lapprich <hla...@pi...> Cc: Keller, Jacob E <jac...@in...>; lin...@li... Subject: Re: [Linuxptp-users] Grandmaster Auto-Negotiation and Reconfiguration of phc2sys to ptp4l Synchronization On Mon, Aug 17, 2015 at 02:14:36PM +0000, Harold Lapprich wrote: > "If you run ptp4l on all your systems, and each one also running phc2sys, it will: > > on system which is "master" > > phc2sys will drive the ptp4l hw clock based on local time > > ptp4l will sync time out the network using PTP > > on systems which are not master > > ptp4l will sync time in from network to hw clock > > phc2sys will sync hw clock to CLOCK_REALTIME. > > But if you want to also use NTP as a clock source, then you need to use timemaster, as otherwise phc2sys and ntpd will interfere with each other." Strictly speaking you just need to configure phc2sys to use the NTP SHM servo to feed chronyd/ntpd so they can select the best source or combine multiple sources and synchronize the clock. That's how phc2sys is configured by timemaster. Do you need NTP as a time source? Or just serve time over NTP? The former conflicts with your requirement to allow ptp4l to be a master as phc2sys would need to be the process that synchronizes the clock and not chronyd/ntpd. If you just need to serve NTP, you can configure chronyd/ntpd to not synchronize the clock and keep phc2sys in the control of the clock. > So when NTP is to be the clock source (and vice versa) then 'timermaster' is needed because phc2sys and ntpd will interfere with one another. Now the problem is GrandMaster failure, if I understand you correctly when another PTP system on the network becomes the GrandMater 'timemaster' will NOT automatically reconfigure and start using NTP as the clock source (using timemaster to start PTP configuration on all systems on the PTP network)? The problem is that when phc2sys is configured to feed chronyd/ntpd, it is not able to synchronize the PTP clock in the reverse direction when ptp4l is master. > If this is the case then one would have to have another application running in the background to detect the switch, create the appropriate 'timemaster' configuration file and start? There is currently no way to configure timemaster to serve local time over PTP. phc2sys would need to allow that first. -- Miroslav Lichvar |
From: Miroslav L. <mli...@re...> - 2015-08-17 15:54:31
|
On Mon, Aug 17, 2015 at 02:14:36PM +0000, Harold Lapprich wrote: > "If you run ptp4l on all your systems, and each one also running phc2sys, it will: > > on system which is "master" > > phc2sys will drive the ptp4l hw clock based on local time > > ptp4l will sync time out the network using PTP > > on systems which are not master > > ptp4l will sync time in from network to hw clock > > phc2sys will sync hw clock to CLOCK_REALTIME. > > But if you want to also use NTP as a clock source, then you need to use timemaster, as otherwise phc2sys and ntpd will interfere with each other." Strictly speaking you just need to configure phc2sys to use the NTP SHM servo to feed chronyd/ntpd so they can select the best source or combine multiple sources and synchronize the clock. That's how phc2sys is configured by timemaster. Do you need NTP as a time source? Or just serve time over NTP? The former conflicts with your requirement to allow ptp4l to be a master as phc2sys would need to be the process that synchronizes the clock and not chronyd/ntpd. If you just need to serve NTP, you can configure chronyd/ntpd to not synchronize the clock and keep phc2sys in the control of the clock. > So when NTP is to be the clock source (and vice versa) then 'timermaster' is needed because phc2sys and ntpd will interfere with one another. Now the problem is GrandMaster failure, if I understand you correctly when another PTP system on the network becomes the GrandMater 'timemaster' will NOT automatically reconfigure and start using NTP as the clock source (using timemaster to start PTP configuration on all systems on the PTP network)? The problem is that when phc2sys is configured to feed chronyd/ntpd, it is not able to synchronize the PTP clock in the reverse direction when ptp4l is master. > If this is the case then one would have to have another application running in the background to detect the switch, create the appropriate 'timemaster' configuration file and start? There is currently no way to configure timemaster to serve local time over PTP. phc2sys would need to allow that first. -- Miroslav Lichvar |
From: Harold L. <hla...@pi...> - 2015-08-17 14:14:48
|
Miroslav, Thanks for the real-time response. I am a little confused so let me state what I know and you can ya/na it. Got an email from Jake Keller earlier that was very helpful with regards to 'phc2sys'. Jake stated when 'phc2sys -a' has the '-a' option and the GrandMaster fails then PTP network configuration will select a new GrandMaster automatically which I've verified in a real system configuration. "If you run ptp4l on all your systems, and each one also running phc2sys, it will: on system which is "master" phc2sys will drive the ptp4l hw clock based on local time ptp4l will sync time out the network using PTP on systems which are not master ptp4l will sync time in from network to hw clock phc2sys will sync hw clock to CLOCK_REALTIME. But if you want to also use NTP as a clock source, then you need to use timemaster, as otherwise phc2sys and ntpd will interfere with each other." So when NTP is to be the clock source (and vice versa) then 'timermaster' is needed because phc2sys and ntpd will interfere with one another. Now the problem is GrandMaster failure, if I understand you correctly when another PTP system on the network becomes the GrandMater 'timemaster' will NOT automatically reconfigure and start using NTP as the clock source (using timemaster to start PTP configuration on all systems on the PTP network)? If this is the case then one would have to have another application running in the background to detect the switch, create the appropriate 'timemaster' configuration file and start? Thanks, Harold -----Original Message----- From: Miroslav Lichvar [mailto:mli...@re...] Sent: Monday, August 17, 2015 9:52 AM To: Harold Lapprich <hla...@pi...> Cc: Keller, Jacob E <jac...@in...>; lin...@li... Subject: Re: [Linuxptp-users] Grandmaster Auto-Negotiation and Reconfiguration of phc2sys to ptp4l Synchronization On Mon, Aug 17, 2015 at 01:27:01PM +0000, Harold Lapprich wrote: > So let me see if I understand you correctly, if the system of say 6 devices on a local network are all started with 'timemaster' and the GrandMaster is removed (i.e., the device has to be serviced or fails) then 'timemaster' in the background will detect this and restart everything and the device that becomes the GrandMaster will begin providing clock updates to NTP or receiving clock correction from NTP? No, timemaster is currently PTP slave only. It starts ptp4l with the slaveOnly option, so it can't become a master. With current phc2sys it wouldn't work anyway. It would need to be modified to switch between two servos, NTP SHM when the PTP clock is synchronized and a real servo when the system clock is the source. > In the network configuration I am looking at creating each system will be capable of being the NTP server (ntpd demon can be started) and then using 'timemaster' to create the end-to-end configuration for precise timing. As the linuxptp code currently stands, I think you will need to keep ptp4l/phc2sys in control of the system clock and configure ntpd/chronyd to just serve the local time with the LOCAL driver/local stratum option with no other time sources listed in the config. For example: ptp4l -i eth0 phc2sys -a -r -r chronyd 'local stratum 1' 'allow' -- Miroslav Lichvar |
From: Miroslav L. <mli...@re...> - 2015-08-17 13:51:41
|
On Mon, Aug 17, 2015 at 01:27:01PM +0000, Harold Lapprich wrote: > So let me see if I understand you correctly, if the system of say 6 devices on a local network are all started with 'timemaster' and the GrandMaster is removed (i.e., the device has to be serviced or fails) then 'timemaster' in the background will detect this and restart everything and the device that becomes the GrandMaster will begin providing clock updates to NTP or receiving clock correction from NTP? No, timemaster is currently PTP slave only. It starts ptp4l with the slaveOnly option, so it can't become a master. With current phc2sys it wouldn't work anyway. It would need to be modified to switch between two servos, NTP SHM when the PTP clock is synchronized and a real servo when the system clock is the source. > In the network configuration I am looking at creating each system will be capable of being the NTP server (ntpd demon can be started) and then using 'timemaster' to create the end-to-end configuration for precise timing. As the linuxptp code currently stands, I think you will need to keep ptp4l/phc2sys in control of the system clock and configure ntpd/chronyd to just serve the local time with the LOCAL driver/local stratum option with no other time sources listed in the config. For example: ptp4l -i eth0 phc2sys -a -r -r chronyd 'local stratum 1' 'allow' -- Miroslav Lichvar |
From: Harold L. <hla...@pi...> - 2015-08-17 13:27:12
|
Miroslav Thanks for the quick response. Jake responded to my 'phc2sys' question earlier which was really appreciated as well (regarding the removal of the GrandMaster in the configuration of network). So let me see if I understand you correctly, if the system of say 6 devices on a local network are all started with 'timemaster' and the GrandMaster is removed (i.e., the device has to be serviced or fails) then 'timemaster' in the background will detect this and restart everything and the device that becomes the GrandMaster will begin providing clock updates to NTP or receiving clock correction from NTP? In the network configuration I am looking at creating each system will be capable of being the NTP server (ntpd demon can be started) and then using 'timemaster' to create the end-to-end configuration for precise timing. Thanks, Harold -----Original Message----- From: Miroslav Lichvar [mailto:mli...@re...] Sent: Monday, August 17, 2015 6:01 AM To: Harold Lapprich <hla...@pi...> Cc: Keller, Jacob E <jac...@in...>; lin...@li... Subject: Re: [Linuxptp-users] Grandmaster Auto-Negotiation and Reconfiguration of phc2sys to ptp4l Synchronization On Fri, Aug 14, 2015 at 06:01:49PM +0000, Harold Lapprich wrote: > > Mlichvar, > > Working through the configuration issues needed for a PTP configuration to auto-negotiate the GrandMaster at power-up that is receiving/suppling system clock to a NTP/chronyd server. Want to create a configuration that is autonomous and will recovery if the GrandMaster is ever taken out of service (2 diagrams follow to provide clarity). I'm not sure what issues are you having with the PTP master selection. The Best Master Clock algorithm, which selects the master, is always running in ptp4l. When the currently selected master disappears, a new master should be selected automatically. > It appears that the linuxptp applications (phc2sys, ptp4l, pmc, and timemaster) can be configured to create an autonomous system, can you please provide insight on how 'timemaster' and perhaps 'phc2sys' would need to be configured? When using timemaster, you need just one configuration file and timemaster will generate configuration for all other programs involved (chrony/ntpd, ptp4l, phc2sys) and start them automatically. The timemaster man page has some examples. Assuming you want the system clock to be synchronized by chronyd, using a PTP domain as the only time source and serving time over NTP to clients, the timemaster configuration file could be: [ptp_domain 0] interfaces eth0 [chrony.conf] makestep 1 3 rtcsync allow driftfile /var/lib/chrony/drift -- Miroslav Lichvar |
From: Miroslav L. <mli...@re...> - 2015-08-17 10:01:15
|
On Fri, Aug 14, 2015 at 06:01:49PM +0000, Harold Lapprich wrote: > > Mlichvar, > > Working through the configuration issues needed for a PTP configuration to auto-negotiate the GrandMaster at power-up that is receiving/suppling system clock to a NTP/chronyd server. Want to create a configuration that is autonomous and will recovery if the GrandMaster is ever taken out of service (2 diagrams follow to provide clarity). I'm not sure what issues are you having with the PTP master selection. The Best Master Clock algorithm, which selects the master, is always running in ptp4l. When the currently selected master disappears, a new master should be selected automatically. > It appears that the linuxptp applications (phc2sys, ptp4l, pmc, and timemaster) can be configured to create an autonomous system, can you please provide insight on how 'timemaster' and perhaps 'phc2sys' would need to be configured? When using timemaster, you need just one configuration file and timemaster will generate configuration for all other programs involved (chrony/ntpd, ptp4l, phc2sys) and start them automatically. The timemaster man page has some examples. Assuming you want the system clock to be synchronized by chronyd, using a PTP domain as the only time source and serving time over NTP to clients, the timemaster configuration file could be: [ptp_domain 0] interfaces eth0 [chrony.conf] makestep 1 3 rtcsync allow driftfile /var/lib/chrony/drift -- Miroslav Lichvar |
From: Harold L. <hla...@pi...> - 2015-08-14 18:02:03
|
Mlichvar, Working through the configuration issues needed for a PTP configuration to auto-negotiate the GrandMaster at power-up that is receiving/suppling system clock to a NTP/chronyd server. Want to create a configuration that is autonomous and will recovery if the GrandMaster is ever taken out of service (2 diagrams follow to provide clarity). It appears that the linuxptp applications (phc2sys, ptp4l, pmc, and timemaster) can be configured to create an autonomous system, can you please provide insight on how 'timemaster' and perhaps 'phc2sys' would need to be configured? Thanks, Harold -----Original Message----- From: Keller, Jacob E [mailto:jac...@in...] Sent: Friday, August 14, 2015 11:42 AM To: Harold Lapprich <hla...@pi...>; lin...@li... Cc: mli...@re... Subject: Re: [Linuxptp-users] Grandmaster Auto-Negotiation and Reconfiguration of phc2sys to ptp4l Synchronization On Fri, 2015-08-14 at 13:34 +0000, Harold Lapprich wrote: > Hi Jack, > > Thanks for the quick response. Have been looking at both 'phc2sys' > and 'timemaster' but haven't been able to put a configuration/design > together due to limited information and examples on both applications. > Can you point me to some good in depth information or forward it as > attachments? > > Thanks, > Harold I would suggest asking Miroslav, as he is the one who wrote Timemaster. You might also try "man ./timemaster.8" inside the repository. The man page should give you enough information to work correctly. I recommend using chronyd, but ntpd should also work. Regards, Jake |
From: Keller, J. E <jac...@in...> - 2015-08-14 15:41:46
|
On Fri, 2015-08-14 at 13:34 +0000, Harold Lapprich wrote: > Hi Jack, > > Thanks for the quick response. Have been looking at both 'phc2sys' > and 'timemaster' but haven't been able to put a configuration/design > together due to limited information and examples on both > applications. Can you point me to some good in depth information or > forward it as attachments? > > Thanks, > Harold I would suggest asking Miroslav, as he is the one who wrote Timemaster. You might also try "man ./timemaster.8" inside the repository. The man page should give you enough information to work correctly. I recommend using chronyd, but ntpd should also work. Regards, Jake |
From: Keller, J. E <jac...@in...> - 2015-08-13 23:23:03
|
Hi Harold, On Thu, 2015-08-13 at 20:38 +0000, Harold Lapprich wrote: > To Whom It May Concern, > > Have need for PTP-to-NTP and/or NTP-to-PTP synchronization in the > opposite direction. When ntpd is used to synchronize the system > clock, phc2sys can be configured to synchronize PTP grandmaster clock > to the system clock, ptp4l configured to be the grandmaster clock and > distribute the time from the system clock via PTP. > > In the case of a PTP slave device phc2sys needs to be used to > synchronize the system clock to the PTP hardware clock. > > The way the linuxptp applications ptp4l and phc2sys have been written > a master can drop out and a new one negotiated. And on top of this > phc2sys recovery takes a while but does recover providing a real > robust design. But when ptp4l is synchronized to the phc2sys/system > -time on the master and phc2sys synchronized to ptp4l on the slave > side a drop out of the grandmaster and negotiation of grandmaster > will mess up ptp4l to phc2sys for system clock synchronization. The > only way to avoid this is to be able to recognize a new grand master > has been negotiated so ntpd is used by the new grandmaster clock > system to properly configure the phc2sys to ptp4l synchronization. Is > there any way of detecting the renegotiation of the grandmaster using > the tools/applications within linuxptp (ideally it would be nice to > have the system auto-negotiate the grandmaster and reconfigure > phc2sys to ptp4l synchronization)? > > Harold > > I suggest you take a look at the phc2sys -a auto configuration mode along with timemaster which I believe is provided inside the LinuxPTP project. This should provide the necessary configuration to use something like chronyd in this manner you describe. Regards, Jake |
From: Keller, J. E <jac...@in...> - 2015-08-13 23:21:35
|
Hello Harold, On Thu, 2015-08-13 at 20:29 +0000, Harold Lapprich wrote: > To Whom It May Concern, > > Continue to test phc2sys and it does some strange things at times > (configuration is where the system clock is a slave to the slave > ptp4l on the same system: phc2sys -a -r -m, ptp4l -i eth0 -s -m). > > For some reason phc2sys jumps to the rail when ptp4l (running on the > same system) doesn't move hardly any (have attached screen text for > review). Does anyone have any idea why phc2sys is seeing 'clockcheck: > clock jumped forward or running greater than expected!' issue? > ptp4l controls a hardware clock. Unlikely anything else is interferring with this. phc2sys is set to control CLOCK_REALTIME by tuning it to frequency of the device hardware clock. In this mode, many other possible programs might be changing the clock. For example, ntpd, chronyd, or some other NTP application. The most likely issue is that you have a time manager like ntpd or some other NTP client running on the system. > > Possible Solution: > > To prevent quick changes in the PTP clock's frequency or from > thinking that there has been a quick change, the synchronization to > the system clock can be loosened by using smaller P (proportional) > and I (integral) constants of the PI servo (this maybe something to > do in order to avoid the phc2sys error that I am trying to post). > The error you are seeing will happen regardless. It is caught when some other process jumps the clock (ie: phc2sys did not expect it to happen). Most likely the result of ntpd or similar. > > Thanks, > Harold Lapprich > > PS. Screen text for ptp4l -i eth0 -m and phc2sys -a -r -m follow > (along with the error text): > > Thanks. Comments below. > > > root@zx3-pm3-zynq7:~# ptp4l -i eth0 -s -m > ptp4l[81321.709]: selected /dev/ptp0 as PTP clock > ptp4l[81321.713]: driver changed our HWTSTAMP options > ptp4l[81321.713]: tx_type 1 not 1 > ptp4l[81321.714]: rx_filter 1 not 12 > ptp4l[81321.714]: port 1: INITIALIZING to LISTENING on INITIALIZE > ptp4l[81321.714]: port 0: INITIALIZING to LISTENING on INITIALIZE > ptp4l[81322.388]: port 1: new foreign master 000a35.fffe.01225c-1 > ptp4l[81325.988]: selected best master clock 000a35.fffe.01225c > ptp4l[81325.988]: port 1: LISTENING to UNCALIBRATED on RS_SLAVE > ptp4l[81328.688]: master offset 64344882363235 s0 freq -96829 path > delay 12 > 773 > ptp4l[81329.588]: master offset 64344882354480 s1 freq -105583 path > delay 12 > 773 > ptp4l[81330.488]: master offset 391 s2 freq -105192 path delay > 12773 > ptp4l[81330.488]: port 1: UNCALIBRATED to SLAVE on > MASTER_CLOCK_SELECTED > ptp4l[81331.388]: master offset 508 s2 freq -104958 path delay > 12773 > ptp4l[81332.288]: master offset 1231 s2 freq -104083 path delay > 12773 > ptp4l[81333.188]: master offset 562 s2 freq -104382 path delay > 11020 > ptp4l[81334.088]: master offset -1134 s2 freq -105910 path delay > 11198 > ptp4l[81334.988]: master offset -1380 s2 freq -106496 path delay > 11198 > ptp4l[81335.888]: master offset -841 s2 freq -106371 path delay > 11020 > ptp4l[81336.788]: master offset -1036 s2 freq -106818 path delay > 11019 > ptp4l[81337.742]: master offset -1283 s2 freq -107376 path delay > 11019 > ptp4l[81338.743]: master offset -328 s2 freq -106806 path delay > 10965 > ptp4l[81339.743]: master offset -340 s2 freq -106916 path delay > 10965 <snip> > login as: root > Last login: Mon Aug 10 15:27:55 2015 from 192.168.1.164 > root@zx3-pm3-zynq7:~# phc2sys -a -r -m > phc2sys[81336.197]: reconfiguring after port state change > phc2sys[81336.198]: selecting CLOCK_REALTIME for synchronization > phc2sys[81336.198]: selecting eth0 as the master clock > phc2sys[81336.198]: phc offset 2329760226185187 s0 freq +100000000 > delay 2439 > phc2sys[81337.199]: phc offset 2329760114861905 s1 freq -106524 delay Ok, see here how your phc offset is set really large? Basically, we jump the clock at start to correct this. Most likely your ptp4l is being served something other than the time domain you expect. > 2403 > phc2sys[81338.201]: phc offset -1007908 s2 freq -1114432 delay > 2701 > phc2sys[81339.202]: phc offset -6107 s2 freq -415004 delay 2736 > phc2sys[81340.202]: phc offset 307598 s2 freq -103131 delay 2668 <snip> I cut out a bunch of stuff here we jump to the interesting part. > phc2sys[81808.422]: phc offset -721 s2 freq -105227 delay 2688 > phc2sys[81809.422]: phc offset 7 s2 freq -104715 delay 2665 > phc2sys[81810.423]: phc offset -92 s2 freq -104812 delay 2683 > phc2sys[81811.423]: phc offset -736 s2 freq -105484 delay 2664 > phc2sys[81812.424]: clockcheck: clock jumped forward or running > faster than expected! > phc2sys[81812.424]: phc offset 2336539574238124 s0 freq -105484 delay > 2664 > phc2sys[81813.424]: phc offset 2336539574237736 s2 freq -105356 delay > 2670 Suddenly, your clock is now *reset* to the old time offset. I suspect some time manager such as ntpd is doing this but I can't know for sure. Then, since it's not initial launch, phc2sys (by default) will not jump the clock again so it tries to slew the frequency until it gets back in line. With an offset this large that is basically not possible. I would look for if your system is running ntpd, chrondy, timesyncd or similar to control the clock as well. You really can't have multiple things doing this. Regards, Jake |
From: Harold L. <hla...@pi...> - 2015-08-13 20:52:29
|
To Whom It May Concern, Have need for PTP-to-NTP and/or NTP-to-PTP synchronization in the opposite direction. When ntpd is used to synchronize the system clock, phc2sys can be configured to synchronize PTP grandmaster clock to the system clock, ptp4l configured to be the grandmaster clock and distribute the time from the system clock via PTP. In the case of a PTP slave device phc2sys needs to be used to synchronize the system clock to the PTP hardware clock. The way the linuxptp applications ptp4l and phc2sys have been written a master can drop out and a new one negotiated. And on top of this phc2sys recovery takes a while but does recover providing a real robust design. But when ptp4l is synchronized to the phc2sys/system-time on the master and phc2sys synchronized to ptp4l on the slave side a drop out of the grandmaster and negotiation of grandmaster will mess up ptp4l to phc2sys for system clock synchronization. The only way to avoid this is to be able to recognize a new grand master has been negotiated so ntpd is used by the new grandmaster clock system to properly configure the phc2sys to ptp4l synchronization. Is there any way of detecting the renegotiation of the grandmaster using the tools/applications within linuxptp (ideally it would be nice to have the system auto-negotiate the grandmaster and reconfigure phc2sys to ptp4l synchronization)? Harold |
From: Harold L. <hla...@pi...> - 2015-08-13 20:43:42
|
To Whom It May Concern, Continue to test phc2sys and it does some strange things at times (configuration is where the system clock is a slave to the slave ptp4l on the same system: phc2sys -a -r -m, ptp4l -i eth0 -s -m). For some reason phc2sys jumps to the rail when ptp4l (running on the same system) doesn't move hardly any (have attached screen text for review). Does anyone have any idea why phc2sys is seeing 'clockcheck: clock jumped forward or running greater than expected!' issue? Possible Solution: To prevent quick changes in the PTP clock's frequency or from thinking that there has been a quick change, the synchronization to the system clock can be loosened by using smaller P (proportional) and I (integral) constants of the PI servo (this maybe something to do in order to avoid the phc2sys error that I am trying to post). Thanks, Harold Lapprich PS. Screen text for ptp4l -i eth0 -m and phc2sys -a -r -m follow (along with the error text): root@zx3-pm3-zynq7:~# ptp4l -i eth0 -s -m ptp4l[81321.709]: selected /dev/ptp0 as PTP clock ptp4l[81321.713]: driver changed our HWTSTAMP options ptp4l[81321.713]: tx_type 1 not 1 ptp4l[81321.714]: rx_filter 1 not 12 ptp4l[81321.714]: port 1: INITIALIZING to LISTENING on INITIALIZE ptp4l[81321.714]: port 0: INITIALIZING to LISTENING on INITIALIZE ptp4l[81322.388]: port 1: new foreign master 000a35.fffe.01225c-1 ptp4l[81325.988]: selected best master clock 000a35.fffe.01225c ptp4l[81325.988]: port 1: LISTENING to UNCALIBRATED on RS_SLAVE ptp4l[81328.688]: master offset 64344882363235 s0 freq -96829 path delay 12 773 ptp4l[81329.588]: master offset 64344882354480 s1 freq -105583 path delay 12 773 ptp4l[81330.488]: master offset 391 s2 freq -105192 path delay 12773 ptp4l[81330.488]: port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED ptp4l[81331.388]: master offset 508 s2 freq -104958 path delay 12773 ptp4l[81332.288]: master offset 1231 s2 freq -104083 path delay 12773 ptp4l[81333.188]: master offset 562 s2 freq -104382 path delay 11020 ptp4l[81334.088]: master offset -1134 s2 freq -105910 path delay 11198 ptp4l[81334.988]: master offset -1380 s2 freq -106496 path delay 11198 ptp4l[81335.888]: master offset -841 s2 freq -106371 path delay 11020 ptp4l[81336.788]: master offset -1036 s2 freq -106818 path delay 11019 ptp4l[81337.742]: master offset -1283 s2 freq -107376 path delay 11019 ptp4l[81338.743]: master offset -328 s2 freq -106806 path delay 10965 ptp4l[81339.743]: master offset -340 s2 freq -106916 path delay 10965 ptp4l[81340.744]: master offset 241 s2 freq -106437 path delay 10912 ptp4l[81341.744]: master offset -49 s2 freq -106655 path delay 10912 ptp4l[81342.744]: master offset -231 s2 freq -106852 path delay 10843 ptp4l[81343.744]: master offset 95 s2 freq -106595 path delay 10736 ptp4l[81344.744]: master offset -159 s2 freq -106821 path delay 10736 ptp4l[81345.744]: master offset -269 s2 freq -106978 path delay 10724 ptp4l[81346.744]: master offset -22 s2 freq -106812 path delay 10746 ptp4l[81347.744]: master offset -73 s2 freq -106870 path delay 10746 ptp4l[81348.745]: master offset -50 s2 freq -106869 path delay 10761 ptp4l[81349.745]: master offset 53 s2 freq -106781 path delay 10761 ptp4l[81350.745]: master offset 162 s2 freq -106656 path delay 10761 ptp4l[81351.745]: master offset 442 s2 freq -106327 path delay 10761 ptp4l[81352.745]: master offset -164 s2 freq -106800 path delay 10762 ptp4l[81353.745]: master offset -164 s2 freq -106850 path delay 10819 ptp4l[81354.746]: master offset -442 s2 freq -107177 path delay 10865 ptp4l[81355.746]: master offset 80 s2 freq -106787 path delay 10865 ptp4l[81356.746]: master offset 125 s2 freq -106718 path delay 10865 ptp4l[81357.746]: master offset 500 s2 freq -106306 path delay 10812 ptp4l[81358.746]: master offset 240 s2 freq -106416 path delay 10850 ptp4l[81359.746]: master offset -224 s2 freq -106808 path delay 10850 ptp4l[81360.747]: master offset -212 s2 freq -106863 path delay 10850 ptp4l[81361.747]: master offset -289 s2 freq -107004 path delay 10850 ptp4l[81362.747]: master offset -121 s2 freq -106922 path delay 10812 ptp4l[81363.747]: master offset 449 s2 freq -106389 path delay 10687 ptp4l[81364.747]: master offset -272 s2 freq -106975 path delay 10687 ptp4l[81365.747]: master offset -420 s2 freq -107205 path delay 10745 ptp4l[81366.748]: master offset 223 s2 freq -106688 path delay 10745 ptp4l[81367.748]: master offset 139 s2 freq -106705 path delay 10745 ptp4l[81368.748]: master offset 465 s2 freq -106337 path delay 10745 ptp4l[81369.748]: master offset 284 s2 freq -106379 path delay 10745 ptp4l[81370.748]: master offset 38 s2 freq -106539 path delay 10775 ptp4l[81371.748]: master offset 105 s2 freq -106461 path delay 10775 ptp4l[81372.748]: master offset -120 s2 freq -106654 path delay 10868 ptp4l[81373.748]: master offset -110 s2 freq -106680 path delay 10868 ptp4l[81374.749]: master offset 382 s2 freq -106221 path delay 10868 ptp4l[81375.749]: master offset 822 s2 freq -105667 path delay 10748 ptp4l[81376.749]: master offset 754 s2 freq -105488 path delay 10748 ptp4l[81377.749]: master offset 20 s2 freq -105996 path delay 10748 ptp4l[81378.749]: master offset 88 s2 freq -105922 path delay 10748 ptp4l[81379.749]: master offset -7 s2 freq -105991 path delay 10742 ptp4l[81380.750]: master offset -167 s2 freq -106153 path delay 10742 ptp4l[81381.750]: master offset 1670 s2 freq -104366 path delay 10742 ptp4l[81382.750]: master offset 68 s2 freq -105467 path delay 10742 ptp4l[81383.750]: master offset 368 s2 freq -105146 path delay 10742 ptp4l[81384.750]: master offset 628 s2 freq -104776 path delay 10742 ptp4l[81385.750]: master offset 426 s2 freq -104790 path delay 10779 ptp4l[81386.751]: master offset -583 s2 freq -105671 path delay 10881 ptp4l[81387.751]: master offset -318 s2 freq -105581 path delay 10881 ptp4l[81388.751]: master offset -90 s2 freq -105448 path delay 10905 ptp4l[81389.751]: master offset 202 s2 freq -105183 path delay 10868 ptp4l[81390.751]: master offset -80 s2 freq -105405 path delay 10868 ptp4l[81391.751]: master offset 699 s2 freq -104650 path delay 10725 ptp4l[81392.752]: master offset 264 s2 freq -104875 path delay 10712 ptp4l[81393.752]: master offset -1131 s2 freq -106191 path delay 10766 ptp4l[81394.752]: master offset -1132 s2 freq -106531 path delay 10766 ptp4l[81395.752]: master offset -213 s2 freq -105952 path delay 10704 ptp4l[81396.752]: master offset 304 s2 freq -105498 path delay 10644 ptp4l[81397.752]: master offset -577 s2 freq -106288 path delay 10693 ptp4l[81398.753]: master offset -1474 s2 freq -107358 path delay 10693 ptp4l[81399.753]: master offset -767 s2 freq -107094 path delay 10662 ptp4l[81400.753]: master offset 86 s2 freq -106471 path delay 10662 ptp4l[81401.753]: master offset 254 s2 freq -106277 path delay 10662 ptp4l[81402.753]: master offset 958 s2 freq -105497 path delay 10662 ptp4l[81403.753]: master offset 84 s2 freq -106083 path delay 10662 ptp4l[81404.753]: master offset 266 s2 freq -105876 path delay 10662 ptp4l[81405.753]: master offset 1006 s2 freq -105056 path delay 10625 ptp4l[81406.754]: master offset 549 s2 freq -105211 path delay 10662 ptp4l[81407.754]: master offset 281 s2 freq -105315 path delay 10684 ptp4l[81408.754]: master offset 366 s2 freq -105145 path delay 10684 ptp4l[81409.754]: master offset 354 s2 freq -105048 path delay 10684 ptp4l[81410.754]: master offset -665 s2 freq -105960 path delay 10684 ptp4l[81411.754]: master offset -195 s2 freq -105690 path delay 10680 ptp4l[81412.755]: master offset 550 s2 freq -105003 path delay 10680 ptp4l[81413.755]: master offset 483 s2 freq -104905 path delay 10708 ptp4l[81414.755]: master offset -1251 s2 freq -106495 path delay 10763 ptp4l[81415.755]: master offset -1345 s2 freq -106964 path delay 10763 ptp4l[81416.755]: master offset -431 s2 freq -106453 path delay 10763 ptp4l[81417.755]: master offset 231 s2 freq -105921 path delay 10708 ptp4l[81418.756]: master offset 76 s2 freq -106006 path delay 10708 ptp4l[81419.756]: master offset -318 s2 freq -106378 path delay 10763 ptp4l[81420.756]: master offset 335 s2 freq -105820 path delay 10737 ptp4l[81421.756]: master offset -87 s2 freq -106141 path delay 10834 ptp4l[81422.756]: master offset -449 s2 freq -106530 path delay 10807 ptp4l[81423.756]: master offset 1506 s2 freq -104709 path delay 10691 ptp4l[81424.756]: master offset -170 s2 freq -105933 path delay 10877 ptp4l[81425.757]: master offset -83 s2 freq -105897 path delay 10877 ptp4l[81426.757]: master offset -843 s2 freq -106682 path delay 10877 ptp4l[81427.757]: master offset 182 s2 freq -105910 path delay 10877 ptp4l[81428.757]: master offset -338 s2 freq -106376 path delay 10913 ptp4l[81429.757]: master offset 166 s2 freq -105973 path delay 10871 ptp4l[81430.757]: master offset 347 s2 freq -105742 path delay 10871 ptp4l[81431.757]: master offset 567 s2 freq -105418 path delay 10849 ptp4l[81432.758]: master offset 623 s2 freq -105192 path delay 10849 ptp4l[81433.758]: master offset -215 s2 freq -105843 path delay 10863 ptp4l[81434.758]: master offset 662 s2 freq -105031 path delay 10863 ptp4l[81435.758]: master offset -333 s2 freq -105827 path delay 10847 ptp4l[81436.758]: master offset -591 s2 freq -106185 path delay 10831 ptp4l[81437.758]: master offset -453 s2 freq -106224 path delay 10785 ptp4l[81438.759]: master offset -244 s2 freq -106151 path delay 10785 ptp4l[81439.759]: master offset -747 s2 freq -106727 path delay 10785 ptp4l[81440.759]: master offset 383 s2 freq -105821 path delay 10785 ptp4l[81441.759]: master offset 1277 s2 freq -104813 path delay 10785 ptp4l[81442.759]: master offset 40 s2 freq -105666 path delay 10776 ptp4l[81443.759]: master offset -171 s2 freq -105865 path delay 10821 ptp4l[81444.760]: master offset -388 s2 freq -106134 path delay 10821 ptp4l[81445.760]: master offset -719 s2 freq -106581 path delay 10764 ptp4l[81446.760]: master offset 831 s2 freq -105247 path delay 10764 ptp4l[81447.760]: master offset 1482 s2 freq -104347 path delay 10763 ptp4l[81448.760]: master offset -117 s2 freq -105501 path delay 10800 ptp4l[81449.760]: master offset -802 s2 freq -106221 path delay 10826 ptp4l[81450.761]: master offset 635 s2 freq -105025 path delay 10800 ptp4l[81451.761]: master offset 942 s2 freq -104527 path delay 10800 ptp4l[81452.761]: master offset -953 s2 freq -106140 path delay 10814 ptp4l[81453.761]: master offset -1277 s2 freq -106749 path delay 10792 ptp4l[81454.761]: master offset 21 s2 freq -105835 path delay 10792 ptp4l[81455.761]: master offset -21 s2 freq -105870 path delay 10848 ptp4l[81456.762]: master offset 584 s2 freq -105272 path delay 10848 ptp4l[81457.762]: master offset 793 s2 freq -104887 path delay 10848 ptp4l[81458.762]: master offset 1733 s2 freq -103709 path delay 10755 ptp4l[81459.762]: master offset 1549 s2 freq -103374 path delay 10755 ptp4l[81460.762]: master offset 799 s2 freq -103659 path delay 10755 ptp4l[81461.762]: master offset 85 s2 freq -104133 path delay 10806 ptp4l[81462.762]: master offset -764 s2 freq -104957 path delay 10806 ptp4l[81463.763]: master offset -1456 s2 freq -105878 path delay 10806 ptp4l[81464.763]: master offset -328 s2 freq -105187 path delay 10806 ptp4l[81465.763]: master offset 776 s2 freq -104181 path delay 10806 ptp4l[81466.763]: master offset 945 s2 freq -103779 path delay 10806 ptp4l[81467.763]: master offset 1819 s2 freq -102622 path delay 10821 ptp4l[81468.763]: master offset 600 s2 freq -103295 path delay 10821 ptp4l[81469.764]: master offset -276 s2 freq -103991 path delay 10821 ptp4l[81470.764]: master offset -1234 s2 freq -105032 path delay 10821 ptp4l[81471.764]: master offset -753 s2 freq -104921 path delay 10821 ptp4l[81472.764]: master offset -734 s2 freq -105128 path delay 10812 ptp4l[81473.764]: master offset -2301 s2 freq -106915 path delay 10876 ptp4l[81474.765]: master offset -1154 s2 freq -106458 path delay 10876 ptp4l[81475.765]: master offset -158 s2 freq -105809 path delay 10876 ptp4l[81476.765]: master offset 516 s2 freq -105182 path delay 10795 ptp4l[81477.765]: master offset 377 s2 freq -105166 path delay 10831 ptp4l[81478.765]: master offset 643 s2 freq -104787 path delay 10822 ptp4l[81479.765]: master offset 539 s2 freq -104698 path delay 10843 ptp4l[81480.766]: master offset 284 s2 freq -104792 path delay 10818 ptp4l[81481.766]: master offset -509 s2 freq -105499 path delay 10818 ptp4l[81482.766]: master offset 1016 s2 freq -104127 path delay 10760 ptp4l[81483.766]: master offset 373 s2 freq -104465 path delay 10884 ptp4l[81484.766]: master offset 890 s2 freq -103836 path delay 10843 ptp4l[81485.766]: master offset 778 s2 freq -103681 path delay 10867 ptp4l[81486.766]: master offset 793 s2 freq -103433 path delay 10808 ptp4l[81487.766]: master offset 1620 s2 freq -102368 path delay 10808 ptp4l[81488.767]: master offset 1931 s2 freq -101571 path delay 10728 ptp4l[81489.767]: master offset -205 s2 freq -103128 path delay 10728 ptp4l[81490.767]: master offset -1721 s2 freq -104705 path delay 10728 ptp4l[81491.767]: master offset -459 s2 freq -103960 path delay 10683 ptp4l[81492.767]: master offset -169 s2 freq -103807 path delay 10683 ptp4l[81493.767]: master offset 310 s2 freq -103379 path delay 10728 ptp4l[81494.768]: master offset 607 s2 freq -102989 path delay 10728 ptp4l[81495.768]: master offset 1638 s2 freq -101776 path delay 10665 ptp4l[81496.768]: master offset 302 s2 freq -102620 path delay 10687 ptp4l[81497.768]: master offset 604 s2 freq -102228 path delay 10687 ptp4l[81498.768]: master offset -87 s2 freq -102738 path delay 10687 ptp4l[81499.768]: master offset -1323 s2 freq -104000 path delay 10823 ptp4l[81500.769]: master offset -561 s2 freq -103635 path delay 10823 ptp4l[81501.769]: master offset -977 s2 freq -104219 path delay 10918 ptp4l[81502.769]: master offset 146 s2 freq -103389 path delay 10918 ptp4l[81503.769]: master offset 4 s2 freq -103487 path delay 10918 ptp4l[81504.769]: master offset -52 s2 freq -103542 path delay 10948 ptp4l[81505.769]: master offset -201 s2 freq -103707 path delay 10948 ptp4l[81506.769]: master offset -261 s2 freq -103827 path delay 10898 ptp4l[81507.770]: master offset -50 s2 freq -103694 path delay 10898 ptp4l[81508.770]: master offset -131 s2 freq -103790 path delay 10912 ptp4l[81509.770]: master offset -481 s2 freq -104180 path delay 10900 ptp4l[81510.770]: master offset -290 s2 freq -104133 path delay 10900 ptp4l[81511.770]: master offset -79 s2 freq -104009 path delay 10872 ptp4l[81512.770]: master offset -13 s2 freq -103967 path delay 10855 ptp4l[81513.771]: master offset -168 s2 freq -104125 path delay 10871 ptp4l[81514.771]: master offset -610 s2 freq -104618 path delay 10888 ptp4l[81515.771]: master offset 49 s2 freq -104142 path delay 10888 ptp4l[81516.771]: master offset -538 s2 freq -104714 path delay 10888 ptp4l[81517.771]: master offset -621 s2 freq -104959 path delay 10875 ptp4l[81518.771]: master offset 250 s2 freq -104274 path delay 10864 ptp4l[81519.772]: master offset 99 s2 freq -104350 path delay 10837 ptp4l[81520.772]: master offset -480 s2 freq -104899 path delay 10864 ptp4l[81521.772]: master offset 276 s2 freq -104287 path delay 10864 ptp4l[81522.772]: master offset 431 s2 freq -104049 path delay 10812 ptp4l[81523.772]: master offset 72 s2 freq -104279 path delay 10812 ptp4l[81524.772]: master offset 217 s2 freq -104112 path delay 10738 ptp4l[81525.772]: master offset -14 s2 freq -104278 path delay 10738 ptp4l[81526.773]: master offset -589 s2 freq -104858 path delay 10772 ptp4l[81527.773]: master offset 82 s2 freq -104363 path delay 10738 ptp4l[81528.773]: master offset -237 s2 freq -104658 path delay 10738 ptp4l[81529.773]: master offset -218 s2 freq -104710 path delay 10746 ptp4l[81530.773]: master offset -486 s2 freq -105043 path delay 10746 ptp4l[81531.773]: master offset 315 s2 freq -104388 path delay 10689 ptp4l[81532.774]: master offset -59 s2 freq -104667 path delay 10745 ptp4l[81533.774]: master offset 2 s2 freq -104624 path delay 10745 ptp4l[81534.774]: master offset 11 s2 freq -104615 path delay 10772 ptp4l[81535.774]: master offset -60 s2 freq -104682 path delay 10754 ptp4l[81536.774]: master offset 283 s2 freq -104357 path delay 10754 ptp4l[81537.774]: master offset -213 s2 freq -104768 path delay 10775 ptp4l[81538.775]: master offset 628 s2 freq -103991 path delay 10767 ptp4l[81539.775]: master offset 1042 s2 freq -103389 path delay 10767 ptp4l[81540.775]: master offset 598 s2 freq -103520 path delay 10831 ptp4l[81541.775]: master offset -553 s2 freq -104492 path delay 10831 ptp4l[81542.775]: master offset 525 s2 freq -103580 path delay 10808 ptp4l[81543.775]: master offset 1068 s2 freq -102879 path delay 10800 ptp4l[81544.775]: master offset -279 s2 freq -103906 path delay 10800 ptp4l[81545.776]: master offset -490 s2 freq -104201 path delay 10779 ptp4l[81546.776]: master offset -366 s2 freq -104224 path delay 10784 ptp4l[81547.776]: master offset -1006 s2 freq -104973 path delay 10784 ptp4l[81548.776]: master offset 533 s2 freq -103736 path delay 10727 ptp4l[81549.776]: master offset -712 s2 freq -104821 path delay 10841 ptp4l[81550.776]: master offset -39 s2 freq -104362 path delay 10784 ptp4l[81551.777]: master offset -154 s2 freq -104489 path delay 10784 ptp4l[81552.777]: master offset 266 s2 freq -104115 path delay 10727 ptp4l[81553.777]: master offset -331 s2 freq -104632 path delay 10727 ptp4l[81554.777]: master offset -553 s2 freq -104953 path delay 10812 ptp4l[81555.777]: master offset -409 s2 freq -104975 path delay 10779 ptp4l[81556.777]: master offset 172 s2 freq -104517 path delay 10799 ptp4l[81557.777]: master offset -418 s2 freq -105055 path delay 10835 ptp4l[81558.778]: master offset -162 s2 freq -104925 path delay 10835 ptp4l[81559.778]: master offset -230 s2 freq -105041 path delay 10835 ptp4l[81560.778]: master offset -99 s2 freq -104979 path delay 10799 ptp4l[81561.778]: master offset 464 s2 freq -104446 path delay 10799 ptp4l[81562.778]: master offset 106 s2 freq -104665 path delay 10799 ptp4l[81563.778]: master offset 242 s2 freq -104497 path delay 10799 ptp4l[81564.779]: master offset 610 s2 freq -104056 path delay 10793 ptp4l[81565.779]: master offset 484 s2 freq -103999 path delay 10793 ptp4l[81566.779]: master offset 1012 s2 freq -103326 path delay 10741 ptp4l[81567.779]: master offset 130 s2 freq -103905 path delay 10741 ptp4l[81568.779]: master offset -313 s2 freq -104309 path delay 10755 ptp4l[81569.779]: master offset -312 s2 freq -104401 path delay 10793 ptp4l[81570.780]: master offset -344 s2 freq -104527 path delay 10793 ptp4l[81571.780]: master offset -740 s2 freq -105026 path delay 10755 ptp4l[81572.780]: master offset 87 s2 freq -104421 path delay 10755 ptp4l[81573.780]: master offset 1167 s2 freq -103315 path delay 10771 ptp4l[81574.780]: master offset 759 s2 freq -103373 path delay 10805 ptp4l[81575.780]: master offset 965 s2 freq -102939 path delay 10805 ptp4l[81576.780]: master offset 393 s2 freq -103222 path delay 10811 ptp4l[81577.781]: master offset 335 s2 freq -103162 path delay 10811 ptp4l[81578.781]: master offset -3 s2 freq -103399 path delay 10811 ptp4l[81579.781]: master offset -595 s2 freq -103992 path delay 10805 ptp4l[81580.781]: master offset -1116 s2 freq -104692 path delay 10828 ptp4l[81581.781]: master offset -483 s2 freq -104394 path delay 10828 ptp4l[81582.781]: master offset -405 s2 freq -104461 path delay 10828 ptp4l[81583.781]: master offset -1434 s2 freq -105611 path delay 10828 ptp4l[81584.782]: master offset -30 s2 freq -104637 path delay 10817 ptp4l[81585.782]: master offset 278 s2 freq -104338 path delay 10802 ptp4l[81586.782]: master offset -946 s2 freq -105479 path delay 10817 ptp4l[81587.782]: master offset -284 s2 freq -105101 path delay 10802 ptp4l[81588.782]: master offset -1048 s2 freq -105950 path delay 10802 ptp4l[81589.782]: master offset -255 s2 freq -105471 path delay 10763 ptp4l[81590.783]: master offset -20 s2 freq -105313 path delay 10760 ptp4l[81591.783]: master offset 624 s2 freq -104675 path delay 10702 ptp4l[81592.783]: master offset 1239 s2 freq -103873 path delay 10702 ptp4l[81593.783]: master offset 1330 s2 freq -103410 path delay 10664 ptp4l[81594.783]: master offset 42 s2 freq -104299 path delay 10664 ptp4l[81595.783]: master offset -387 s2 freq -104715 path delay 10749 ptp4l[81596.784]: master offset 24 s2 freq -104420 path delay 10749 ptp4l[81597.784]: master offset -917 s2 freq -105354 path delay 10749 ptp4l[81598.784]: master offset -595 s2 freq -105307 path delay 10749 ptp4l[81599.784]: master offset -273 s2 freq -105164 path delay 10716 ptp4l[81600.784]: master offset 87 s2 freq -104886 path delay 10716 ptp4l[81601.784]: master offset 259 s2 freq -104688 path delay 10707 ptp4l[81602.785]: master offset 624 s2 freq -104245 path delay 10678 ptp4l[81603.785]: master offset -359 s2 freq -105041 path delay 10678 ptp4l[81604.785]: master offset -57 s2 freq -104846 path delay 10695 ptp4l[81605.785]: master offset -91 s2 freq -104897 path delay 10695 ptp4l[81606.785]: master offset 714 s2 freq -104120 path delay 10695 ptp4l[81607.785]: master offset -59 s2 freq -104679 path delay 10695 ptp4l[81608.786]: master offset -84 s2 freq -104721 path delay 10695 ptp4l[81609.786]: master offset -13 s2 freq -104675 path delay 10695 ptp4l[81610.786]: master offset 744 s2 freq -103922 path delay 10695 ptp4l[81611.786]: master offset 925 s2 freq -103518 path delay 10685 ptp4l[81612.786]: master offset 529 s2 freq -103637 path delay 10696 ptp4l[81613.786]: master offset 1267 s2 freq -102740 path delay 10696 ptp4l[81614.787]: master offset 959 s2 freq -102668 path delay 10779 ptp4l[81615.787]: master offset 457 s2 freq -102882 path delay 10815 ptp4l[81616.787]: master offset 182 s2 freq -103020 path delay 10846 ptp4l[81617.787]: master offset -26 s2 freq -103173 path delay 10846 ptp4l[81618.787]: master offset 466 s2 freq -102689 path delay 10815 ptp4l[81619.787]: master offset -112 s2 freq -103127 path delay 10870 ptp4l[81620.788]: master offset -469 s2 freq -103518 path delay 10870 ptp4l[81621.788]: master offset -223 s2 freq -103413 path delay 10870 ptp4l[81622.788]: master offset -88 s2 freq -103345 path delay 10870 ptp4l[81623.788]: master offset -638 s2 freq -103921 path delay 10870 ptp4l[81624.788]: master offset 533 s2 freq -102941 path delay 10790 ptp4l[81625.788]: master offset 391 s2 freq -102924 path delay 10790 ptp4l[81626.788]: master offset 509 s2 freq -102688 path delay 10790 ptp4l[81627.788]: master offset -1031 s2 freq -104076 path delay 10790 ptp4l[81628.789]: master offset -1719 s2 freq -105073 path delay 10794 ptp4l[81629.789]: master offset -908 s2 freq -104778 path delay 10794 ptp4l[81630.789]: master offset -288 s2 freq -104430 path delay 10762 ptp4l[81631.789]: master offset -227 s2 freq -104455 path delay 10723 ptp4l[81632.789]: master offset 244 s2 freq -104052 path delay 10723 ptp4l[81633.789]: master offset 861 s2 freq -103362 path delay 10733 ptp4l[81634.790]: master offset 47 s2 freq -103918 path delay 10774 ptp4l[81635.790]: master offset -487 s2 freq -104438 path delay 10769 ptp4l[81636.790]: master offset -375 s2 freq -104472 path delay 10733 ptp4l[81637.790]: master offset -144 s2 freq -104353 path delay 10722 ptp4l[81638.790]: master offset 4 s2 freq -104249 path delay 10722 ptp4l[81639.790]: master offset 204 s2 freq -104047 path delay 10722 ptp4l[81640.791]: master offset 1175 s2 freq -103015 path delay 10733 ptp4l[81641.791]: master offset 1214 s2 freq -102624 path delay 10704 ptp4l[81642.791]: master offset -328 s2 freq -103802 path delay 10704 ptp4l[81643.791]: master offset -87 s2 freq -103659 path delay 10694 ptp4l[81644.791]: master offset -423 s2 freq -104021 path delay 10694 ptp4l[81645.791]: master offset 568 s2 freq -103157 path delay 10719 ptp4l[81646.792]: master offset -24 s2 freq -103579 path delay 10719 ptp4l[81647.792]: master offset 628 s2 freq -102934 path delay 10706 ptp4l[81648.792]: master offset -493 s2 freq -103866 path delay 10706 ptp4l[81649.792]: master offset -303 s2 freq -103824 path delay 10697 ptp4l[81650.792]: master offset 133 s2 freq -103479 path delay 10717 ptp4l[81651.792]: master offset 749 s2 freq -102823 path delay 10717 ptp4l[81652.793]: master offset 1269 s2 freq -102079 path delay 10697 ptp4l[81653.793]: master offset 969 s2 freq -101998 path delay 10697 ptp4l[81654.793]: master offset 1219 s2 freq -101457 path delay 10646 ptp4l[81655.793]: master offset 673 s2 freq -101637 path delay 10697 ptp4l[81656.793]: master offset 176 s2 freq -101933 path delay 10697 ptp4l[81657.793]: master offset -1534 s2 freq -103590 path delay 10717 ptp4l[81658.794]: master offset -1620 s2 freq -104136 path delay 10766 ptp4l[81659.794]: master offset -1984 s2 freq -104986 path delay 10842 ptp4l[81660.794]: master offset -1381 s2 freq -104978 path delay 10842 ptp4l[81661.794]: master offset -242 s2 freq -104253 path delay 10842 ptp4l[81662.794]: master offset -10 s2 freq -104094 path delay 10842 ptp4l[81663.794]: master offset 779 s2 freq -103308 path delay 10842 ptp4l[81664.795]: master offset 777 s2 freq -103076 path delay 10845 ptp4l[81665.794]: master offset 939 s2 freq -102681 path delay 10809 ptp4l[81666.795]: master offset 188 s2 freq -103151 path delay 10809 ptp4l[81667.795]: master offset -737 s2 freq -104019 path delay 10793 ptp4l[81668.795]: master offset -293 s2 freq -103796 path delay 10775 ptp4l[81669.795]: master offset 1024 s2 freq -102567 path delay 10746 ptp4l[81670.795]: master offset 1614 s2 freq -101670 path delay 10746 ptp4l[81671.796]: master offset 1814 s2 freq -100986 path delay 10746 ptp4l[81672.796]: master offset 578 s2 freq -101678 path delay 10775 ptp4l[81673.796]: master offset -69 s2 freq -102151 path delay 10776 ptp4l[81674.796]: master offset -697 s2 freq -102800 path delay 10796 ptp4l[81675.797]: master offset -1123 s2 freq -103435 path delay 10806 ptp4l[81676.797]: master offset -1142 s2 freq -103791 path delay 10806 ptp4l[81677.797]: master offset -1490 s2 freq -104481 path delay 10908 ptp4l[81678.797]: master offset -1752 s2 freq -105190 path delay 10908 ptp4l[81679.797]: master offset -519 s2 freq -104483 path delay 10908 ptp4l[81680.797]: master offset -455 s2 freq -104575 path delay 10908 ptp4l[81681.798]: master offset 90 s2 freq -104166 path delay 10863 ptp4l[81682.798]: master offset 258 s2 freq -103971 path delay 10853 ptp4l[81683.798]: master offset -192 s2 freq -104344 path delay 10853 ptp4l[81684.798]: master offset -513 s2 freq -104722 path delay 10856 ptp4l[81685.798]: master offset 351 s2 freq -104012 path delay 10843 ptp4l[81686.798]: master offset 304 s2 freq -103954 path delay 10843 ptp4l[81687.799]: master offset -99 s2 freq -104266 path delay 10836 ptp4l[81688.799]: master offset 220 s2 freq -103977 path delay 10818 ptp4l[81689.799]: master offset -1006 s2 freq -105137 path delay 10870 ptp4l[81690.799]: master offset -691 s2 freq -105123 path delay 10865 ptp4l[81691.799]: master offset 511 s2 freq -104129 path delay 10848 ptp4l[81692.799]: master offset 1346 s2 freq -103140 path delay 10818 ptp4l[81693.799]: master offset 1468 s2 freq -102615 path delay 10747 ptp4l[81694.799]: master offset -1066 s2 freq -104708 path delay 10818 ptp4l[81695.800]: master offset -378 s2 freq -104340 path delay 10833 ptp4l[81696.800]: master offset 557 s2 freq -103518 path delay 10776 ptp4l[81697.800]: master offset -537 s2 freq -104445 path delay 10863 ptp4l[81698.800]: master offset 570 s2 freq -103499 path delay 10863 ptp4l[81699.800]: master offset 1076 s2 freq -102822 path delay 10809 ptp4l[81700.800]: master offset 162 s2 freq -103414 path delay 10809 ptp4l[81701.801]: master offset 269 s2 freq -103258 path delay 10755 ptp4l[81702.801]: master offset 351 s2 freq -103095 path delay 10755 ptp4l[81703.801]: master offset 224 s2 freq -103117 path delay 10755 ptp4l[81704.801]: master offset -1283 s2 freq -104557 path delay 10755 ptp4l[81705.801]: master offset -2017 s2 freq -105676 path delay 10755 ptp4l[81706.801]: master offset -1716 s2 freq -105980 path delay 10763 ptp4l[81707.801]: master offset -1519 s2 freq -106298 path delay 10763 ptp4l[81708.801]: master offset -179 s2 freq -105413 path delay 10755 ptp4l[81709.802]: master offset 1592 s2 freq -103696 path delay 10746 ptp4l[81710.802]: master offset 237 s2 freq -104573 path delay 10746 ptp4l[81711.802]: master offset -8 s2 freq -104747 path delay 10746 ptp4l[81712.802]: master offset -1113 s2 freq -105855 path delay 10754 ptp4l[81713.802]: master offset -888 s2 freq -105964 path delay 10754 ptp4l[81714.802]: master offset 568 s2 freq -104774 path delay 10744 ptp4l[81715.803]: master offset 1615 s2 freq -103557 path delay 10744 ptp4l[81716.803]: master offset 436 s2 freq -104251 path delay 10751 ptp4l[81717.803]: master offset -241 s2 freq -104797 path delay 10751 ptp4l[81718.803]: master offset -132 s2 freq -104761 path delay 10766 ptp4l[81719.803]: master offset 806 s2 freq -103862 path delay 10724 ptp4l[81720.803]: master offset 815 s2 freq -103611 path delay 10724 ptp4l[81721.803]: master offset -410 s2 freq -104592 path delay 10724 ptp4l[81722.803]: master offset -1264 s2 freq -105569 path delay 10771 ptp4l[81723.804]: master offset -986 s2 freq -105670 path delay 10827 ptp4l[81724.804]: master offset -699 s2 freq -105679 path delay 10771 ptp4l[81725.804]: master offset 51 s2 freq -105139 path delay 10771 ptp4l[81726.804]: master offset -910 s2 freq -106084 path delay 10827 ptp4l[81727.804]: master offset -228 s2 freq -105675 path delay 10827 ptp4l[81728.804]: master offset -813 s2 freq -106329 path delay 10827 ptp4l[81729.805]: master offset -2530 s2 freq -108290 path delay 10961 ptp4l[81730.805]: master offset -796 s2 freq -107315 path delay 10820 ptp4l[81731.805]: master offset -706 s2 freq -107463 path delay 10800 ptp4l[81732.805]: master offset 1282 s2 freq -105687 path delay 10712 ptp4l[81733.805]: master offset 1553 s2 freq -105032 path delay 10712 ptp4l[81734.805]: master offset 973 s2 freq -105146 path delay 10774 ptp4l[81735.805]: master offset 101 s2 freq -105726 path delay 10774 ptp4l[81736.805]: master offset -305 s2 freq -106101 path delay 10774 ptp4l[81737.806]: master offset -233 s2 freq -106121 path delay 10774 ptp4l[81738.806]: master offset 849 s2 freq -105109 path delay 10584 ptp4l[81739.806]: master offset 256 s2 freq -105447 path delay 10584 ptp4l[81740.806]: master offset 761 s2 freq -104865 path delay 10709 ptp4l[81741.806]: master offset -570 s2 freq -105968 path delay 10841 ptp4l[81742.806]: master offset -326 s2 freq -105895 path delay 10767 ptp4l[81743.806]: master offset 432 s2 freq -105235 path delay 10767 ptp4l[81744.807]: master offset -665 s2 freq -106202 path delay 10767 ptp4l[81745.807]: master offset -1175 s2 freq -106912 path delay 10767 ptp4l[81746.807]: master offset -135 s2 freq -106224 path delay 10678 ptp4l[81747.807]: master offset -188 s2 freq -106318 path delay 10678 ptp4l[81748.807]: master offset -186 s2 freq -106372 path delay 10699 ptp4l[81749.808]: master offset 1158 s2 freq -105084 path delay 10699 ptp4l[81750.808]: master offset 1507 s2 freq -104388 path delay 10699 ptp4l[81751.808]: master offset 924 s2 freq -104518 path delay 10715 ptp4l[81752.808]: master offset -731 s2 freq -105896 path delay 10738 ptp4l[81753.808]: master offset -169 s2 freq -105554 path delay 10738 ptp4l[81754.808]: master offset 808 s2 freq -104627 path delay 10715 ptp4l[81755.809]: master offset 804 s2 freq -104389 path delay 10715 ptp4l[81756.809]: master offset 568 s2 freq -104384 path delay 10727 ptp4l[81757.809]: master offset 454 s2 freq -104327 path delay 10727 ptp4l[81758.809]: master offset 56 s2 freq -104589 path delay 10727 ptp4l[81759.809]: master offset -570 s2 freq -105198 path delay 10727 ptp4l[81760.809]: master offset -397 s2 freq -105196 path delay 10727 ptp4l[81761.809]: master offset 346 s2 freq -104572 path delay 10713 ptp4l[81762.809]: master offset 932 s2 freq -103883 path delay 10698 ptp4l[81763.810]: master offset -147 s2 freq -104682 path delay 10698 ptp4l[81764.810]: master offset 830 s2 freq -103749 path delay 10672 ptp4l[81765.810]: master offset 36 s2 freq -104294 path delay 10678 ptp4l[81766.810]: master offset -236 s2 freq -104555 path delay 10678 ptp4l[81767.810]: master offset -376 s2 freq -104766 path delay 10678 ptp4l[81768.810]: master offset -520 s2 freq -105023 path delay 10678 ptp4l[81769.811]: master offset 119 s2 freq -104540 path delay 10651 ptp4l[81770.811]: master offset -552 s2 freq -105175 path delay 10678 ptp4l[81771.811]: master offset -109 s2 freq -104898 path delay 10678 ptp4l[81772.811]: master offset -939 s2 freq -105760 path delay 10724 ptp4l[81773.811]: master offset -1615 s2 freq -106718 path delay 10811 ptp4l[81774.811]: master offset 130 s2 freq -105458 path delay 10811 ptp4l[81775.811]: master offset 14 s2 freq -105535 path delay 10811 ptp4l[81776.811]: master offset 455 s2 freq -105089 path delay 10774 ptp4l[81777.812]: master offset 479 s2 freq -104929 path delay 10774 ptp4l[81778.812]: master offset 80 s2 freq -105184 path delay 10811 ptp4l[81779.812]: master offset -101 s2 freq -105341 path delay 10811 ptp4l[81780.812]: master offset -194 s2 freq -105465 path delay 10867 ptp4l[81781.812]: master offset -152 s2 freq -105481 path delay 10867 ptp4l[81782.812]: master offset 152 s2 freq -105222 path delay 10871 ptp4l[81783.812]: master offset 518 s2 freq -104811 path delay 10871 ptp4l[81784.812]: master offset 950 s2 freq -104223 path delay 10846 ptp4l[81785.813]: master offset -178 s2 freq -105066 path delay 10846 ptp4l[81786.813]: master offset -681 s2 freq -105623 path delay 10867 ptp4l[81787.813]: master offset 75 s2 freq -105071 path delay 10867 ptp4l[81788.813]: master offset -57 s2 freq -105181 path delay 10847 ptp4l[81789.813]: master offset -479 s2 freq -105620 path delay 10815 ptp4l[81790.813]: master offset 114 s2 freq -105170 path delay 10764 ptp4l[81791.814]: master offset 405 s2 freq -104845 path delay 10735 ptp4l[81792.814]: master offset -64 s2 freq -105193 path delay 10735 ptp4l[81793.814]: master offset -100 s2 freq -105248 path delay 10735 ptp4l[81794.814]: master offset -776 s2 freq -105954 path delay 10764 ptp4l[81795.814]: master offset -83 s2 freq -105494 path delay 10764 ptp4l[81796.814]: master offset 165 s2 freq -105271 path delay 10764 ptp4l[81797.815]: master offset 253 s2 freq -105133 path delay 10826 ptp4l[81798.815]: master offset 301 s2 freq -105009 path delay 10891 ptp4l[81799.815]: master offset -393 s2 freq -105613 path delay 10891 ptp4l[81800.815]: master offset -9 s2 freq -105347 path delay 10891 ptp4l[81801.815]: master offset 1192 s2 freq -104148 path delay 10891 ptp4l[81802.815]: master offset 1708 s2 freq -103275 path delay 10836 ptp4l[81803.816]: master offset 594 s2 freq -103876 path delay 10800 ptp4l[81804.816]: master offset -389 s2 freq -104681 path delay 10855 ptp4l[81805.816]: master offset -438 s2 freq -104847 path delay 10800 ptp4l[81806.816]: master offset -447 s2 freq -104987 path delay 10727 ptp4l[81807.816]: master offset -330 s2 freq -105004 path delay 10727 ptp4l[81808.816]: master offset 576 s2 freq -104197 path delay 10709 ptp4l[81809.816]: master offset -673 s2 freq -105274 path delay 10709 ptp4l[81810.817]: master offset -796 s2 freq -105599 path delay 10709 ptp4l[81811.817]: master offset -974 s2 freq -106015 path delay 10727 ptp4l[81812.817]: master offset -480 s2 freq -105814 path delay 10727 ptp4l[81813.817]: master offset -251 s2 freq -105729 path delay 10700 ptp4l[81814.778]: master offset 316 s2 freq -105237 path delay 10683 ptp4l[81815.678]: master offset -307 s2 freq -105765 path delay 10683 ptp4l[81816.578]: master offset -57 s2 freq -105607 path delay 10683 ptp4l[81817.478]: master offset 184 s2 freq -105383 path delay 10683 ptp4l[81818.378]: master offset 153 s2 freq -105359 path delay 10678 ptp4l[81819.278]: master offset -41 s2 freq -105507 path delay 10678 ptp4l[81820.178]: master offset 54 s2 freq -105424 path delay 10688 ptp4l[81821.078]: master offset 112 s2 freq -105350 path delay 10688 ptp4l[81821.978]: master offset -367 s2 freq -105796 path delay 10688 ptp4l[81822.878]: master offset -200 s2 freq -105739 path delay 10710 ptp4l[81823.778]: master offset -279 s2 freq -105878 path delay 10728 ptp4l[81824.678]: master offset -486 s2 freq -106168 path delay 10728 ptp4l[81825.578]: master offset -223 s2 freq -106051 path delay 10728 ptp4l[81826.478]: master offset -40 s2 freq -105935 path delay 10728 ptp4l[81827.378]: master offset 299 s2 freq -105608 path delay 10744 ptp4l[81828.279]: master offset 524 s2 freq -105293 path delay 10744 ptp4l[81829.178]: master offset 583 s2 freq -105077 path delay 10744 ptp4l[81830.079]: master offset 141 s2 freq -105344 path delay 10744 ptp4l[81830.979]: master offset 1191 s2 freq -104252 path delay 10744 ptp4l[81831.879]: master offset 1408 s2 freq -103678 path delay 10744 ptp4l[81832.779]: master offset 527 s2 freq -104136 path delay 10744 ptp4l[81833.679]: master offset 840 s2 freq -103665 path delay 10727 ptp4l[81834.579]: master offset 716 s2 freq -103537 path delay 10738 ptp4l[81835.479]: master offset -227 s2 freq -104265 path delay 10738 ptp4l[81836.379]: master offset -466 s2 freq -104573 path delay 10810 ptp4l[81837.279]: master offset 101 s2 freq -104145 path delay 10836 ptp4l[81838.179]: master offset 40 s2 freq -104176 path delay 10836 ptp4l[81839.079]: master offset -192 s2 freq -104396 path delay 10836 ptp4l[81839.979]: master offset 373 s2 freq -103889 path delay 10836 ptp4l[81840.879]: master offset 460 s2 freq -103690 path delay 10836 ptp4l[81841.779]: master offset 496 s2 freq -103516 path delay 10801 ptp4l[81842.679]: master offset -320 s2 freq -104183 path delay 10801 ptp4l[81843.579]: master offset 53 s2 freq -103906 path delay 10801 ptp4l[81844.479]: master offset -214 s2 freq -104157 path delay 10801 ptp4l[81845.379]: master offset -474 s2 freq -104481 path delay 10801 ptp4l[81846.279]: master offset -43 s2 freq -104192 path delay 10757 ptp4l[81847.179]: master offset 333 s2 freq -103829 path delay 10757 ptp4l[81848.079]: master offset -12 s2 freq -104074 path delay 10757 ptp4l[81848.979]: master offset -521 s2 freq -104587 path delay 10757 ptp4l[81849.879]: master offset -54 s2 freq -104276 path delay 10757 ptp4l[81850.780]: master offset -402 s2 freq -104641 path delay 10810 ptp4l[81851.680]: master offset -184 s2 freq -104543 path delay 10861 ptp4l[81852.580]: master offset 223 s2 freq -104191 path delay 10861 ptp4l[81853.480]: master offset 130 s2 freq -104217 path delay 10861 ptp4l[81854.380]: master offset 8 s2 freq -104300 path delay 10861 ptp4l[81855.280]: master offset 57 s2 freq -104249 path delay 10881 ptp4l[81856.180]: master offset -314 s2 freq -104603 path delay 10861 ptp4l[81857.080]: master offset -84 s2 freq -104467 path delay 10818 ptp4l[81857.980]: master offset -98 s2 freq -104506 path delay 10818 ptp4l[81858.880]: master offset 239 s2 freq -104199 path delay 10828 ptp4l[81859.780]: master offset 371 s2 freq -103995 path delay 10828 ptp4l[81860.680]: master offset 4 s2 freq -104251 path delay 10828 ptp4l[81861.580]: master offset -505 s2 freq -104759 path delay 10842 ptp4l[81862.480]: master offset -335 s2 freq -104740 path delay 10829 ptp4l[81863.380]: master offset -177 s2 freq -104683 path delay 10829 ptp4l[81864.280]: master offset 397 s2 freq -104162 path delay 10805 ptp4l[81865.180]: master offset 198 s2 freq -104242 path delay 10805 ptp4l[81866.080]: master offset 310 s2 freq -104070 path delay 10781 ptp4l[81866.980]: master offset 337 s2 freq -103950 path delay 10829 ptp4l[81867.880]: master offset 831 s2 freq -103355 path delay 10807 ptp4l[81868.780]: master offset 303 s2 freq -103634 path delay 10807 ptp4l[81869.680]: master offset 1237 s2 freq -102609 path delay 10760 ptp4l[81870.580]: master offset -1496 s2 freq -104971 path delay 10760 ptp4l[81871.480]: master offset -722 s2 freq -104646 path delay 10760 ptp4l[81872.381]: master offset 577 s2 freq -103563 path delay 10661 ptp4l[81873.281]: master offset 399 s2 freq -103568 path delay 10661 ptp4l[81874.181]: master offset -368 s2 freq -104215 path delay 10706 ptp4l[81875.081]: master offset -1007 s2 freq -104965 path delay 10706 ptp4l[81875.981]: master offset -408 s2 freq -104668 path delay 10706 ptp4l[81876.881]: master offset -490 s2 freq -104872 path delay 10750 ptp4l[81877.781]: master offset 331 s2 freq -104198 path delay 10750 ptp4l[81878.681]: master offset -303 s2 freq -104733 path delay 10750 ptp4l[81879.581]: master offset -64 s2 freq -104585 path delay 10686 ptp4l[81880.481]: master offset 508 s2 freq -104032 path delay 10686 ptp4l[81881.381]: master offset -99 s2 freq -104487 path delay 10686 ptp4l[81882.281]: master offset -201 s2 freq -104618 path delay 10686 ptp4l[81883.181]: master offset 241 s2 freq -104237 path delay 10686 ptp4l[81884.081]: master offset 78 s2 freq -104327 path delay 10642 ptp4l[81884.981]: master offset -513 s2 freq -104895 path delay 10706 ptp4l[81885.881]: master offset -395 s2 freq -104931 path delay 10706 ptp4l[81886.781]: master offset -550 s2 freq -105204 path delay 10741 ptp4l[81887.681]: master offset -178 s2 freq -104997 path delay 10741 ptp4l[81888.581]: master offset -53 s2 freq -104926 path delay 10755 ptp4l[81889.481]: master offset -203 s2 freq -105092 path delay 10785 ptp4l[81890.381]: master offset -242 s2 freq -105192 path delay 10785 ptp4l[81891.282]: master offset 229 s2 freq -104793 path delay 10785 ptp4l[81892.182]: master offset 213 s2 freq -104740 path delay 10785 ptp4l[81893.082]: master offset 70 s2 freq -104820 path delay 10785 ptp4l[81893.982]: master offset 514 s2 freq -104355 path delay 10785 ptp4l[81894.882]: master offset 918 s2 freq -103796 path delay 10746 ptp4l[81895.782]: master offset 977 s2 freq -103462 path delay 10737 ptp4l[81896.682]: master offset 908 s2 freq -103238 path delay 10749 ptp4l[81897.582]: master offset 55 s2 freq -103818 path delay 10789 ptp4l[81898.482]: master offset 1392 s2 freq -102465 path delay 10789 ptp4l[81899.382]: master offset -756 s2 freq -104195 path delay 10789 ptp4l[81900.282]: master offset 213 s2 freq -103453 path delay 10842 ptp4l[81901.182]: master offset 283 s2 freq -103319 path delay 10842 ptp4l[81902.082]: master offset -91 s2 freq -103608 path delay 10860 ptp4l[81902.982]: master offset -779 s2 freq -104324 path delay 10856 ptp4l[81903.882]: master offset -1052 s2 freq -104830 path delay 10847 ptp4l[81904.782]: master offset -861 s2 freq -104955 path delay 10847 ptp4l[81905.682]: master offset -969 s2 freq -105321 path delay 10847 ptp4l[81906.582]: master offset 453 s2 freq -104190 path delay 10847 ptp4l[81907.482]: master offset 409 s2 freq -104098 path delay 10816 ptp4l[81908.382]: master offset -138 s2 freq -104522 path delay 10816 ptp4l[81909.283]: master offset -441 s2 freq -104867 path delay 10808 ptp4l[81910.182]: master offset -878 s2 freq -105436 path delay 10808 ptp4l[81911.083]: master offset -534 s2 freq -105355 path delay 10797 ptp4l[81911.983]: master offset 232 s2 freq -104750 path delay 10785 ptp4l[81912.883]: master offset 580 s2 freq -104332 path delay 10764 ptp4l[81913.783]: master offset 340 s2 freq -104398 path delay 10764 login as: root Last login: Mon Aug 10 15:27:55 2015 from 192.168.1.164 root@zx3-pm3-zynq7:~# phc2sys -a -r -m phc2sys[81336.197]: reconfiguring after port state change phc2sys[81336.198]: selecting CLOCK_REALTIME for synchronization phc2sys[81336.198]: selecting eth0 as the master clock phc2sys[81336.198]: phc offset 2329760226185187 s0 freq +100000000 delay 2439 phc2sys[81337.199]: phc offset 2329760114861905 s1 freq -106524 delay 2403 phc2sys[81338.201]: phc offset -1007908 s2 freq -1114432 delay 2701 phc2sys[81339.202]: phc offset -6107 s2 freq -415004 delay 2736 phc2sys[81340.202]: phc offset 307598 s2 freq -103131 delay 2668 phc2sys[81341.203]: phc offset 306482 s2 freq -11967 delay 2667 phc2sys[81342.203]: phc offset 212572 s2 freq -13933 delay 2670 phc2sys[81343.204]: phc offset 119727 s2 freq -43006 delay 2664 phc2sys[81344.204]: phc offset 55809 s2 freq -71006 delay 2670 phc2sys[81345.204]: phc offset 20218 s2 freq -89854 delay 2694 phc2sys[81346.205]: phc offset 3111 s2 freq -100896 delay 2680 phc2sys[81347.205]: phc offset -2956 s2 freq -106030 delay 2695 phc2sys[81348.206]: phc offset -3745 s2 freq -107705 delay 2700 phc2sys[81349.206]: phc offset -2904 s2 freq -107988 delay 2667 phc2sys[81350.207]: phc offset -1724 s2 freq -107679 delay 2673 phc2sys[81351.207]: phc offset -739 s2 freq -107211 delay 2673 phc2sys[81352.208]: phc offset -8 s2 freq -106702 delay 2664 phc2sys[81353.208]: phc offset 180 s2 freq -106516 delay 2697 phc2sys[81354.208]: phc offset -118 s2 freq -106760 delay 2664 phc2sys[81355.209]: phc offset -336 s2 freq -107014 delay 2670 phc2sys[81356.209]: phc offset -276 s2 freq -107055 delay 2694 phc2sys[81357.210]: phc offset 30 s2 freq -106831 delay 2673 phc2sys[81358.210]: phc offset 361 s2 freq -106491 delay 2664 phc2sys[81359.211]: phc offset 519 s2 freq -106225 delay 2664 phc2sys[81360.211]: phc offset 170 s2 freq -106418 delay 2664 phc2sys[81361.212]: phc offset -224 s2 freq -106761 delay 2667 phc2sys[81362.212]: phc offset -367 s2 freq -106972 delay 2665 phc2sys[81363.213]: phc offset -340 s2 freq -107055 delay 2667 phc2sys[81364.213]: phc offset 65 s2 freq -106752 delay 2664 phc2sys[81365.213]: phc offset 180 s2 freq -106617 delay 2664 phc2sys[81366.214]: phc offset -263 s2 freq -107006 delay 2671 phc2sys[81367.214]: phc offset -199 s2 freq -107021 delay 2670 phc2sys[81368.215]: phc offset 153 s2 freq -106729 delay 2664 phc2sys[81369.215]: phc offset 373 s2 freq -106463 delay 2664 phc2sys[81370.216]: phc offset 510 s2 freq -106214 delay 2691 phc2sys[81371.216]: phc offset 274 s2 freq -106297 delay 2692 phc2sys[81372.217]: phc offset 105 s2 freq -106384 delay 2664 phc2sys[81373.217]: phc offset -40 s2 freq -106497 delay 2664 phc2sys[81374.218]: phc offset -188 s2 freq -106657 delay 2664 phc2sys[81375.218]: phc offset 48 s2 freq -106478 delay 2718 phc2sys[81376.219]: phc offset 565 s2 freq -105946 delay 2668 phc2sys[81377.219]: phc offset 957 s2 freq -105385 delay 2664 phc2sys[81378.220]: phc offset 632 s2 freq -105423 delay 2668 phc2sys[81379.220]: phc offset 129 s2 freq -105736 delay 2700 phc2sys[81380.221]: phc offset -56 s2 freq -105882 delay 2724 phc2sys[81381.221]: phc offset -240 s2 freq -106083 delay 2667 phc2sys[81382.222]: phc offset 552 s2 freq -105363 delay 2670 phc2sys[81383.222]: phc offset 1058 s2 freq -104692 delay 2673 phc2sys[81384.222]: phc offset 461 s2 freq -104971 delay 2664 phc2sys[81385.223]: phc offset 483 s2 freq -104811 delay 2664 phc2sys[81386.223]: phc offset 533 s2 freq -104616 delay 2670 phc2sys[81387.224]: phc offset -37 s2 freq -105026 delay 2680 phc2sys[81388.224]: phc offset -639 s2 freq -105639 delay 2736 phc2sys[81389.225]: phc offset -475 s2 freq -105667 delay 2682 phc2sys[81390.225]: phc offset -99 s2 freq -105433 delay 2665 phc2sys[81391.226]: phc offset 74 s2 freq -105290 delay 2716 phc2sys[81392.226]: phc offset 336 s2 freq -105006 delay 2665 phc2sys[81393.227]: phc offset 610 s2 freq -104631 delay 2664 phc2sys[81394.228]: phc offset -237 s2 freq -105295 delay 2664 phc2sys[81395.228]: phc offset -1261 s2 freq -106390 delay 2682 phc2sys[81396.229]: phc offset -1108 s2 freq -106615 delay 2667 phc2sys[81397.229]: phc offset -204 s2 freq -106044 delay 2665 phc2sys[81398.230]: phc offset -16 s2 freq -105917 delay 2668 phc2sys[81399.231]: phc offset -860 s2 freq -106766 delay 2703 phc2sys[81400.232]: phc offset -1315 s2 freq -107479 delay 2689 phc2sys[81401.232]: phc offset -601 s2 freq -107159 delay 2700 phc2sys[81402.233]: phc offset 190 s2 freq -106549 delay 2664 phc2sys[81403.233]: phc offset 863 s2 freq -105819 delay 2664 phc2sys[81404.234]: phc offset 926 s2 freq -105497 delay 2670 phc2sys[81405.234]: phc offset 464 s2 freq -105681 delay 2673 phc2sys[81406.235]: phc offset 698 s2 freq -105308 delay 2682 phc2sys[81407.236]: phc offset 890 s2 freq -104906 delay 2664 phc2sys[81408.236]: phc offset 570 s2 freq -104959 delay 2697 phc2sys[81409.237]: phc offset 295 s2 freq -105063 delay 2692 phc2sys[81410.237]: phc offset 296 s2 freq -104974 delay 2665 phc2sys[81411.238]: phc offset -195 s2 freq -105376 delay 2664 phc2sys[81412.238]: phc offset -627 s2 freq -105867 delay 2724 phc2sys[81413.239]: phc offset -107 s2 freq -105535 delay 2694 phc2sys[81414.239]: phc offset 500 s2 freq -104960 delay 2689 phc2sys[81415.240]: phc offset -165 s2 freq -105475 delay 2700 phc2sys[81416.240]: phc offset -1410 s2 freq -106769 delay 2668 phc2sys[81417.241]: phc offset -1346 s2 freq -107128 delay 2671 phc2sys[81418.241]: phc offset -383 s2 freq -106569 delay 2679 phc2sys[81419.242]: phc offset 244 s2 freq -106057 delay 2664 phc2sys[81420.242]: phc offset 132 s2 freq -106096 delay 2686 phc2sys[81421.243]: phc offset 135 s2 freq -106053 delay 2700 phc2sys[81422.243]: phc offset 254 s2 freq -105894 delay 2667 phc2sys[81423.244]: phc offset -161 s2 freq -106232 delay 2701 phc2sys[81424.244]: phc offset 451 s2 freq -105669 delay 2664 phc2sys[81425.245]: phc offset 848 s2 freq -105136 delay 2683 phc2sys[81426.245]: phc offset 117 s2 freq -105613 delay 2739 phc2sys[81427.246]: phc offset -562 s2 freq -106257 delay 2667 phc2sys[81428.246]: phc offset -587 s2 freq -106451 delay 2664 phc2sys[81429.246]: phc offset -251 s2 freq -106291 delay 2667 phc2sys[81430.247]: phc offset -117 s2 freq -106232 delay 2664 phc2sys[81431.247]: phc offset 299 s2 freq -105851 delay 2730 phc2sys[81432.248]: phc offset 568 s2 freq -105492 delay 2664 phc2sys[81433.248]: phc offset 775 s2 freq -105115 delay 2703 phc2sys[81434.249]: phc offset 406 s2 freq -105251 delay 2667 phc2sys[81435.249]: phc offset 236 s2 freq -105300 delay 2671 phc2sys[81436.250]: phc offset 135 s2 freq -105330 delay 2664 phc2sys[81437.250]: phc offset -512 s2 freq -105936 delay 2685 phc2sys[81438.250]: phc offset -760 s2 freq -106338 delay 2664 phc2sys[81439.251]: phc offset -577 s2 freq -106383 delay 2694 phc2sys[81440.251]: phc offset -621 s2 freq -106600 delay 2664 phc2sys[81441.252]: phc offset -282 s2 freq -106447 delay 2667 phc2sys[81442.252]: phc offset 868 s2 freq -105382 delay 2664 phc2sys[81443.253]: phc offset 1049 s2 freq -104941 delay 2664 phc2sys[81444.253]: phc offset 245 s2 freq -105430 delay 2668 phc2sys[81445.253]: phc offset -297 s2 freq -105898 delay 2668 phc2sys[81446.254]: phc offset -728 s2 freq -106418 delay 2664 phc2sys[81447.254]: phc offset -207 s2 freq -106116 delay 2664 phc2sys[81448.255]: phc offset 1130 s2 freq -104841 delay 2664 phc2sys[81449.255]: phc offset 1070 s2 freq -104562 delay 2673 phc2sys[81450.256]: phc offset -206 s2 freq -105517 delay 2673 phc2sys[81451.256]: phc offset -286 s2 freq -105659 delay 2664 phc2sys[81452.256]: phc offset 621 s2 freq -104838 delay 2664 phc2sys[81453.257]: phc offset 166 s2 freq -105106 delay 2694 phc2sys[81454.257]: phc offset -1159 s2 freq -106381 delay 2664 phc2sys[81455.258]: phc offset -1049 s2 freq -106619 delay 2673 phc2sys[81456.258]: phc offset -251 s2 freq -106136 delay 2664 phc2sys[81457.259]: phc offset 336 s2 freq -105624 delay 2668 phc2sys[81458.259]: phc offset 922 s2 freq -104937 delay 2700 phc2sys[81459.260]: phc offset 1562 s2 freq -104021 delay 2671 phc2sys[81460.260]: phc offset 2063 s2 freq -103051 delay 2671 phc2sys[81461.261]: phc offset 1627 s2 freq -102868 delay 2664 phc2sys[81462.261]: phc offset 642 s2 freq -103365 delay 2710 phc2sys[81463.262]: phc offset -533 s2 freq -104348 delay 2664 phc2sys[81464.262]: phc offset -1568 s2 freq -105542 delay 2727 phc2sys[81465.263]: phc offset -1539 s2 freq -105984 delay 2682 phc2sys[81466.263]: phc offset -228 s2 freq -105135 delay 2667 phc2sys[81467.263]: phc offset 952 s2 freq -104023 delay 2664 phc2sys[81468.264]: phc offset 1798 s2 freq -102891 delay 2664 phc2sys[81469.264]: phc offset 1765 s2 freq -102385 delay 2664 phc2sys[81470.265]: phc offset 531 s2 freq -103089 delay 2670 phc2sys[81471.265]: phc offset -864 s2 freq -104325 delay 2668 phc2sys[81472.266]: phc offset -1503 s2 freq -105223 delay 2665 phc2sys[81473.266]: phc offset -1287 s2 freq -105458 delay 2664 phc2sys[81474.267]: phc offset -1827 s2 freq -106384 delay 2670 phc2sys[81475.267]: phc offset -2118 s2 freq -107223 delay 2689 phc2sys[81476.267]: phc offset -1000 s2 freq -106741 delay 2694 phc2sys[81477.268]: phc offset 281 s2 freq -105760 delay 2664 phc2sys[81478.268]: phc offset 886 s2 freq -105071 delay 2667 phc2sys[81479.269]: phc offset 999 s2 freq -104692 delay 2664 phc2sys[81480.269]: phc offset 970 s2 freq -104421 delay 2667 phc2sys[81481.270]: phc offset 673 s2 freq -104427 delay 2730 phc2sys[81482.270]: phc offset -30 s2 freq -104928 delay 2673 phc2sys[81483.271]: phc offset 110 s2 freq -104797 delay 2664 phc2sys[81484.271]: phc offset 630 s2 freq -104244 delay 2670 phc2sys[81485.271]: phc offset 742 s2 freq -103943 delay 2686 phc2sys[81486.272]: phc offset 972 s2 freq -103491 delay 2697 phc2sys[81487.272]: phc offset 922 s2 freq -103249 delay 2664 phc2sys[81488.273]: phc offset 1300 s2 freq -102594 delay 2664 phc2sys[81489.273]: phc offset ... [truncated message content] |
From: Cyril B. <cyr...@gm...> - 2015-08-04 14:25:45
|
Hi, In my application, I need to know the status of the local PTP clock. So I opened a Unix domain socket to "/var/run/ptp4l" and asks for the magement messages. But this only works as root. Is there a way to make this, for simple user, for GET action ? I also need to get the clockid on /dev /ptp0. For now I use the macro #define CLOCKFD 3 #define FD_TO_CLOCKID (fd) ((~ (clockid_t) (fd) << 3) | CLOCKFD) but I can not get the file descriptor to /dev/ptp0 that as root. Can we make a clock_gettime() on /dev/ptp0 as simple user ? Perhaps with cabability ? Thank you |
From: Keller, J. E <jac...@in...> - 2015-07-07 22:32:39
|
Tx_timestamp_timeout value. If you set this to 5 it polls for up to 5 milliseconds instead of 1. If that resolves your issue it's just a quirk of the particular hardware not being able to respond with a timestamp fast enough. Regards, Jake > -----Original Message----- > From: Axel Holzinger [mailto:aho...@gm...] > Sent: Tuesday, July 07, 2015 12:22 AM > To: lin...@li... > Subject: Re: [Linuxptp-users] tx_timestamp_timeout and i210 > > Hi Jake, > > please forgive me my ignorance. With poll timer you mean > tx_timestamp_retries, right? I always left it to its default 100. > > With tx_timestamp_timeout set to 5 (milliseconds) I didn't observe the > issue. > > Cheers > Axel > > > -----Original Message----- > > From: Keller, Jacob E [mailto:jac...@in...] > > Sent: Monday, July 6, 2015 8:21 PM > > To: lin...@li...; aho...@gm... > > Subject: Re: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > If the increase in the polling time is enough to fix this, then it's > > likely just a delay that can be worked around. If you see drops above a > > a few milliseconds (try setting poll timer to 100? Too long and ptp4l > > will delay more significantly as it spins waiting.) > > > > Regards, > > Jake > > > > On Fri, 2015-07-03 at 15:44 +0200, Axel Holzinger wrote: > > > Hi Jake et al, > > > > > > unfortunately the error message "timed out while polling for tx > > > timestamp" > > > still occurs, even with EEE disabled (checked with "ethtool --show > > > -eee > > > eth0". > > > > > > Regards > > > Axel > > > > > > > -----Original Message----- > > > > From: Axel Holzinger [mailto:aho...@gm...] > > > > Sent: Tuesday, June 30, 2015 1:57 AM > > > > To: lin...@li... > > > > Subject: Re: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > > > > > Got it. Thank you. > > > > > > > > I modified /etc/network/interfaces and added the last line > > > > ethtool --set-eee eth0 eee off > > > > > > > > Now even after a reboot EEE is switched off on eth0. > > > > > > > > Cheers > > > > Axel > > > > > > > > > -----Original Message----- > > > > > From: Keller, Jacob E [mailto:jac...@in...] > > > > > Sent: Tuesday, June 30, 2015 1:34 AM > > > > > To: Axel Holzinger; lin...@li... > > > > > Subject: RE: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > > > > > > > Use ethtool. > > > > > > > > > > $ethtool --set-eee <device> off > > > > > > > > > > Don't bother with module parameters. On modern kernels all the > > > > > module > > > > > parameters have other ways of configuring the same behavior. > > > > > > > > > > Regards, > > > > > Jake > > > > > > > > > > > -----Original Message----- > > > > > > From: Axel Holzinger [mailto:aho...@gm...] > > > > > > Sent: Monday, June 29, 2015 4:10 PM > > > > > > To: lin...@li... > > > > > > Subject: Re: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > > > > > > > > > Hi Jake, > > > > > > > > > > > > thanks for this rast reply. > > > > > > > > > > > > I searched the web and finally did this: > > > > > > > > > > > > sudo modprobe igb EEE=0 > > > > > > > > > > > > Does this suffice or how can I read the igb parameters? > > > > > > > > > > > > Thanks a lot > > > > > > Axel > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: Keller, Jacob E [mailto:jac...@in...] > > > > > > > Sent: Tuesday, June 30, 2015 12:34 AM > > > > > > > To: Axel Holzinger; lin...@li... > > > > > > > Subject: RE: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > Make sure you have disabled EEE support. If EEE is on, then > > > > > > > the i210 > > > > > > device > > > > > > > can take a very long time to return timestamps if the only > > > > > > > traffic > > > > running > > > > > > is > > > > > > > ptp. (since the link will go to sleep inbetween the frames). > > > > > > > > > > > > > > That should be the issue here. If you still see the issue > > > > > > > please let > > > > me > > > > > > know. > > > > > > > > > > > > > > Regards, > > > > > > > Jake > > > > > > > > > > > > > > > -----Original Message----- > > > > > > > > From: Axel Holzinger [mailto:aho...@gm...] > > > > > > > > Sent: Monday, June 29, 2015 3:24 PM > > > > > > > > To: lin...@li... > > > > > > > > Subject: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > > > > > > > > > > > > > Hi Richard et al, > > > > > > > > > > > > > > > > on Ubuntu 14.04 with all updates and latest Intel i210 igb > > > > > > > > driver > > > I > > > > > > > > regularly get tx_timestamp_timeout error messages with the > > > > > > > > default > > > > > > > > timeout > > > > > > > > of 1ms. I then changed to 5ms and since then I don't see > > > > > > > > any more > > > > > > errors. > > > > > > > > > > > > > > > > Does anybody see similar problems? Might this be a problem > > > > > > > > of the > > > > PC > > > > > > > > (some > > > > > > > > years old HP xw workstation) or might this be a i210 > > > > > > > > problem? > > > > > > > > > > > > > > > > Any hint appreciated. > > > > > > > > > > > > > > > > Regards > > > > > > > > Axel > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > ------- > > > > > > -- > > > > > > > > Don't Limit Your Business. Reach for the Cloud. > > > > > > > > GigeNET's Cloud Solutions provide you with the tools and > > > > > > > > support > > > > that > > > > > > > > you need to offload your IT needs and focus on growing your > > > > business. > > > > > > > > Configured For All Businesses. Start Your Cloud Today. > > > > > > > > https://www.gigenetcloud.com/ > > > > > > > > _______________________________________________ > > > > > > > > Linuxptp-users mailing list > > > > > > > > Lin...@li... > > > > > > > > https://lists.sourceforge.net/lists/listinfo/linuxptp-users > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > ------- > > > > -- > > > > > > Don't Limit Your Business. Reach for the Cloud. > > > > > > GigeNET's Cloud Solutions provide you with the tools and > > > > > > support that > > > > > > you need to offload your IT needs and focus on growing your > > > > > > business. > > > > > > Configured For All Businesses. Start Your Cloud Today. > > > > > > https://www.gigenetcloud.com/ > > > > > > _______________________________________________ > > > > > > Linuxptp-users mailing list > > > > > > Lin...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/linuxptp-users > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > ------- > > > -- > > > > Don't Limit Your Business. Reach for the Cloud. > > > > GigeNET's Cloud Solutions provide you with the tools and support > > > > that > > > > you need to offload your IT needs and focus on growing your > > > > business. > > > > Configured For All Businesses. Start Your Cloud Today. > > > > https://www.gigenetcloud.com/ > > > > _______________________________________________ > > > > Linuxptp-users mailing list > > > > Lin...@li... > > > > https://lists.sourceforge.net/lists/listinfo/linuxptp-users > > > > > > > > > --------------------------------------------------------------------- > > > --------- > > > Don't Limit Your Business. Reach for the Cloud. > > > GigeNET's Cloud Solutions provide you with the tools and support that > > > you need to offload your IT needs and focus on growing your business. > > > Configured For All Businesses. Start Your Cloud Today. > > > https://www.gigenetcloud.com/ > > > _______________________________________________ > > > Linuxptp-users mailing list > > > Lin...@li... > > > https://lists.sourceforge.net/lists/listinfo/linuxptp-users > > > ------------------------------------------------------------------------------ > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > _______________________________________________ > Linuxptp-users mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxptp-users |
From: Axel H. <aho...@gm...> - 2015-07-07 07:22:08
|
Hi Jake, please forgive me my ignorance. With poll timer you mean tx_timestamp_retries, right? I always left it to its default 100. With tx_timestamp_timeout set to 5 (milliseconds) I didn't observe the issue. Cheers Axel > -----Original Message----- > From: Keller, Jacob E [mailto:jac...@in...] > Sent: Monday, July 6, 2015 8:21 PM > To: lin...@li...; aho...@gm... > Subject: Re: [Linuxptp-users] tx_timestamp_timeout and i210 > > If the increase in the polling time is enough to fix this, then it's > likely just a delay that can be worked around. If you see drops above a > a few milliseconds (try setting poll timer to 100? Too long and ptp4l > will delay more significantly as it spins waiting.) > > Regards, > Jake > > On Fri, 2015-07-03 at 15:44 +0200, Axel Holzinger wrote: > > Hi Jake et al, > > > > unfortunately the error message "timed out while polling for tx > > timestamp" > > still occurs, even with EEE disabled (checked with "ethtool --show > > -eee > > eth0". > > > > Regards > > Axel > > > > > -----Original Message----- > > > From: Axel Holzinger [mailto:aho...@gm...] > > > Sent: Tuesday, June 30, 2015 1:57 AM > > > To: lin...@li... > > > Subject: Re: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > > > Got it. Thank you. > > > > > > I modified /etc/network/interfaces and added the last line > > > ethtool --set-eee eth0 eee off > > > > > > Now even after a reboot EEE is switched off on eth0. > > > > > > Cheers > > > Axel > > > > > > > -----Original Message----- > > > > From: Keller, Jacob E [mailto:jac...@in...] > > > > Sent: Tuesday, June 30, 2015 1:34 AM > > > > To: Axel Holzinger; lin...@li... > > > > Subject: RE: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > > > > > Use ethtool. > > > > > > > > $ethtool --set-eee <device> off > > > > > > > > Don't bother with module parameters. On modern kernels all the > > > > module > > > > parameters have other ways of configuring the same behavior. > > > > > > > > Regards, > > > > Jake > > > > > > > > > -----Original Message----- > > > > > From: Axel Holzinger [mailto:aho...@gm...] > > > > > Sent: Monday, June 29, 2015 4:10 PM > > > > > To: lin...@li... > > > > > Subject: Re: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > > > > > > > Hi Jake, > > > > > > > > > > thanks for this rast reply. > > > > > > > > > > I searched the web and finally did this: > > > > > > > > > > sudo modprobe igb EEE=0 > > > > > > > > > > Does this suffice or how can I read the igb parameters? > > > > > > > > > > Thanks a lot > > > > > Axel > > > > > > > > > > > -----Original Message----- > > > > > > From: Keller, Jacob E [mailto:jac...@in...] > > > > > > Sent: Tuesday, June 30, 2015 12:34 AM > > > > > > To: Axel Holzinger; lin...@li... > > > > > > Subject: RE: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > > > > > > > > > Hi, > > > > > > > > > > > > Make sure you have disabled EEE support. If EEE is on, then > > > > > > the i210 > > > > > device > > > > > > can take a very long time to return timestamps if the only > > > > > > traffic > > > running > > > > > is > > > > > > ptp. (since the link will go to sleep inbetween the frames). > > > > > > > > > > > > That should be the issue here. If you still see the issue > > > > > > please let > > > me > > > > > know. > > > > > > > > > > > > Regards, > > > > > > Jake > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: Axel Holzinger [mailto:aho...@gm...] > > > > > > > Sent: Monday, June 29, 2015 3:24 PM > > > > > > > To: lin...@li... > > > > > > > Subject: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > > > > > > > > > > > Hi Richard et al, > > > > > > > > > > > > > > on Ubuntu 14.04 with all updates and latest Intel i210 igb > > > > > > > driver > > I > > > > > > > regularly get tx_timestamp_timeout error messages with the > > > > > > > default > > > > > > > timeout > > > > > > > of 1ms. I then changed to 5ms and since then I don't see > > > > > > > any more > > > > > errors. > > > > > > > > > > > > > > Does anybody see similar problems? Might this be a problem > > > > > > > of the > > > PC > > > > > > > (some > > > > > > > years old HP xw workstation) or might this be a i210 > > > > > > > problem? > > > > > > > > > > > > > > Any hint appreciated. > > > > > > > > > > > > > > Regards > > > > > > > Axel > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > ------- > > > > > -- > > > > > > > Don't Limit Your Business. Reach for the Cloud. > > > > > > > GigeNET's Cloud Solutions provide you with the tools and > > > > > > > support > > > that > > > > > > > you need to offload your IT needs and focus on growing your > > > business. > > > > > > > Configured For All Businesses. Start Your Cloud Today. > > > > > > > https://www.gigenetcloud.com/ > > > > > > > _______________________________________________ > > > > > > > Linuxptp-users mailing list > > > > > > > Lin...@li... > > > > > > > https://lists.sourceforge.net/lists/listinfo/linuxptp-users > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > ------- > > > -- > > > > > Don't Limit Your Business. Reach for the Cloud. > > > > > GigeNET's Cloud Solutions provide you with the tools and > > > > > support that > > > > > you need to offload your IT needs and focus on growing your > > > > > business. > > > > > Configured For All Businesses. Start Your Cloud Today. > > > > > https://www.gigenetcloud.com/ > > > > > _______________________________________________ > > > > > Linuxptp-users mailing list > > > > > Lin...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/linuxptp-users > > > > > > > > > > > --------------------------------------------------------------------- > > ------- > > -- > > > Don't Limit Your Business. Reach for the Cloud. > > > GigeNET's Cloud Solutions provide you with the tools and support > > > that > > > you need to offload your IT needs and focus on growing your > > > business. > > > Configured For All Businesses. Start Your Cloud Today. > > > https://www.gigenetcloud.com/ > > > _______________________________________________ > > > Linuxptp-users mailing list > > > Lin...@li... > > > https://lists.sourceforge.net/lists/listinfo/linuxptp-users > > > > > > --------------------------------------------------------------------- > > --------- > > Don't Limit Your Business. Reach for the Cloud. > > GigeNET's Cloud Solutions provide you with the tools and support that > > you need to offload your IT needs and focus on growing your business. > > Configured For All Businesses. Start Your Cloud Today. > > https://www.gigenetcloud.com/ > > _______________________________________________ > > Linuxptp-users mailing list > > Lin...@li... > > https://lists.sourceforge.net/lists/listinfo/linuxptp-users |
From: Keller, J. E <jac...@in...> - 2015-07-06 18:20:52
|
If the increase in the polling time is enough to fix this, then it's likely just a delay that can be worked around. If you see drops above a a few milliseconds (try setting poll timer to 100? Too long and ptp4l will delay more significantly as it spins waiting.) Regards, Jake On Fri, 2015-07-03 at 15:44 +0200, Axel Holzinger wrote: > Hi Jake et al, > > unfortunately the error message "timed out while polling for tx > timestamp" > still occurs, even with EEE disabled (checked with "ethtool --show > -eee > eth0". > > Regards > Axel > > > -----Original Message----- > > From: Axel Holzinger [mailto:aho...@gm...] > > Sent: Tuesday, June 30, 2015 1:57 AM > > To: lin...@li... > > Subject: Re: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > Got it. Thank you. > > > > I modified /etc/network/interfaces and added the last line > > ethtool --set-eee eth0 eee off > > > > Now even after a reboot EEE is switched off on eth0. > > > > Cheers > > Axel > > > > > -----Original Message----- > > > From: Keller, Jacob E [mailto:jac...@in...] > > > Sent: Tuesday, June 30, 2015 1:34 AM > > > To: Axel Holzinger; lin...@li... > > > Subject: RE: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > > > Use ethtool. > > > > > > $ethtool --set-eee <device> off > > > > > > Don't bother with module parameters. On modern kernels all the > > > module > > > parameters have other ways of configuring the same behavior. > > > > > > Regards, > > > Jake > > > > > > > -----Original Message----- > > > > From: Axel Holzinger [mailto:aho...@gm...] > > > > Sent: Monday, June 29, 2015 4:10 PM > > > > To: lin...@li... > > > > Subject: Re: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > > > > > Hi Jake, > > > > > > > > thanks for this rast reply. > > > > > > > > I searched the web and finally did this: > > > > > > > > sudo modprobe igb EEE=0 > > > > > > > > Does this suffice or how can I read the igb parameters? > > > > > > > > Thanks a lot > > > > Axel > > > > > > > > > -----Original Message----- > > > > > From: Keller, Jacob E [mailto:jac...@in...] > > > > > Sent: Tuesday, June 30, 2015 12:34 AM > > > > > To: Axel Holzinger; lin...@li... > > > > > Subject: RE: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > > > > > > > Hi, > > > > > > > > > > Make sure you have disabled EEE support. If EEE is on, then > > > > > the i210 > > > > device > > > > > can take a very long time to return timestamps if the only > > > > > traffic > > running > > > > is > > > > > ptp. (since the link will go to sleep inbetween the frames). > > > > > > > > > > That should be the issue here. If you still see the issue > > > > > please let > > me > > > > know. > > > > > > > > > > Regards, > > > > > Jake > > > > > > > > > > > -----Original Message----- > > > > > > From: Axel Holzinger [mailto:aho...@gm...] > > > > > > Sent: Monday, June 29, 2015 3:24 PM > > > > > > To: lin...@li... > > > > > > Subject: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > > > > > > > > > Hi Richard et al, > > > > > > > > > > > > on Ubuntu 14.04 with all updates and latest Intel i210 igb > > > > > > driver > I > > > > > > regularly get tx_timestamp_timeout error messages with the > > > > > > default > > > > > > timeout > > > > > > of 1ms. I then changed to 5ms and since then I don't see > > > > > > any more > > > > errors. > > > > > > > > > > > > Does anybody see similar problems? Might this be a problem > > > > > > of the > > PC > > > > > > (some > > > > > > years old HP xw workstation) or might this be a i210 > > > > > > problem? > > > > > > > > > > > > Any hint appreciated. > > > > > > > > > > > > Regards > > > > > > Axel > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > ------- > > > > -- > > > > > > Don't Limit Your Business. Reach for the Cloud. > > > > > > GigeNET's Cloud Solutions provide you with the tools and > > > > > > support > > that > > > > > > you need to offload your IT needs and focus on growing your > > business. > > > > > > Configured For All Businesses. Start Your Cloud Today. > > > > > > https://www.gigenetcloud.com/ > > > > > > _______________________________________________ > > > > > > Linuxptp-users mailing list > > > > > > Lin...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/linuxptp-users > > > > > > > > > > > > > > > --------------------------------------------------------------------- > ------- > > -- > > > > Don't Limit Your Business. Reach for the Cloud. > > > > GigeNET's Cloud Solutions provide you with the tools and > > > > support that > > > > you need to offload your IT needs and focus on growing your > > > > business. > > > > Configured For All Businesses. Start Your Cloud Today. > > > > https://www.gigenetcloud.com/ > > > > _______________________________________________ > > > > Linuxptp-users mailing list > > > > Lin...@li... > > > > https://lists.sourceforge.net/lists/listinfo/linuxptp-users > > > > > > > --------------------------------------------------------------------- > ------- > -- > > Don't Limit Your Business. Reach for the Cloud. > > GigeNET's Cloud Solutions provide you with the tools and support > > that > > you need to offload your IT needs and focus on growing your > > business. > > Configured For All Businesses. Start Your Cloud Today. > > https://www.gigenetcloud.com/ > > _______________________________________________ > > Linuxptp-users mailing list > > Lin...@li... > > https://lists.sourceforge.net/lists/listinfo/linuxptp-users > > > --------------------------------------------------------------------- > --------- > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > _______________________________________________ > Linuxptp-users mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxptp-users |
From: Axel H. <aho...@gm...> - 2015-07-03 13:44:13
|
Hi Jake et al, unfortunately the error message "timed out while polling for tx timestamp" still occurs, even with EEE disabled (checked with "ethtool --show-eee eth0". Regards Axel > -----Original Message----- > From: Axel Holzinger [mailto:aho...@gm...] > Sent: Tuesday, June 30, 2015 1:57 AM > To: lin...@li... > Subject: Re: [Linuxptp-users] tx_timestamp_timeout and i210 > > Got it. Thank you. > > I modified /etc/network/interfaces and added the last line > ethtool --set-eee eth0 eee off > > Now even after a reboot EEE is switched off on eth0. > > Cheers > Axel > > > -----Original Message----- > > From: Keller, Jacob E [mailto:jac...@in...] > > Sent: Tuesday, June 30, 2015 1:34 AM > > To: Axel Holzinger; lin...@li... > > Subject: RE: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > Use ethtool. > > > > $ethtool --set-eee <device> off > > > > Don't bother with module parameters. On modern kernels all the module > > parameters have other ways of configuring the same behavior. > > > > Regards, > > Jake > > > > > -----Original Message----- > > > From: Axel Holzinger [mailto:aho...@gm...] > > > Sent: Monday, June 29, 2015 4:10 PM > > > To: lin...@li... > > > Subject: Re: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > > > Hi Jake, > > > > > > thanks for this rast reply. > > > > > > I searched the web and finally did this: > > > > > > sudo modprobe igb EEE=0 > > > > > > Does this suffice or how can I read the igb parameters? > > > > > > Thanks a lot > > > Axel > > > > > > > -----Original Message----- > > > > From: Keller, Jacob E [mailto:jac...@in...] > > > > Sent: Tuesday, June 30, 2015 12:34 AM > > > > To: Axel Holzinger; lin...@li... > > > > Subject: RE: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > > > > > Hi, > > > > > > > > Make sure you have disabled EEE support. If EEE is on, then the i210 > > > device > > > > can take a very long time to return timestamps if the only traffic > running > > > is > > > > ptp. (since the link will go to sleep inbetween the frames). > > > > > > > > That should be the issue here. If you still see the issue please let > me > > > know. > > > > > > > > Regards, > > > > Jake > > > > > > > > > -----Original Message----- > > > > > From: Axel Holzinger [mailto:aho...@gm...] > > > > > Sent: Monday, June 29, 2015 3:24 PM > > > > > To: lin...@li... > > > > > Subject: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > > > > > > > Hi Richard et al, > > > > > > > > > > on Ubuntu 14.04 with all updates and latest Intel i210 igb driver I > > > > > regularly get tx_timestamp_timeout error messages with the default > > > > > timeout > > > > > of 1ms. I then changed to 5ms and since then I don't see any more > > > errors. > > > > > > > > > > Does anybody see similar problems? Might this be a problem of the > PC > > > > > (some > > > > > years old HP xw workstation) or might this be a i210 problem? > > > > > > > > > > Any hint appreciated. > > > > > > > > > > Regards > > > > > Axel > > > > > > > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------------------- > > > -- > > > > > Don't Limit Your Business. Reach for the Cloud. > > > > > GigeNET's Cloud Solutions provide you with the tools and support > that > > > > > you need to offload your IT needs and focus on growing your > business. > > > > > Configured For All Businesses. Start Your Cloud Today. > > > > > https://www.gigenetcloud.com/ > > > > > _______________________________________________ > > > > > Linuxptp-users mailing list > > > > > Lin...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/linuxptp-users > > > > > > > > > > ---------------------------------------------------------------------------- > -- > > > Don't Limit Your Business. Reach for the Cloud. > > > GigeNET's Cloud Solutions provide you with the tools and support that > > > you need to offload your IT needs and focus on growing your business. > > > Configured For All Businesses. Start Your Cloud Today. > > > https://www.gigenetcloud.com/ > > > _______________________________________________ > > > Linuxptp-users mailing list > > > Lin...@li... > > > https://lists.sourceforge.net/lists/listinfo/linuxptp-users > > > ---------------------------------------------------------------------------- -- > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > _______________________________________________ > Linuxptp-users mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxptp-users |
From: Axel H. <aho...@gm...> - 2015-06-29 23:56:48
|
Got it. Thank you. I modified /etc/network/interfaces and added the last line ethtool --set-eee eth0 eee off Now even after a reboot EEE is switched off on eth0. Cheers Axel > -----Original Message----- > From: Keller, Jacob E [mailto:jac...@in...] > Sent: Tuesday, June 30, 2015 1:34 AM > To: Axel Holzinger; lin...@li... > Subject: RE: [Linuxptp-users] tx_timestamp_timeout and i210 > > Use ethtool. > > $ethtool --set-eee <device> off > > Don't bother with module parameters. On modern kernels all the module > parameters have other ways of configuring the same behavior. > > Regards, > Jake > > > -----Original Message----- > > From: Axel Holzinger [mailto:aho...@gm...] > > Sent: Monday, June 29, 2015 4:10 PM > > To: lin...@li... > > Subject: Re: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > Hi Jake, > > > > thanks for this rast reply. > > > > I searched the web and finally did this: > > > > sudo modprobe igb EEE=0 > > > > Does this suffice or how can I read the igb parameters? > > > > Thanks a lot > > Axel > > > > > -----Original Message----- > > > From: Keller, Jacob E [mailto:jac...@in...] > > > Sent: Tuesday, June 30, 2015 12:34 AM > > > To: Axel Holzinger; lin...@li... > > > Subject: RE: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > > > Hi, > > > > > > Make sure you have disabled EEE support. If EEE is on, then the i210 > > device > > > can take a very long time to return timestamps if the only traffic running > > is > > > ptp. (since the link will go to sleep inbetween the frames). > > > > > > That should be the issue here. If you still see the issue please let me > > know. > > > > > > Regards, > > > Jake > > > > > > > -----Original Message----- > > > > From: Axel Holzinger [mailto:aho...@gm...] > > > > Sent: Monday, June 29, 2015 3:24 PM > > > > To: lin...@li... > > > > Subject: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > > > > > Hi Richard et al, > > > > > > > > on Ubuntu 14.04 with all updates and latest Intel i210 igb driver I > > > > regularly get tx_timestamp_timeout error messages with the default > > > > timeout > > > > of 1ms. I then changed to 5ms and since then I don't see any more > > errors. > > > > > > > > Does anybody see similar problems? Might this be a problem of the PC > > > > (some > > > > years old HP xw workstation) or might this be a i210 problem? > > > > > > > > Any hint appreciated. > > > > > > > > Regards > > > > Axel > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------------------- > > -- > > > > Don't Limit Your Business. Reach for the Cloud. > > > > GigeNET's Cloud Solutions provide you with the tools and support that > > > > you need to offload your IT needs and focus on growing your business. > > > > Configured For All Businesses. Start Your Cloud Today. > > > > https://www.gigenetcloud.com/ > > > > _______________________________________________ > > > > Linuxptp-users mailing list > > > > Lin...@li... > > > > https://lists.sourceforge.net/lists/listinfo/linuxptp-users > > > > > > ---------------------------------------------------------------------------- -- > > Don't Limit Your Business. Reach for the Cloud. > > GigeNET's Cloud Solutions provide you with the tools and support that > > you need to offload your IT needs and focus on growing your business. > > Configured For All Businesses. Start Your Cloud Today. > > https://www.gigenetcloud.com/ > > _______________________________________________ > > Linuxptp-users mailing list > > Lin...@li... > > https://lists.sourceforge.net/lists/listinfo/linuxptp-users |
From: Keller, J. E <jac...@in...> - 2015-06-29 23:34:05
|
Use ethtool. $ethtool --set-eee <device> off Don't bother with module parameters. On modern kernels all the module parameters have other ways of configuring the same behavior. Regards, Jake > -----Original Message----- > From: Axel Holzinger [mailto:aho...@gm...] > Sent: Monday, June 29, 2015 4:10 PM > To: lin...@li... > Subject: Re: [Linuxptp-users] tx_timestamp_timeout and i210 > > Hi Jake, > > thanks for this rast reply. > > I searched the web and finally did this: > > sudo modprobe igb EEE=0 > > Does this suffice or how can I read the igb parameters? > > Thanks a lot > Axel > > > -----Original Message----- > > From: Keller, Jacob E [mailto:jac...@in...] > > Sent: Tuesday, June 30, 2015 12:34 AM > > To: Axel Holzinger; lin...@li... > > Subject: RE: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > Hi, > > > > Make sure you have disabled EEE support. If EEE is on, then the i210 > device > > can take a very long time to return timestamps if the only traffic running > is > > ptp. (since the link will go to sleep inbetween the frames). > > > > That should be the issue here. If you still see the issue please let me > know. > > > > Regards, > > Jake > > > > > -----Original Message----- > > > From: Axel Holzinger [mailto:aho...@gm...] > > > Sent: Monday, June 29, 2015 3:24 PM > > > To: lin...@li... > > > Subject: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > > > Hi Richard et al, > > > > > > on Ubuntu 14.04 with all updates and latest Intel i210 igb driver I > > > regularly get tx_timestamp_timeout error messages with the default > > > timeout > > > of 1ms. I then changed to 5ms and since then I don't see any more > errors. > > > > > > Does anybody see similar problems? Might this be a problem of the PC > > > (some > > > years old HP xw workstation) or might this be a i210 problem? > > > > > > Any hint appreciated. > > > > > > Regards > > > Axel > > > > > > > > > > > > > ---------------------------------------------------------------------------- > -- > > > Don't Limit Your Business. Reach for the Cloud. > > > GigeNET's Cloud Solutions provide you with the tools and support that > > > you need to offload your IT needs and focus on growing your business. > > > Configured For All Businesses. Start Your Cloud Today. > > > https://www.gigenetcloud.com/ > > > _______________________________________________ > > > Linuxptp-users mailing list > > > Lin...@li... > > > https://lists.sourceforge.net/lists/listinfo/linuxptp-users > > > ------------------------------------------------------------------------------ > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > _______________________________________________ > Linuxptp-users mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxptp-users |
From: Axel H. <aho...@gm...> - 2015-06-29 23:10:22
|
Hi Jake, thanks for this rast reply. I searched the web and finally did this: sudo modprobe igb EEE=0 Does this suffice or how can I read the igb parameters? Thanks a lot Axel > -----Original Message----- > From: Keller, Jacob E [mailto:jac...@in...] > Sent: Tuesday, June 30, 2015 12:34 AM > To: Axel Holzinger; lin...@li... > Subject: RE: [Linuxptp-users] tx_timestamp_timeout and i210 > > Hi, > > Make sure you have disabled EEE support. If EEE is on, then the i210 device > can take a very long time to return timestamps if the only traffic running is > ptp. (since the link will go to sleep inbetween the frames). > > That should be the issue here. If you still see the issue please let me know. > > Regards, > Jake > > > -----Original Message----- > > From: Axel Holzinger [mailto:aho...@gm...] > > Sent: Monday, June 29, 2015 3:24 PM > > To: lin...@li... > > Subject: [Linuxptp-users] tx_timestamp_timeout and i210 > > > > Hi Richard et al, > > > > on Ubuntu 14.04 with all updates and latest Intel i210 igb driver I > > regularly get tx_timestamp_timeout error messages with the default > > timeout > > of 1ms. I then changed to 5ms and since then I don't see any more errors. > > > > Does anybody see similar problems? Might this be a problem of the PC > > (some > > years old HP xw workstation) or might this be a i210 problem? > > > > Any hint appreciated. > > > > Regards > > Axel > > > > > > > > ---------------------------------------------------------------------------- -- > > Don't Limit Your Business. Reach for the Cloud. > > GigeNET's Cloud Solutions provide you with the tools and support that > > you need to offload your IT needs and focus on growing your business. > > Configured For All Businesses. Start Your Cloud Today. > > https://www.gigenetcloud.com/ > > _______________________________________________ > > Linuxptp-users mailing list > > Lin...@li... > > https://lists.sourceforge.net/lists/listinfo/linuxptp-users |