Re: [Linuxptp-users] Unable run ptp4l using Virtual Clock
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Amar B S <ama...@gm...> - 2022-11-21 09:37:05
|
Hi Miroslav, The code was built on a dev system and I copied binaries into to test system. Is it required to build on the test system where kernel support is present ? Thanks, Amar On Mon, Nov 21, 2022 at 1:18 PM Miroslav Lichvar <mli...@re...> wrote: > On Mon, Nov 21, 2022 at 12:13:05PM +0530, Amar B S wrote: > > When I run ptp4l it's unable to detect the virtual clock and prints out > the > > error “phc device mismatch”. > > After reading through the code I see that *“rtnl_iface_has_vclock” *is > > failing to detect the virtual clock. Can you please suggest what could be > > going wrong here? We are using CentOS 7 with > > *“kernel-ml-6.0.8-1.el7.elrepo.x86_64”* > > Were the corresponding development files of the kernel available when > linuxptp was built? In the build log you should see -DHAVE_VCLOCKS. > > -- > Miroslav Lichvar > > |