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 <mlich...@redhat.com>
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
>
>
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to