Yo Miroslav!

On Wed, 13 May 2020 08:55:11 +0200
Miroslav Lichvar <mlich...@redhat.com> wrote:

> On Tue, May 12, 2020 at 08:33:28PM -0700, Gary E. Miller wrote:
> > If I run the masster is software mode, and the slave in hardware
> > mode like this:
> > 
> >     ptp4l -i eno2 -s --clock_servo ntpshm --ntpshm_segment 2
> > 
> > I get this in the slave ntpd log:
> > 
> > 2020-05-12T20:27:54 ntpd[9090]: SHM(2): stale/bad receive time,
> > delay=18s
> > 
> > Any ideas how to run in hardware mode and get ntpd/shm to work?  
> 
> ntpd expects samples relative to the system clock, so feeding it
> samples relative to the NIC clock from ptp4l won't work.

Yeah, clearly broken.  Why would ptp4l ever send anything to ntpd that
ntpd can not understand?  At least give a warning or error.

> There needs
> to be phc2sys measuring the offset between the two clocks.

How would I do that?  Got a sample command line?

> The
> timemaster program can show you the right configuration

I gave up on timemaster, it is doing too many things that are not
compatible with my setup.

> or run the programs.

Run which programs?  Got a sample command line?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        g...@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpQQ0kQufGGj.pgp
Description: OpenPGP digital signature

_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to