Re: [Linuxptp-users] ptp4l and SHM?

2017-10-31 Thread Gary E. Miller
Yo Miroslav! On Tue, 31 Oct 2017 11:52:14 +0100 Miroslav Lichvar wrote: > > Nope. Can you suggest a working configuration or a howto? I > > thought it used to work. > > A minimal configuration using software timestamping and the NTP SHM > segment #2 would be: > > 1. on master run: ptp4l -S

Re: [Linuxptp-users] ptp4l and SHM?

2017-10-31 Thread Miroslav Lichvar
On Mon, Oct 30, 2017 at 08:07:49PM -0700, Gary E. Miller wrote: > Miroslav Lichvar wrote: > > Is there a "LISTENING to UNCALIBRATED on RS_SLAVE" message in the log? > > If not, ptp4l is probably not receiving master's messages, e.g. due to > > firewall or switch configuration. > > Nope. Can you

Re: [Linuxptp-users] ptp4l and SHM?

2017-10-30 Thread Gary E. Miller
Yo Miroslav! On Mon, 30 Oct 2017 10:20:54 +0100 Miroslav Lichvar wrote: > On Fri, Oct 27, 2017 at 12:29:40PM -0700, Gary E. Miller wrote: > > Yo All! > > > > About a year ago I was running tests feeding time from ptp4l to > > ntpd using a SHM. I just repeated the experiment after updating > >

Re: [Linuxptp-users] ptp4l and SHM?

2017-10-30 Thread Miroslav Lichvar
On Fri, Oct 27, 2017 at 12:29:40PM -0700, Gary E. Miller wrote: > Yo All! > > About a year ago I was running tests feeding time from ptp4l to > ntpd using a SHM. I just repeated the experiment after updating > my linuxptp to git head, and now no luck. > My logs show that ptp4l has found a maste

Re: [Linuxptp-users] ptp4l and SHM?

2017-10-27 Thread Gary E. Miller
Yo All! Sorry, a typo: > I start the daemon this way: > > # ptp4l -s -f /etc/ptp-howto.conf I start this way, with a capital S: # ptp4l -S -f /etc/ptp-howto.conf strace shows me a bit of SHM action: # strace -o tmp ptp4l -S -f /etc/ptp-howto.conf shmget(0x4e545032, 96, IPC_CREAT|0600)

[Linuxptp-users] ptp4l and SHM?

2017-10-27 Thread Gary E. Miller
Yo All! About a year ago I was running tests feeding time from ptp4l to ntpd using a SHM. I just repeated the experiment after updating my linuxptp to git head, and now no luck. My version: # ptp4l -v 1.8-00063-g5ce04f9 I'm pretty much following the instructions here: http://www.catb.org/gps