Hi,

we have a problem with linuxptp 2.0 when using 254 as domain number (which 
should be OK according to IEEE C37.238-2017). As you can see in the timemaster 
log file the ptp4l process terminates:

--------------------------------------------------------------------------------------------------------------
2000-01-01T01:56:52.220374+00:00  [timemaster][debug]  [96.796] creating 
/var/run/timemaster/ntp.conf
2000-01-01T01:56:52.221105+00:00  [timemaster][debug]  [96.797] creating 
/var/run/timemaster/ptp4l.0.conf
2000-01-01T01:56:52.221825+00:00  [timemaster][info]  [96.798] process 4590 
started: /usr/sbin/ntpd -u ntp:ntp -g -n -c /var/run/timemaster/ntp.conf
2000-01-01T01:56:52.223731+00:00  [timemaster][info]  [96.800] process 4591 
started: /usr/bin/ptp4l -p /dev/ptp0 -f /var/run/timemaster/ptp4l.0.conf -H -i 
eth1 -i eth2
2000-01-01T01:56:52.224395+00:00  [timemaster][info]  [96.800] process 4592 
started: /usr/bin/phc2sys -l 7 -a -r -R 1.00 -z 
/var/run/timemaster/ptp4l.0.socket -t [0:eth1+eth2] -n 0 -E ntpshm -M 0
2000-01-01T01:56:52.236396+00:00  [timemaster][info]  [96.812] process 4591 
terminated with status 254
2000-01-01T01:56:52.236522+00:00  [timemaster][debug]  [96.813] exiting on 
signal 15
2000-01-01T01:56:52.236548+00:00  [timemaster][debug]  [96.813] killing process 
4590
2000-01-01T01:56:52.236573+00:00  [timemaster][debug]  [96.813] killing process 
4592
2000-01-01T01:56:52.240159+00:00  [timemaster][info]  [96.816] process 4590 
terminated abnormally
2000-01-01T01:56:52.240188+00:00  [timemaster][debug]  [96.816] waiting for 
other processes to terminate
2000-01-01T01:56:52.241996+00:00  [timemaster][info]  [96.818] process 4592 
terminated with status 255
2000-01-01T01:56:52.242027+00:00  [timemaster][debug]  [96.818] removing 
/var/run/timemaster/ntp.conf
2000-01-01T01:56:52.242115+00:00  [timemaster][debug]  [96.818] removing 
/var/run/timemaster/ptp4l.0.conf
2000-01-01T01:56:52.242191+00:00  [timemaster][info]  [96.818] exiting
--------------------------------------------------------------------------------------------------------------


Timemaster config file:

--------------------------------------------------------------------------------------------------------------
[ntp.conf]
includefile /etc/ntp.conf

[ntpd]
options -u ntp:ntp -g
path /usr/sbin/ntpd

[phc2sys]
options -l 7
path /usr/bin/phc2sys

[ptp_domain 0]
interfaces eth1 eth2

[ptp4l]
options -p /dev/ptp0
path /usr/bin/ptp4l

[timemaster]
ntp_program ntpd

[ptp4l.conf]
# default data Set
clockAccuracy                 0xFE
clockClass                    248
domainNumber                  254
free_running                  0
freq_est_interval             1
offsetScaledLogVariance       0xFFFF
priority1                     128
priority2                     128
slaveOnly                     0
twoStepFlag                   1

# port data set
announceReceiptTimeout        3
delayAsymmetry                0
fault_reset_interval          4
logAnnounceInterval           1
logMinDelayReqInterval        0
logMinPdelayReqInterval       0
logSyncInterval               2
neighborPropDelayThresh       20000000
syncReceiptTimeout            0

# run time options
assume_two_step               0
check_fup_sync                0
follow_up_info                0
kernel_leap                   1
logging_level                 7
path_trace_enabled            0
summary_interval              0
tx_timestamp_timeout          1
use_syslog                    1
verbose                       0

# transport options
p2p_dst_mac                   01:80:C2:00:00:0E
ptp_dst_mac                   01:1B:19:00:00:00
transportSpecific             0
udp6_scope                    0x0E
uds_address                   /var/run/ptp4l

# default interface options
delay_filter                  moving_median
delay_filter_length           10
delay_mechanism               P2P
network_transport             L2
time_stamping                 hardware

# clock description
manufacturerIdentity          00:00:00
step_threshold                0
timeSource                    0xA0
--------------------------------------------------------------------------------------------------------------


Does ptp4l support IEEE C37.238-2017 at all?



Kind Regards,
Philip Kirchhoff


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

Reply via email to