|
From: Sebastian P. <seb...@gm...> - 2021-05-31 04:40:54
|
I am using 2 Ubuntu VMs,one as slave and one as master. Slave sudo ptpd -i enp0s3 -s -C --ptpengine:transport=ethernet --ptpengine:disable_bmca=1 Master sudo ptpd -i enp0s3 -M -C --ptpengine:transport=ethernet --ptpengine:disable_bmca=1 This is the output I am getting on the slave side but the clock isnt updating. 2021-05-31 08:38:04.514524 ptpd2[63762].startup (info) (___) Configuration OK 2021-05-31 08:38:04.514801 ptpd2[63762].startup (info) (___) Successfully acquired lock on /var/run/ptpd2.lock 2021-05-31 08:38:04.514902 ptpd2[63762].startup (notice) (___) PTPDv2 started successfully on enp0s3 using "slaveonly" preset (PID 63762) 2021-05-31 08:38:04.514920 ptpd2[63762].startup (info) (___) TimingService.PTP0: PTP service init 2021-05-31 08:38:04.600221 ptpd2[63762].enp0s3 (info) (init) Observed_drift loaded from kernel: 500000 ppb 2021-05-31 08:38:04.600287 ptpd2[63762].enp0s3 (notice) (lstn_init) Now in state: PTP_LISTENING 2021-05-31 08:38:05.664053 ptpd2[63762].enp0s3 (info) (lstn_init) New best master selected: 080027fffe16a902(unknown)/1 2021-05-31 08:38:05.664095 ptpd2[63762].enp0s3 (notice) (slv) Now in state: PTP_SLAVE, Best master: 080027fffe16a902(unknown)/1 2021-05-31 08:38:05.664111 ptpd2[63762].enp0s3 (notice) (slv) Received first Sync from Master 2021-05-31 08:38:06.668126 ptpd2[63762].enp0s3 (notice) (slv) Servo: Going to slew the clock with the maximum frequency adjustment 2021-05-31 08:38:06.676018 ptpd2[63762].enp0s3 (notice) (slv) Received first Delay Response from Master 2021-05-31 08:38:14.515040 ptpd2[63762].enp0s3 (notice) (slv) TimingService.PTP0: elected best TimingService 2021-05-31 08:38:14.515088 ptpd2[63762].enp0s3 (info) (slv) TimingService.PTP0: acquired clock control How do I fix this?? |