Re: [Linuxptp-users] phc2sys in fail status
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
|
From: <gan...@la...> - 2019-10-02 05:04:48
|
Hi,
Good day to you all !!!
Now all the PTP services are in active state but in the Base station prompt
error message as below,
============================================================================
=========================
ADD
IPCLKLINK:LN=0,ICPT=PTP,SN=7,CNM=L2_MULTICAST,DELAYTYPE=E2E,MACMODE=NO,PROFI
LETYPE=G.8275.1;
Kolpitty_LB_10070
+++ Kolpitty_LB_10070 2019-10-02 09:17:43
O&M #31380
%%/*2396590*/ADD
IPCLKLINK:LN=0,ICPT=PTP,SN=7,CNM=L2_MULTICAST,DELAYTYPE=E2E,MACMODE=NO,PROFI
LETYPE=G.8275.1;%%
RETCODE = 806487822 The value range of domain must be 24 to 43 when the
profile of IP clock link is G.8275.1.
============================================================================
==========================
Then I changed the /etc/timemaster.conf as below
[ptp_domain 24 ]
interfaces eno2
#delay 10e-6
But then service become failed state,
[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 10:23:06 +0530;
4s ago
Process: 27629 ExecStart=/usr/sbin/timemaster -f /etc/timemaster.conf
(code=exited, status=1/FAILURE)
Main PID: 27629 (code=exited, status=1/FAILURE)
Oct 02 10:23:06 localhost.localdomain systemd[1]: Started Synchronize system
clock to NTP and PTP time sources.
Oct 02 10:23:06 localhost.localdomain timemaster[27629]:
timemaster[154029.818]: invalid ptp_domain number 24
Oct 02 10:23:06 localhost.localdomain systemd[1]: timemaster.service: Main
process exited, code=exited, status=1/FAILURE
Oct 02 10:23:06 localhost.localdomain systemd[1]: timemaster.service: Failed
with result 'exit-code'.
[root@localhost ~]#
Do you have any idea for this ………
Best Regards,
Ganganath
-----Original Message-----
From: gan...@la... <gan...@la...>
Sent: Tuesday, October 1, 2019 09:42 PM
To: 'Miroslav Lichvar' <mli...@re...>
Cc: lin...@li...
Subject: Re: [Linuxptp-users] phc2sys in fail status
Dear Miroslav,
Now I set /etc/sysconfig/phc2sys file as below,
[root@localhost ~]# cat /etc/sysconfig/phc2sys OPTIONS="-a -r -r"
#OPTIONS=”-s CLOCK_REALTIME -c eno2 -w”
Then the service become active.
[root@localhost ~]# 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: active (running) since Tue 2019-10-01 12:01:54 EDT; 2min 22s ago
Main PID: 12173 (phc2sys)
Tasks: 1 (limit: 26213)
Memory: 376.0K
CGroup: /system.slice/phc2sys.service
└─12173 /usr/sbin/phc2sys -a -r -r
Thank you very much....
Best Regards,
Ganganath
-----Original Message-----
From: Miroslav Lichvar <mli...@re... <mailto:mli...@re...> >
Sent: Tuesday, October 1, 2019 05:52 PM
To: gan...@la... <mailto:gan...@la...>
Cc: 'Richard Cochran' <ric...@gm...
<mailto:ric...@gm...> >; 'Christian Leeb'
<chr...@ch... <mailto:chr...@ch...> >;
lin...@li...
<mailto:lin...@li...>
Subject: Re: [Linuxptp-users] phc2sys in fail status
On Tue, Oct 01, 2019 at 04:48:17PM +0530, gan...@la...
<mailto:gan...@la...> wrote:
> 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
What is in the /etc/sysconfig/phc2sys file?
--
Miroslav Lichvar
_______________________________________________
Linuxptp-users mailing list
Lin...@li...
<mailto:Lin...@li...>
https://lists.sourceforge.net/lists/listinfo/linuxptp-users
|