Hi,
I am trying to implement PTP server for synchronize TDD base stations and I
successfully install all the packages and services in the centos 8
But phc2sys in fail status. Do you have any suggestion for that ?
[root@localhost log]# systemctl status phc2sys
● phc2sys.service - Synchronize system clock or PTP hardware clock (PHC)
Loaded: loaded (/usr/lib/systemd/system/phc2sys.service; enabled; vendor
preset: disabled)
Active: failed (Result: exit-code) since Tue 2019-10-01 05:25:52 EDT;
59min ago
Process: 4169 ExecStart=/usr/sbin/phc2sys $OPTIONS (code=exited,
status=255)
Main PID: 4169 (code=exited, status=255)
But phc2sys -w -s eno2 -m output work properly
[root@localhost log]# phc2sys -w -s eno2 -m
phc2sys[83989.213]: CLOCK_REALTIME phc offset 35029765592 s0 freq -83330252
delay 3178
phc2sys[83990.296]: CLOCK_REALTIME phc offset 35113054809 s1 freq +3952
delay 3178
phc2sys[83991.297]: CLOCK_REALTIME phc offset 100822 s2 freq +104774
delay 2976
phc2sys[83992.297]: CLOCK_REALTIME phc offset 129 s2 freq +34328
delay 2930
phc2sys[83993.297]: CLOCK_REALTIME phc offset -30242 s2 freq +3996
delay 2934
phc2sys[83994.297]: CLOCK_REALTIME phc offset -30207 s2 freq -5042
delay 2927
phc2sys[83995.297]: CLOCK_REALTIME phc offset -21101 s2 freq -4998
delay 2931
============================================================================
======================
All the other services work fine
[root@localhost log]# systemctl status chronyd
● chronyd.service - NTP client/server
Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled; vendor
preset: enabled)
Active: active (running) since Tue 2019-10-01 06:38:59 EDT; 29min ago
Docs: man:chronyd(8)
man:chrony.conf(5)
Process: 5635 ExecStartPost=/usr/libexec/chrony-helper update-daemon
(code=exited, status=0/SUCCESS)
Process: 5631 ExecStart=/usr/sbin/chronyd $OPTIONS (code=exited,
status=0/SUCCESS)
Main PID: 5633 (chronyd)
Tasks: 1 (limit: 26213)
Memory: 3.2M
CGroup: /system.slice/chronyd.service
└─5633 /usr/sbin/chronyd
============================================================================
============================
[root@localhost log]# systemctl status timemaster
● timemaster.service - Synchronize system clock to NTP and PTP time sources
Loaded: loaded (/usr/lib/systemd/system/timemaster.service; disabled;
vendor preset: disabled)
Active: active (running) since Tue 2019-10-01 07:11:28 EDT; 3s ago
Main PID: 6310 (timemaster)
Tasks: 2 (limit: 26213)
Memory: 2.5M
CGroup: /system.slice/timemaster.service
├─6310 /usr/sbin/timemaster -f /etc/timemaster.conf
└─6311 /usr/sbin/chronyd -n -f /var/run/timemaster/chrony.conf
============================================================================
====================================
[root@localhost log]# systemctl status ptp4l
● ptp4l.service - Precision Time Protocol (PTP) service
Loaded: loaded (/usr/lib/systemd/system/ptp4l.service; disabled; vendor
preset: disabled)
Active: active (running) since Tue 2019-10-01 07:13:53 EDT; 2s ago
Main PID: 6417 (ptp4l)
Tasks: 1 (limit: 26213)
Memory: 236.0K
CGroup: /system.slice/ptp4l.service
└─6417 /usr/sbin/ptp4l -f /etc/ptp4l.conf -i eno2
============================================================================
=========================================
[root@localhost log]# pmc -u -b 0 'GET TIME_STATUS_NP'
sending: GET TIME_STATUS_NP
1402ec.fffe.04f911-0 seq 0 RESPONSE MANAGEMENT TIME_STATUS_NP
master_offset 0
ingress_time 0
cumulativeScaledRateOffset +0.000000000
scaledLastGmPhaseChange 0
gmTimeBaseIndicator 0
lastGmPhaseChange 0x0000'0000000000000000.0000
gmPresent false
gmIdentity 1402ec.fffe.04f911
[root@localhost log]#
Best Regards,
Ganganath
_______________________________________________
Linuxptp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-users