On Wed, Jun 11, 2014 at 09:35:10PM +0200, Jiri Benc wrote: > Changes in v3: > - Fixed direction of sync offset. > - Fixed NULL ptr deref with manual configuration. > - Added a patch that resets sync offset when grandmaster time scale changes > to a non PTP timescale, e.g. when ptp4l in software time stamping mode > becomes grandmaster. This bug was the reason why I haven't noticed the > swapped sync offset in the previous testing.
Interesting. I think the reason why I didn't notice the problem earlier was that I used the same testing version of phc2sys on slave and also on master, and I checked only the system clock which was fine with two negated corrections in the UTC->TAI->UTC conversion. > Changes in v2: > - added PMC_SUBSCRIBE_DURATION constant > - fixed wrong invocation of update_pmc > > This is the phc2sys part of the autoconfig patchset. It uses the event > subscription mechanism implemented in ptp4l. > > The patchset is prepared to handle the "emulated boundary clock" scenario, > i.e. ptp4l working over multiple PHC's. I have old patches to do that (the > dynamic port allocation patchset + patchset to support multiple PHC's) which > I'll rebase on top of this and post after the patchset is accepted. I'm happy with the set now, in my tests all seems to be working well. Thanks, -- Miroslav Lichvar ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel