Activity for Precision Time Protocol daemon

  • Tim Nguyen Tim Nguyen posted a comment on discussion Open Discussion

    hi, Can we create multiple PTP masters on 1 physical Ethernet port using virtual IP addresses? if it is a yes, how many IP addresses ptp4l can support on that port? thanks, Tim N.

  • Tim Nguyen Tim Nguyen posted a comment on discussion Help

    I'd like to know the road map for option features of IEEE1588-2019 implementation in linuxptp project (ptp4l)? especially unicast and multicast mixed mode and authentication TLV. thanks, Tim Nguyen

  • Ahmad Shnewer Ahmad Shnewer posted a comment on discussion Help

    I am trying to run ptpd on ESXi Hypervisor and I cant get it to work properly, When I run the ptp service it keeps resetting: tail -f /var/run/log/ptpd.stats # Timestamp, State, Clock ID, One Way Delay, Offset From Master, Slave to Master, Master to Slave, Observed Drift, Last packet Received, Sequence ID, One Way Delay Mean, One Way Delay Std Dev, Offset From Master Mean, Offset From Master Std Dev, Observed Drift Mean, Observed Drift Std Dev, raw delayMS, raw delaySM 2021-01-19 08:15:09.948735,...

  • Andrea Migliaccio Andrea Migliaccio posted a comment on discussion Help

    Is it possibile to configure PTPd for Power Profile?

  • Alex Alex posted a comment on discussion Help

    I am trying to run ptpd with multiple slaves, but I cannot figure out how to achieve it. in my /etc/default/ptpd file I currently have "PTPD_OPTS="-M -i ens10f0" If I try to add one more interface here "PTPD_OPTS="-M -i ens10f0 ens10f1" it does not work. I tried launching ptpd twice with single interface, but does not work. I am using ubuntu 18.04.

  • Eddie Tseng Eddie Tseng posted a comment on discussion Help

    Hi, I'm using Ubuntu 18.04. I git cloned the latest ptpd (2.3.1) and tried to install the package, when I ran "make install", errors occurred. It looks like I got permission denied. tseng@machine-pc:~/ptpd$ make install make install-recursive make[1]: Entering directory '/home/tseng/ptpd' Making install in src make[2]: Entering directory '/home/tseng/ptpd/src' make[3]: Entering directory '/home/tseng/ptpd/src' /bin/mkdir -p '/usr/local/sbin' /bin/bash ../libtool --mode=install /usr/bin/install -c...

  • Robert McMahon Robert McMahon posted a comment on discussion Help

    I installed another GPS OCXO then used iperf multicast to measure one-way delay. It seems good suggesting this isn't a network issue. These are fedora 30 machines. uname -r gives 5.3.16-200.fc30.x86_64 [rjmcmahon@localhost iperf2-code]$ src/iperf -s -u -B 224.0.1.129 -e -i 10 ------------------------------------------------------------ Server listening on UDP port 5001 with pid 16757 Joining multicast group 224.0.1.129 Receiving 1470 byte datagrams UDP buffer size: 208 KByte (default) ------------------------------------------------------------...

  • Robert McMahon Robert McMahon modified a comment on discussion Help

    I'm running PTP master with a GPS disciplined OCXO. The PTP slave isn't converging as expected. They are directly connected over a 10G link. Snippit from ptpd stats where time 2020-01-07 01:13:30.760854 is suspicous The IBM article here that describes the fields suggests a huge increase in one-way delay. Not sure why this would occur. Is there a realtime sheduler mode or other suggested techniques for PTP to optimize this? I did configure CPU affinity. Maybe I should remove it. 2020-01-07 01:13:19.476933,...

  • Robert McMahon Robert McMahon modified a comment on discussion Help

    I'm running PTP master with a GPS disciplined OCXO. The PTP slave isn't converging as expected. They are directly connected over a 10G link. Snippit from ptpd stats where time 2020-01-07 01:13:30.760854 is suspicous The IBM article here that describes the fields suggests a huge increase in one-way delay. Not sure why this would occur. Is there a realtime sheduler mode for PTP? 2020-01-07 01:13:19.476933, slv, 001132fffebeba60(unknown)/1, 0.000150639, 0.001595407, -0.001539000, 0.001714000, -136419.636000000,...

  • Robert McMahon Robert McMahon posted a comment on discussion Help

    I'm running PTP master with a GPS disciplined OCXO. The PTP slave isn't converging as expected. They are directly connected over a 10G link. Snippit from ptpd stats where time 2020-01-07 01:13:30.760854 is suspicous 2020-01-07 01:13:19.476933, slv, 001132fffebeba60(unknown)/1, 0.000150639, 0.001595407, -0.001539000, 0.001714000, -136419.636000000, D, 00446, 0.000153913, 1222, 0.001781808, 100341, -145760, 5341, 0.001714000, -0.001539000 2020-01-07 01:13:19.680866, slv, 001132fffebeba60(unknown)/1,...

  • Guilherme Costa G Fernandes Guilherme Costa G Fernandes posted a comment on discussion Help

    Hi all, I'm having this same issue: the clocks take a long time (in the order of ten minutes) to synchronize when starting with an offset in the order of 100 ms. I'm running a system that cannot be kept powered up between uses. I see that some features @wowczarek mentioned, such as preserving the kernel frequency, have been implement in the newest version. However, I'm interested in what @Jan Breuer mentioned: how to lower the threshold for stepping the clock from 1 second to 10 ms, for example?...

  • Thomas F. Thomas F. posted a comment on discussion Help

    It seems to be a problem with a wrong interrupt vector number in the function getTime(). Does someone know, why the getTime() function is based on an interrupt for QNX Neutrino systems and interrupt-les for all other systems?

  • Thomas F. Thomas F. posted a comment on discussion Help

    The same behavior occurs also when only using ptpd (as master and slave). MASTER: #~/00_TEMP/ptpd$ sudo src/ptpd2 -i vlan1234 -d 0 -M -E -C --ptpengine:transport=ethernet --ptpengine:dot1as=1 --ptpengine:disable_bmca=1 2019-09-18 15:04:51.369795 ptpd2[9318].startup (notice) (___) PTPd version 2.3.2 starting 2019-09-18 15:04:51.369829 ptpd2[9318].startup (info) (___) Starting ptpd2 daemon with parameters: src/ptpd2 -i vlan1234 -d 0 -M -E -C 2019-09-18 15:04:51.369843 ptpd2[9318].startup (info) (___)...

  • Thomas F. Thomas F. modified a comment on discussion Help

    Hello, The time master was a Linux system with PTP4L started as: ptp4l -i eth0.1234 -S -E -2 -m -q The ptpd client was started as: ptpd2 -i vlan1234 -s -E -C -L --ptpengine:transport="ethernet" --ptpengine:use_libpcap="Y" The output I get from ptpd client is the following: 2020-01-01 00:04:24.297000 ptpd2[852006].vlan1234 (notice) (lstn_init) Now in state: PTP_LISTENING 2020-01-01 00:04:26.266000 ptpd2[852006].vlan1234 (info) (lstn_init) New best master selected: b827ebfffe009301(unknown)/1 2020-01-01...

  • Thomas F. Thomas F. posted a comment on discussion Help

    Hello, The time master was a Linux system with PTP4L started as: ptp4l -i eth0.1234 -S -E -2 -m -q The ptpd client was started as: ptpd2 -i vlan1234 -s -E -C -L --ptpengine:transport="ethernet" --ptpengine:use_libpcap="Y" The output I get from ptpd client is the following: 2020-01-01 00:04:24.297000 ptpd2[852006].vlan1234 (notice) (lstn_init) Now in state: PTP_LISTENING 2020-01-01 00:04:26.266000 ptpd2[852006].vlan1234 (info) (lstn_init) New best master selected: b827ebfffe009301(unknown)/1 2020-01-01...

  • saspace saspace posted a comment on discussion Open Discussion

    Hello, Does anyone has idea on how to test this in a linux server configured as a PTP master to send Leap second to test how the PTP slaves handle the leap second ? Thanks

  • saspace saspace posted a comment on discussion Open Discussion

    Hello, I have a PTP master (not a real Grand Master, rather ptp daemon in a linux server is configured as free running PTP master) which is sending time downstream to several PTP slaves. I would like to do a leap second testing by sending fake leap second announce message and insertion from the PTP master. This is to test if the clients handled leap second correctly or not. I see there is a method for NTP (although I have not tested that) and the method is ... wget ftp://nist...../leap-seconds.list...

  • saspace saspace posted a comment on discussion Help

    Hello, Does anyone has idea on how to test this in a linux server configured as a PTP master to send Leap second to test how the PTP slaves handle the leap second ? Thanks

  • saspace saspace posted a comment on discussion Help

    Hello, I have a PTP master (not a real Grand Master, rather ptp daemon in a linux server is configured as free running PTP master) which is sending time downstream to several PTP slaves. I would like to do a leap second testing by sending fake leap second announce message and insertion from the PTP master. This is to test if the clients handled leap second correctly or not. I see there is a method for NTP (although I have not tested that) and the method is ... wget ftp://nist...../leap-seconds.list...

  • Andrew Thomson Andrew Thomson posted a comment on discussion Help

    Hi, I'm noticing this happens on a number of hosts, seemingly randomly, all Ubuntu 18.04. Running this package: ptpd 2.3.1-debian1-3 amd64 Ptpd stops updating it's status file: pub03:~# ls -l /var/run/ptpd.status -rw-r--r-- 1 root root 1362 Jul 3 17:45 /var/run/ptpd.status pub03:~# date Wed Jul 3 20:35:01 CDT 2019 I also observe higher CPU usage, and an strace seems to indicate some kind of continuous loop?? --- SIGALRM {si_signo=SIGALRM, si_code=SI_TIMER, si_timerid=0x1, si_overrun=47, si_value={int=-1710448416,...

  • Eric Bonjour Eric Bonjour posted a comment on discussion Help

    Shortly after my last post I found: ; Timestamp format used when logging timing statistics ; (when global:log_statistics is enabled): ; datetime - formatttted date and time: YYYY-MM-DD hh:mm:ss.uuuuuu ; unix - Unix timestamp with nanoseconds: s.ns ; both - Formatted date and time, followed by unix timestamp ; (adds one extra field to the log) ; ; Options: datetime unix both Changing to global:statistics_timestamp_format = unix results in no CRLF issues, try it on your side. Changing to global:statistics_timestamp_format...

  • Eric Bonjour Eric Bonjour posted a comment on discussion Help

    Have the same issues with CRLF. Running on CentOS 7.3. Were you able to find any configuration values that help mitigate the bug Jack?

  • Redd Redd posted a comment on discussion Open Discussion

    What is the ideal time difference between slave servers using PTP?

  • Jack Winch (RR) Jack Winch (RR) posted a comment on discussion Help

    Hi folks, I'm currently running ptpd2 version 2.3.1 on Raspbian GNU/Linux 9 (stretch) and have only made the following changes to the standard ptd2.conf file (the rest of the config remains un-changed and in its default state post-install) in order to enable the logging of stats. global:statistics_file = /var/log/ptpd2-stats.log global:statistics_log_interval = 1 global:statistics_file_max_size = 100 I can produce more of the config. file (and any other details) upon request. The statistics file...

  • Andreas Andreas posted a comment on discussion Help

    I am running two unicast slaves with signaling. I am not able to stop slaves from communicating with master. Can someone help me?. What is command, or procedure, to stop slaves?. Many thanks in advance.

  • Phillip Marks Phillip Marks posted a comment on discussion Help

    I'd like to compile ptpd for QNX 6.4.1. Is such an old version still supported? We'd like to achieve 500us accuracy.

  • Waleed Waleed posted a comment on discussion Help

    Hi everyone, I am wondering if there is way to reduce offset calclation to be one offset value per second. I excuted the following command : sudo ptpd -i eth0 -P -C -V -s and I usualy get these results: 2018-07-27 17:42:44.151679, slv, 20b7c0fffe0069fe(unknown)/01, 0.000000000, 0.000000000, 0.000000000, 0.000000000, 500000.000000000, I 1532711360.662651146 2018-07-27 17:42:45.145442, slv, 20b7c0fffe0069fe(unknown)/01, 0.000000000, 0.267342695, 0.000000000, 0.534685390, 500000.000000000, S 1532711360.665130409...

  • Chander Panwar Chander Panwar posted a comment on discussion Help

    Hi All I have a query related to PTP setup. We have PTP running to sync time in multiple servers and designed topology is like the PTP master clock (It sync with GM on same location) runs on one location (Say A location) and the slaves clock is in other location (Say B location) and both the locations are connected in the network. We use ptpd utility in ubuntu OS server boxes and PTPD version 2.2 for server and PTPD version 2.3.1 for client. Now the plan is to introduce another PTP master for time...

  • akash osekar akash osekar posted a comment on discussion Open Discussion

    Hi, I am testing PTPdaemon code with version 2.3.2 on a customized embedded hardware. I'm testing multicast receive here. Please correct me if I'm wrong in understanding, as per my current observation netSelect is a function which polls for packet receive and returns positive number if packets are received. here the timeout parameter is sent as 0. Here if I test unicast receive then it is working fine, but multicast packets are not being received. Can anybody help me to understand this behavior?...

  • Jeremy Friesner Jeremy Friesner posted a comment on discussion Help

    Hi all, I was able to build ptpd from the wowczarek-2.3.2-libcck fork/branch and get it to synchronize clocks while in IPv6/masterslave mode on a couple of Debian machines. It seems to work well. My question involves failover -- these machines each have two independent Ethernet ports, and sometimes they are configured with network redundancy, such that each Ethernet port is connected to a different Ethernet switch. The goal is that if one of the two Ethernet switches dies, the system can continue...

  • Andy W. Clements Andy W. Clements posted a comment on discussion Help

    Thanks Wojciech. I will give this a shot. You folks do good work. Thanks for all your efforts!

  • Wojciech Owczarek Wojciech Owczarek posted a comment on discussion Help

    Hi - this was identified some time ago. PTPd is not maintained on SF anymore, pull the latest github source from https://github.com/ptpd/ptpd and you should not have this issue anymore. Thanks, Wojciech

  • Andy W. Clements Andy W. Clements posted a comment on discussion Help

    I have a couple of x86_64 machines running CentOS 7 and ptpd2: > uname -a Linux <machinename> 3.10.0-693.11.6.el7.x86_64 #1 SMP Thu Jan 4 01:06:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux >ptpd2 -v ptpd2 version 2.3.1-rc3 After running for a day or two, the ptpd2 instance start pegging the CPU at about 100%. Via top: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1580 root 20 0 14016 1052 820 R 100.0 0.0 60:02.27 ptpd2 Restarting them will have them go back to normal( < 1% CPU usage). Not sure...

  • Evan Daykin Evan Daykin posted a comment on discussion Help

    Hello all, I have two VLANs I would like to limit traffic between. VLAN A has a high-precision grandmaster clock, and I would like to open a Unicast channel to transmit synchronization information to a second clock on VLAN B. these masters would also multicast to slaves in their respective networks. Does anyone know if or how this is possible?

  • Andrew Wilson Andrew Wilson posted a comment on discussion Help

    GOt this resolved,

  • Andrew Wilson Andrew Wilson posted a comment on discussion Help

    Hi Gents, I have recently acquired a Microsemi IGM-1100i Grandmaster. Unlike my old grandmaster, a TM2000A, this one isn't plug and play and being new to PTP I'm kinda lost. Per the user manual from the manufacturer my config is as follows: PTP MASTER CONFIGURATION WITH PROFILE Default: PTP State : enable PTP Max Number Clients : 4 PTP TTL : 20 PTP DSCP : 25 PTP Dither : enable PTP Two Steps : enable PTP Announce Limit : 2 PTP Sync Limit : -6 PTP Delay Limit : -2 PTP Priority 1 : 200 PTP Priority...

  • shandiv shandiv posted a comment on discussion Help

    We installed ptpd-2.3.1-1.el6.x86_64 in our environment and we are noticing 99-100% CPU utilization(in one core (logical core3/4/5) on few hosts, though below config is set. global:cpuaffinity_cpucore=0 i have below questions: why does ptpd takes 100% cpu in some hosts why does ptp is utilizing other core though config is set to use core0

  • Shreyas A Shreyas A modified a comment on discussion Open Discussion

    Hi All, I am trying to configure the PTPd on QNX 7.0 (command line interface). I have used the ptpd open source source code and was able to modify configuration file there, but in QNX I am not sure where this file is located or how to modify it. I am a beginner and any help is appreciated. Thanks, Shreyas

  • Shreyas A Shreyas A posted a comment on discussion Open Discussion

    Hi All, I am trying to configure the PTPd on QNX 7.0. I have used the ptpd open source source code and was able to modify configuration file there, but in QNX I am not sure where this file is located or how to modify it. I am a beginner and any help is appreciated. Thanks, Shreyas

  • GreyGnome GreyGnome posted a comment on discussion Help

    Hello, I am wondering how I can tell if my PTP infrastructure is healthy or not. From time to time, our /var/run/ptpd2.status file will show "not calibrated, in control" for the "Clock status" entry. I assume that's not good, and "calibrated, in control" is what we want. The /var/log/ptpd2.stats file shows that Sync messages are coming in regularly at 1.1-1.6 second intervals. The Delay Response messages are more irregular, sometimes coming in bunches, and anywhere from 0.006 to 1.9 seconds apart....

  • Manu Thakur Manu Thakur modified a comment on discussion Open Discussion

  • Manu Thakur Manu Thakur modified a comment on discussion Help

  • Manu Thakur Manu Thakur posted a comment on discussion Help

    Hi Doug, what command for 8265.1 master you used. I am also trying to enable masteronly mode but failed. i am runing on 2.3.1.

  • Manu Thakur Manu Thakur posted a comment on discussion Open Discussion

    I am trying to enable masteronly using below config but failed. vi test/client.conf ptpengine:preset=masteronly ptpengine:interface=enp0s3 ptpengine:domain=4 ptpengine:ip_mode=unicast ptpengine:unicast_negotiation=Y ptpengine:unicast_destinations=10.60.129.107 ptpengine:disable_bmca=y ptpengine:log_delayreq_interval = 0 ptpengine:clock_class = 13 ptpengine:ptp_clock_accuracy = ACC_100NS ptpengine:utc_offset_valid = N ptpengine:time_traceable = Y ptpengine:frequency_traceable = Y global:periodic_updates=y...

  • Anup Gangwar Anup Gangwar posted a comment on discussion Open Discussion

    Hi Lin, I see a GitHub project for PTPD: https://github.com/ptpd/ptpd. Not sure if this is the one most commonly used in distributions. Thanks, Anup On Wed, Dec 20, 2017 at 2:27 PM, linchen linchen1981@users.sf.net wrote: Hi Anu, could you please point the github project? do you mean "git clone git:// git.code.sf.net/p/linuxptp/code linuxptp" ? this is totally different with ptpd. thanks, Lin How to get support in PTPD for specific vendor's chip https://sourceforge.net/p/ptpd/discussion/469207/thread/001df566/?limit=25#47f9/a5a9/5fba/9296/2411...

  • linchen linchen posted a comment on discussion Open Discussion

    Hi Anu, could you please point the github project? do you mean "git clone git://git.code.sf.net/p/linuxptp/code linuxptp" ? this is totally different with ptpd. thanks, Lin

  • Anup Gangwar Anup Gangwar posted a comment on discussion Open Discussion

    Hi Lin, There is a github project for it (which perhaps you are already aware of), you could directly commit your code there/submit patches. However, for my work done long back, the chip-support for limited to Linux. Thanks, Anup On Wed, Dec 20, 2017 at 1:35 PM, linchen linchen1981@users.sf.net wrote: Hi Anup, thanks for your reply. yes, we have a plan to submit the patch to kernel. and also we want to do some changes for PTPD, how could we submit the patch for PTPD for the new chip support? I am...

  • linchen linchen posted a comment on discussion Open Discussion

    Hi Anup, thanks for your reply. yes, we have a plan to submit the patch to kernel. and also we want to do some changes for PTPD, how could we submit the patch for PTPD for the new chip support? I am in Qualcomm, do you know anyone in qualcomm is also the PTP mail list? In this case I can communicate with him directly. thanks, Lin

  • Anup Gangwar Anup Gangwar posted a comment on discussion Open Discussion

    Hi Lin, Please see the changes for Freescale 8315 (if I am not wrong) chip and you can make similar changes for the other chip. You will need to submit patches directly to the Kernel mailing list. Thanks, Anup On Mon, Dec 18, 2017 at 3:34 PM, linchen linchen1981@users.sf.net wrote: Hi All, This is Lin, there is a chip supporting ptp feature in my company, and i am working on the ptp drivers for it. do you have any guide about how to support the chip by PTPD and how to upstream the codes? thanks,...

  • linchen linchen posted a comment on discussion Open Discussion

    Hi All, This is Lin, there is a chip supporting ptp feature in my company, and i am working on the ptp drivers for it. do you have any guide about how to support the chip by PTPD and how to upstream the codes? thanks, Lin

  • Robert McMahon Robert McMahon posted a comment on discussion Help

    Hi, I'm seeing "No active masters present, Ressting port" on all my slaves which is causing a hiccup in the clocks. This is version 3.2.1 running on Fedora 23 (master) and Fedora 25 (slaves.) It's configured to use ip multicast. The periodic timing of this exactly correlates with the connecting ethernet switch's IGMP snooping timer. Any ideas? 2017-11-16 07:16:32.479024 ptpd2[1396].enp3s0 (notice) (lstn_reset) Now in state: PTP_LISTENING 2017-11-16 07:16:34.378853 ptpd2[1396].enp3s0 (notice) (slv)...

  • Fiti Fiti modified a comment on discussion Help

  • Ivan Johansen Ivan Johansen posted a comment on discussion Help

    I don't want ptpd to set the system clock, so I am running ptpd with -n. Instead I want to retrieve the PTP clock from an application. Any suggestion how I do that? Is there an API I can call from my application?

  • Sam Chang Sam Chang posted a comment on discussion Help

    Doug Braden, I use unicast mode in my slave and add unicast_addres=master address in conf. it work for me.

  • Ron Ziv Ron Ziv posted a comment on discussion Help

    Hi, I wish to use ptpd via vlan, from my understanding it should work "out of the box", I am running it on ubuntu server 16.04 and configured vlan via "vconfig". When I try to communicate the vlan from 2 instances of the ptpd (on different guests of same host machine and of course different networks cards) it seems to works fine. Yet, I have an embedded dedicated ptp machine that implements the protocol and when I try to communicate with it with vlan something odd happens, the first message that...

  • Sam Chang Sam Chang posted a comment on discussion Help

    I have the same problem, I used wireshark to capture packet, but I didn't capture any request from slave.

  • Doug Braden Doug Braden posted a comment on discussion Help

    I'm new to ptpd, but believe I have it configured correctly to act as a slave to a separate hardware master on my network. The master is configured to use 8265.1 and sees a slave connect when I start ptpd with the following options: ptpd2 -C -s -i enp3s0 -U -u xxx.xxx.xxx.91 -g -d 4 -r -4 where .91 is the master clocks IP address. The ptpd status file shows: 2017-09-12 08:48:46.054360, lstn_reset, 194 2017-09-12 08:48:47.058189, slv, 0020d2fffecd0642(unknown)/2, 0.000000000, 0.000000000, 0.000000000,...

  • Simon Barrett Simon Barrett posted a comment on discussion Help

    Was there a fix for this? I'm seeing the same issue on CentOS 6.8 with ptpd2 version 2.3.1 Sep 7 09:51:52 server kernel: ptpd2[171046]: segfault at 7f1cfd2c3000 ip 00000039f1489af7 sp 00007fff1e7f9148 error 4 in libc-2.12.so[39f1400000+18a000] Thanks

  • Waleed Waleed posted a comment on discussion Help

    Hello, I am beginner in ptpd and raspberry pi and I installed ptpd by using the following commands: sudo apt-get update sudo apt-get install ptpd but when I checked the version I found it 2.3.0. How can I upgrade it to 2.3.1 I need that version because I have the same version on Fedora and I want to make comparsion between the output using the same version of ptpd Does anybody know how can I make it?

  • A Jones A Jones posted a comment on discussion Help

    Hi Wojciech, Quick update. I have your branch of PTPd working on the Altera Cyclone V SoC. This infers (implies?) that PTPd should work on the Altera Arria V SoC, too, as both of these products use the eMAC licensed from ST Microelectronics. Thanks again for all your help! -Allan

  • Abir Ouni Abir Ouni posted a comment on discussion Help

    Hi ! i want to implement the necessary timer component depending on FreeRTOS. My question is whether i should implement new timer_interface.c instead of ( eventtimer_posix.c, eventtimer_itimer.c ) and keep the (ptp_timers, eventtimer.c) unmodified or modify the ptp_timers.c depending on FreeRTOS. your help would be greatly appreciated. Thanx abir

  • Wojciech Owczarek Wojciech Owczarek posted a comment on discussion Help

    Allan, OK - that would explain the reported empty messages received - as per the comment in the sources "mesage without a timestamp considered harmful". This is likely a driver issue. While for TX timestamps, PTPd has its own way of dealing with waiting for them - for RX timestamps it follows the API and does nothing special. Thanks, Wojciech

  • A Jones A Jones posted a comment on discussion Help

    Hi Wojciech, I really appreciate the work you've done on implementing H/W timestamping -- Very nice! A little more about this environment: The Cyclone V SoC uses the ST Microelectronics EMAC, and the O/S I'm using is a Linux 4.10 kernel -- I'm not seeing txTimestampErrors as much as I'm seeing rxTimestampErrors errors: ~~~ 2017-06-29 22:31:58.763006 ptpd[558].(info) transport: ======= transport 'Event' error counters ====== 2017-06-29 22:31:58.763155 ptpd[558].(info) transport: rxErrors: 0 2017-06-29...

  • Wojciech Owczarek Wojciech Owczarek posted a comment on discussion Help

    Hi there, What you are seeing is actually a "side effect" of the driver / OS not being able to capture the transmission timestamps of the delay request messages. This is a notorious problem with many cards and drivers, almost to be expected. Ptpd silently ignores this, but as a result you have sequence gaps, because the transmitted delayResp - which is physically transmitted - is considered not sent, and the response comes back, but is dropped. I think I will need to rework this, because this behaviour...

  • A Jones A Jones posted a comment on discussion Help

    Hi! The Altera Cyclone V Soc has IEEE1588-2008 support in the MAC hardware. I have the 'wowczarek-2.3.2-libcck' branch working, mostly. The problem is, is that the sequence-numbers will occasionally get out of sync -- I'm including a snippet of the log-file that indicates this: 2017-06-29 20:58:05.189102 ptpd[558].(debug1) Received an empty PTP message (this should not happen) - ignoring 2017-06-29 20:58:05.189197 ptpd[558].(debug1) ==> DelayResp message received, sequence 36414 2017-06-29 20:58:05.189241...

  • jessica davidson jessica davidson posted a comment on discussion Help

    Whenever I tried to play any game on my pc, I was facing the same high CPU usage problem. Searched a lot and found that problem may be cause by svchost.exe (netsvcs)

  • yangjie yangjie posted a comment on discussion Help

    i wanted to ues ptpd in WLAN with one master and many slaves. slaves know master ip addr, but master do not know slave, so I uesd negotiation . E2E negotiation is ok, but P2P i can not configure well。 is master need two ptpd process in p2p mode? can recommend a suitable configuration for me? thanks

  • Wojciech Owczarek Wojciech Owczarek posted a comment on discussion Help

    Hi, The truth is that it doesn't really matter, because the slaves also run the BMCA, so even if two masters become active, slaves will select only one anyway. When the active master goes away, the other two will wait n * announce interval (configurable) and will consider themselves best and will start transmitting, possibly both. But soon after the "worse" of the two receives the first announce message from the "better" one, it will stop being master. Actually not as soon as, but soon.How long this...

  • Jack Jones Jack Jones modified a comment on discussion Help

    Hi everybody. I have a question considering BMC algorithm in PTP. For example, if I have 3 nodes, in normal case, one node is grandmaster to other 2 nodes (grandmaster is connected with second node and second node is connected with third node) . But if I restart grandmaster node, is it possible that both of other two nodes become master? If it is possible, can you please explain how? Shouldn't BMC algorithm choose better from those two as master? Thanks in advance

  • Jack Jones Jack Jones posted a comment on discussion Help

    Hi everybody. I have a question considering BMC algorithm in PTP. For example, if I have 3 nodes. In normal case, one node is grandmaster to other 2 nodes. But if I restart grandmaster node, is it possible that both of other two nodes become master? If it is possible, can you please explain how? Shouldn't BMC algorithm choose better from those two as master? Thanks in advance

  • Jose Manuel Jose Manuel posted a comment on discussion Help

    Hi, Anyone knows where i can define my .conf file to when ptpd2 starts init with my .conf? I'm using buildroot, Regards

  • Jose Manuel Jose Manuel posted a comment on discussion Help

    Now works. just doned: echo 10 >/proc/sys/net/ipv4/igmp_max_memberships But where i can define my .conf file to when ptpd2 starts init with my .conf? Regards

  • Jose Manuel Jose Manuel posted a comment on discussion Help

    I've got these errors too: // # ptpd2 -C -m -i eth0 2017-04-20 15:37:02.660701 ptpd2[233].startup (info) () Configuration OK 2017-04-20 15:37:02.660827 ptpd2[233].startup (info) () Successfully acquired lock on /var/run/ptpd2.lock 2017-04-20 15:37:02.660883 ptpd2[233].startup (notice) () PTPDv2 started successfully on eth0 using "masterslave" preset (PID 233) 2017-04-20 15:37:02.660897 ptpd2[233].startup (info) () TimingService.PTP0: PTP service init 2017-04-20 15:37:02.661040 ptpd2[233].eth0 (error)...

  • Jose Manuel Jose Manuel modified a comment on discussion Help

    Probably i have the ptpd.conf by default (and my eth0 is not defined) so gives me the error i described, im reading this: Anyone know where i can define the config file? im using buildroot and this way: https://gist.github.com/mhaberler/f4809ed2e465912d3534 it should work for ptpd2 or only for ptpd? shoud i rename the file for etc/default/ptpd2 instead of etc/default/ptpd ? Regards,

  • Jose Manuel Jose Manuel modified a comment on discussion Help

    Anyone know where i can define the config file im using buildroot and this way: https://gist.github.com/mhaberler/f4809ed2e465912d3534 it should work for ptpd2 or only for ptpd? shoud i rename the file for etc/default/ptpd2 instead of etc/default/ptpd ? Regards,

  • Jose Manuel Jose Manuel posted a comment on discussion Help

    Anyone know where i can define the config file im using buildroot and this way: https://gist.github.com/mhaberler/f4809ed2e465912d3534 it should work for ptpd2 or only for ptpd? Regards,

  • Jose Manuel Jose Manuel posted a comment on discussion Help

    Hi Folks, i'm using ptpd2 v2.3.1 and can synchronize clocks between my Vmware and my slave in Unicast. When i try multicast gives me that error: (init) failed to join the multicast group (strerror: No such file or directory) Im using an custom kernel version 4.11.0-rc5. I thhink probably the problem is this erros in my logging dmesg: " Starting ptpd2: random: crng init done Configuration error: option "ptpengine:interface" is required Warning: Unicast negotiation can only be used with unicast transmission...

  • Wojciech Owczarek Wojciech Owczarek posted a comment on discussion Help

    Hi, I am not sure what this question has to do with PTPd. Were you meant to post it somewhere else? Thanks, Wojciech

  • abbey seraph abbey seraph posted a comment on discussion Help

    Hi, I am really very new to RTAI and RTnet I am trying to install RTnet, but I am...

  • abbey seraph abbey seraph modified a comment on discussion Open Discussion

  • abbey seraph abbey seraph posted a comment on discussion Open Discussion

    Hi, I am really very new to RTAI and RTnet I am trying to install RTnet, but I am...

  • Fiti Fiti modified a comment on discussion Help

    Hello, I have implemented my own hardware clock and PHC API. It works perfectly,...

  • Fiti Fiti posted a comment on discussion Help

    Hello, I have implemented my own hardware clock and PHC API. It works perfectly,...

  • Mircea Orban Mircea Orban posted a comment on discussion Help

    Hi Wojciech, I am using the latest Mellanox OFED drivers. Hopefully that is ok. Anyway,...

  • Wojciech Owczarek Wojciech Owczarek modified a comment on discussion Help

    Hi - can you stop the NTP client and see if that makes a difference? Also make sure...

  • Wojciech Owczarek Wojciech Owczarek posted a comment on discussion Help

    Hi - can you stop the NTP client and see if that makes a difference? Also make sure...

  • Mircea Orban Mircea Orban posted a comment on discussion Help

    The stratum 1 NTP server is couple of hops away, but local.. The eno1 clock offset...

  • Wojciech Owczarek Wojciech Owczarek posted a comment on discussion Help

    Hi - the stratum 1 NTP server, is it local or is it somewhere on the Internet? Also...

  • Mircea Orban Mircea Orban posted a comment on discussion Help

    Hi Wojciech, As you say, let talk first about the master. I use PTPd setup on a separate...

  • Wojciech Owczarek Wojciech Owczarek posted a comment on discussion Help

    Hi - definitely not a problem with your build tools or your OS. I double-checked...

  • Mircea Orban Mircea Orban posted a comment on discussion Help

    Hi Wojciech, I am confused. I actually have the latest source. I checked it with...

  • Wojciech Owczarek Wojciech Owczarek posted a comment on discussion Help

    Hi Mircea, This is the correct branch, but there were some updates committed a few...

  • Mircea Orban Mircea Orban posted a comment on discussion Help

    Ok. I was using this branch: https://github.com/wowczarek/ptpd/tree/wowczarek-2.3.2-libcck...

  • Wojciech Owczarek Wojciech Owczarek modified a comment on discussion Help

    Hi Mircea, Please update your source. The debug build issue is already fixed. There...

  • Wojciech Owczarek Wojciech Owczarek posted a comment on discussion Help

    Hi Mircea, Please update your source. The debug build issue is already fixed. There...

  • Mircea Orban Mircea Orban posted a comment on discussion Help

    Thanks Wojciech. Based on the feedback provided I have made some progress: The master...

  • Wojciech Owczarek Wojciech Owczarek posted a comment on discussion Help

    Hi - too little information. Are you using the latest source? The current source...

  • Mircea Orban Mircea Orban posted a comment on discussion Help

    I've setup a system that with Mellanox ConnectX-3 Pro nics that support hw timestamps:...

  • Wojciech Owczarek Wojciech Owczarek posted a comment on discussion Help

    There is no guide as such, but you are on the right track. PTPd has moved to Git...

  • Abir Ouni Abir Ouni posted a comment on discussion Help

    Hello I'm interested in porting PTPd 2.3.1 to an embedded target ( runnig over an...

1 >
MongoDB Logo MongoDB