Hi Miroslav,

Thank you very much your response

Now I got different error message as below,

[root@localhost /]# systemctl status timemaster
● timemaster.service - Synchronize system clock to NTP and PTP time sources
   Loaded: loaded (/usr/lib/systemd/system/timemaster.service; enabled;
vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2019-10-02 14:43:58 +0530;
1s ago
  Process: 653 ExecStart=/usr/sbin/timemaster -f /etc/timemaster.conf
(code=exited, status=1/FAILURE)
 Main PID: 653 (code=exited, status=1/FAILURE)

Oct 02 14:43:58 localhost.localdomain timemaster[653]: [169682.206] process
656 started: /usr/sbin/phc2sys -l 5 -a -r -R 1.00 -z /var/>
Oct 02 14:43:58 localhost.localdomain chronyd[654]: chronyd version 3.3
starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIG>
Oct 02 14:43:58 localhost.localdomain timemaster[653]: [169682.207] process
655 terminated with status 254
Oct 02 14:43:58 localhost.localdomain timemaster[653]: unknown option
includefile at line 2 in global section
Oct 02 14:43:58 localhost.localdomain timemaster[653]: failed to parse
configuration file /var/run/timemaster/ptp4l.0.conf
Oct 02 14:43:58 localhost.localdomain timemaster[653]: [169682.208] process
656 terminated abnormally
Oct 02 14:43:58 localhost.localdomain timemaster[653]: [169682.208] process
654 terminated abnormally
Oct 02 14:43:58 localhost.localdomain systemd[1]: timemaster.service: Main
process exited, code=exited, status=1/FAILURE
Oct 02 14:43:58 localhost.localdomain timemaster[653]: [169682.208] exiting
Oct 02 14:43:58 localhost.localdomain systemd[1]: timemaster.service: Failed
with result 'exit-code'.




Then I changed the 2nd line in the /etc/ptp4l.conf but the output remain
unchanged. My ptp4l.conf file as below,


[root@localhost /]# cat /etc/ptp4l.conf
[global]
verbose                 1
time_stamping   hardware
priority1 127
#tx_timestamp_  timeout 100
#[eno2]
#
# Default Data Set
#
twoStepFlag                     1
slaveOnly                0
priority1                       128
priority2                       128
domainNumber                    24
#utc_offset                     37
clockClass                      248
clockAccuracy                   0xFE
offsetScaledLogVariance 0xFFFF
free_running                    0
freq_est_interval       1
dscp_event                      0
dscp_general             0
dataset_comparison      ieee1588
G.8275.defaultDS.localPriority  128
#
# Port Data Set
#
logAnnounceInterval                     1
logSyncInterval                         0
logMinDelayReqInterval          0
logMinPdelayReqInterval         0
announceReceiptTimeout          3
syncReceiptTimeout                      0
delayAsymmetry                          0
fault_reset_interval                    4
neighborPropDelayThresh         20000000
masterOnly                              0
G.8275.portDS.localPriority             128
#
# Run time options
#
assume_two_step                         0
logging_level                           6
path_trace_enabled                      0
follow_up_info                          0
hybrid_e2e                              0
inhibit_multicast_service        0
net_sync_monitor                        0
tc_spanning_tree                 0
tx_timestamp_timeout            1
unicast_listen                   0
unicast_master_table                    0
unicast_req_duration                    3600
use_syslog                       1
verbose                                 0
summary_interval                        0
kernel_leap                             1
check_fup_sync                          0
#
# Servo Options
#
pi_proportional_const            0.0
pi_integral_const                       0.0
pi_proportional_scale                   0.0
pi_proportional_exponent        -0.3
pi_proportional_norm_max        0.7
pi_integral_scale                       0.0
pi_integral_exponent                    0.4
pi_integral_norm_max            0.3
step_threshold                  0.0
first_step_threshold                    0.00002
max_frequency                           900000000
clock_servo                             pi
sanity_freq_limit                200000000
ntpshm_segment                   0
#
# Transport options
#
transportSpecific       0x0
ptp_dst_mac             01:1B:19:00:00:00
p2p_dst_mac             01:80:C2:00:00:0E
udp_ttl                         1
udp6_scope              0x0E
uds_address             /var/run/ptp4l
#
# Default interface options
#
clock_type                      OC
network_transport       UDPv4
delay_mechanism         E2E
time_stamping            hardware
tsproc_mode                     filter
delay_filter             moving_median
delay_filter_length             10
egressLatency            0
ingressLatency           0
boundary_clock_jbod     0
#
# Clock description
#
productDescription      ;;
revisionData                    ;;
manufacturerIdentity    00:00:00
userDescription          ;
timeSource               0xA0
[root@localhost /]#


Best Regards,
Ganganath


-----Original Message-----
From: Miroslav Lichvar <mlich...@redhat.com>
Sent: Wednesday, October 2, 2019 01:18 PM
To: gangana...@lankabell.net
Cc: 'Richard Cochran' <richardcoch...@gmail.com>;
linuxptp-users@lists.sourceforge.net
Subject: Re: [Linuxptp-users] phc2sys in fail status

On Wed, Oct 02, 2019 at 10:30:56AM +0530, gangana...@lankabell.net wrote:
> Then I changed the  /etc/timemaster.conf  as below
>
> [ptp_domain 24 ]
> interfaces eno2
> #delay 10e-6

> Oct 02 10:23:06 localhost.localdomain timemaster[27629]:
> timemaster[154029.818]: invalid ptp_domain number 24

You need to remove the space between 24 and ].

Yes, the syntax should probably be relaxed a bit.

--
Miroslav Lichvar



_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to