Hello,

I have a laptop configured as a proof of concept system.  It's an older Lenovo 
laptop with an Intel Corporation Ethernet Connection I218-LM (rev 04), 
configured as an e1000 device.  "ethtool -T enp0s25" shows both software and 
hardware timestamping available.

Feeding into this system are two ptp clock streams in domain 44.  I am running 
timemaster with ptp4l, and chrony.  My desire is to have ptp (since it's more 
accurate) set the local clock and fallback to ntp when a failure occurs.  The 
system would then serve ntp.

Timemaster, chronyd, ptp4l, and phc2sys are all running.

21680 ?        Ss     0:00 /usr/sbin/timemaster -f /etc/timemaster.conf
21681 ?        S      0:00  \_ /usr/sbin/chronyd -u chrony -n -f 
/var/run/timemaster/chrony.conf
21682 ?        S      0:09  \_ /usr/sbin/ptp4l -l 5 -f 
/var/run/timemaster/ptp4l.0.conf -H -i enp0s25
21683 ?        S      0:00  \_ /usr/sbin/phc2sys -l 5 -a -r -R 1.00 -z 
/var/run/timemaster/ptp4l.0.socket -t [44:enp0s25 ] -n 44 -E ntpshm -M 0


I noticed three  things:


  1.  Chronyc sources shows
     *   210 Number of sources = 5
     *   MS Name/IP address         Stratum Poll Reach LastRx Last sample
     *   
===============================================================================
     *   #? PTP0                          0   2     0     -     +0ns[   +0ns] 
+/-    0nsq
     *   ^+ time-c-b.nist.gov             1   4   377     5  +7083us[+7083us] 
+/-   28ms
     *   ^+ time2.google.com              1   4   377     7   +333us[ +333us] 
+/-   28ms
     *   ^* usscz2-ntp-001.aaplimg.c>     1   4   377     5   -780us[ -780us] 
+/-   11ms
     *   ^+ clock.fmt.he.net              1   4   377     6  -2245us[-2245us] 
+/-   14ms

Why is chrony showing PTP0 as a problem?



  1.  And when using this system as an ntp source on another system it shows as 
a stratum 2 system.  Shouldn't this be a stratum 1, given the ptp0 clock?
  2.  A lot of messages in /var/log/messages:
     *   [44:enp0s25] port 1: received SYNC without timestamp

Thank you for your time!


Jason Brooks
Senior Cloud Infrastructure Engineer
Infrastructure and Engineering Services
Allstream
www.allstream.com<http://www.allstream.com/>
[id:image001.jpg@01D2AD47.F9210620]<http://www.allstream.com/>


NOTICE - CONFIDENTIAL INFORMATION This communication is the property of 
Allstream and may contain confidential or privileged information. If you have 
received this communication in error, please promptly notify the sender by 
reply e-mail, do not disseminate, distribute, copy or use the information 
contained in this communication, and destroy all copies of the communication 
and any attachments.
AVIS - RENSEIGNEMENTS CONFIDENTIELS Cette communication est la propri?t? 
d'Allstream et peut contenir des renseignements confidentiels ou privil?gi?s. 
Si vous avez re?u cette communication par erreur, veuillez informer rapidement 
l'exp?diteur en r?pondant par courriel, ne pas diffuser, distribuer, copier ou 
utiliser les renseignements contenus dans la pr?sente communication, et 
d?truire toutes les copies de la communication et ses pi?ces jointes.
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to