Re: Something broken with minpoll/maxpoll

2016-09-27 Thread Hal Murray
> It works on 2 of my ten indexes I think the & hack only works for refclocks. -- These are my opinions. I hate spam. ___ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel

Re: Something broken with minpoll/maxpoll

2016-09-27 Thread Gary E. Miller
Yo Achim! On Tue, 27 Sep 2016 20:02:21 +0200 Achim Gratz wrote: > Gary E. Miller writes: > > How does that tell me which is 127.127.28.1? > > ntpq -c apeer > > > And the ntpq -cv '&3' still fails: > > ntp -c 'cv &3' Even I spot the missing 'd'. But still marginal:

Re: Something broken with minpoll/maxpoll

2016-09-27 Thread Achim Gratz
Gary E. Miller writes: > How does that tell me which is 127.127.28.1? ntpq -c apeer > And the ntpq -cv '&3' still fails: ntp -c 'cv &3' Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Terratec KOMPLEXER:

Re: Something broken with minpoll/maxpoll

2016-09-27 Thread Gary E. Miller
Yo Achim! On Tue, 27 Sep 2016 19:41:14 +0200 Achim Gratz wrote: > Gary E. Miller writes: > > spidey ntpsec # ntpq cv '&1' > > No address associated with hostname > > Then your refclock is not the first association. > > > How do I find tha sssccociation index? > > ntpq

Re: Something broken with minpoll/maxpoll

2016-09-27 Thread Gary E. Miller
Yo Achim! On Tue, 27 Sep 2016 19:05:38 +0200 Achim Gratz wrote: > Hal Murray writes: > > ntpq cv xxx gives you lots of info for a refclock. (get the xxx > > from apeers) It doesn't include minpoll/maxpoll, but that could be > > fixed. > > I don't think it's documented

Re: Something broken with minpoll/maxpoll

2016-09-27 Thread Achim Gratz
Hal Murray writes: > ntpq cv xxx gives you lots of info for a refclock. (get the xxx from apeers) > It doesn't include minpoll/maxpoll, but that could be fixed. I don't think it's documented anywhere easy to find, but instead of looking up the ever changing ID you get from apeers, I found that I

Re: Something broken with minpoll/maxpoll

2016-09-27 Thread Hal Murray
g...@rellim.com said: > Fix pushed. Please test. An undefined maxpoll is not always set to the > default maxpoll (NTP_MAXDPOLL). For a local refclock the default max poll > is the minpoll. I think it's working correctly. I haven't seen any refclocks ramping up. -- These are my opinions.

Re: Something broken with minpoll/maxpoll

2016-09-26 Thread Hal Murray
g...@rellim.com said: > But this bug only showed up after running for a while, so we'd need a > synthetic run environment too. ntpq cv xxx gives you lots of info for a refclock. (get the xxx from apeers) It doesn't include minpoll/maxpoll, but that could be fixed. I think TESTFRAME will be a

Re: Something broken with minpoll/maxpoll

2016-09-26 Thread Hal Murray
> How to add regression tests for such config options? Part of that might be possible with a variant of ntpq. The idea would be to only print the stuff that should be constant, save it to a file, and compare that with last known good. -- These are my opinions. I hate spam.

Re: Something broken with minpoll/maxpoll

2016-09-26 Thread Gary E. Miller
Yo Hal! On Sat, 24 Sep 2016 13:30:29 -0700 Hal Murray wrote: > Some of my PPS refclocks are now ramping up the poll interval. > I think there used to be some code that set maxpoll to minpoll for > refclocks. Did you break that? Fix pushed. Please test. An undefined

Re: Something broken with minpoll/maxpoll

2016-09-24 Thread Hal Murray
g...@rellim.com said: > Yes. That was me. I was wondering how long until someone noticed. Please don't push code that is known to be broken. If there is a good reason, please tell us what/why etc. The only good reason I can think of would be fixing something else that is more broken. --

Re: Something broken with minpoll/maxpoll

2016-09-24 Thread Gary E. Miller
Yo Hal! On Sat, 24 Sep 2016 13:30:29 -0700 Hal Murray wrote: > Some of my PPS refclocks are now ramping up the poll interval. > I think there used to be some code that set maxpoll to minpoll for > refclocks. Did you break that? Yes. That was me. I was wondering how

Something broken with minpoll/maxpoll

2016-09-24 Thread Hal Murray
Some of my PPS refclocks are now ramping up the poll interval. *GPS_NMEA(0) .GPS.0 l4 64 3770.000 -61.938 91.790 oPPS(0) .PPS.0 l2 256 3770.0003.679 1.919 *NMEA(0) .GPS.0 l 252 256 3770.0008.697