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: gangana...@lankabell.net <gangana...@lankabell.net> Sent: Tuesday, October 1, 2019 09:42 PM To: 'Miroslav Lichvar' <mlich...@redhat.com> Cc: linuxptp-users@lists.sourceforge.net 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 <mlich...@redhat.com <mailto:mlich...@redhat.com> > Sent: Tuesday, October 1, 2019 05:52 PM To: gangana...@lankabell.net <mailto:gangana...@lankabell.net> Cc: 'Richard Cochran' <richardcoch...@gmail.com <mailto:richardcoch...@gmail.com> >; 'Christian Leeb' <christian.l...@ch.abb.com <mailto:christian.l...@ch.abb.com> >; linuxptp-users@lists.sourceforge.net <mailto:linuxptp-users@lists.sourceforge.net> Subject: Re: [Linuxptp-users] phc2sys in fail status On Tue, Oct 01, 2019 at 04:48:17PM +0530, gangana...@lankabell.net <mailto:gangana...@lankabell.net> 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 Linuxptp-users@lists.sourceforge.net <mailto:Linuxptp-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/linuxptp-users
_______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users