-g broken

Gary E. Miller gem at rellim.com
Fri Mar 23 01:09:38 UTC 2018


Yo Hal!

On Thu, 22 Mar 2018 17:43:43 -0700
"Gary E. Miller via devel" <devel at ntpsec.org> wrote:

> > [Aside, the big jump stuff should log the full date.  The year is
> > missing above.]  
> I think esr just patched that?

The logs below confirm this is done.  Nice!

> Surprise.  With that, it no longer crashes. 
> It just marks ALL chimers and refclocks as invalid.  Then hangs.  

I guess I did not wait long enough.  ntpd, and ntpmon, hang for
about three minutes, then wake up fine.  Hang is at: 2134-03-01T17:57:35

How do we explain that?

So. I guesss this brings up a feature request.  Since ntpd sees many
chimers on startup, maybe it should wait a tad before deciding that
the PPS is sane?  Not sure there is a sane improvement here...

And this on a RasPi not always on net.  Not sure I like requiring minsane
more than 1.

Logs:

2134-03-01T17:57:23 ntpd[12098]: CLOCK: leapsecond file ('/etc/leapfile'): good hash signature
2134-03-01T17:57:23 ntpd[12098]: CLOCK: leapsecond file ('/etc/leapfile'): loaded, expire=2018-12-28T00:00Z last=2017-01-01T00:00Z ofs=37
2134-03-01T17:57:23 ntpd[12098]: PROTO: 0.0.0.0 c01e 0e TAI 37 leap 2017-01-01T00:00Z expired 2018-12-28T00:00Z
2134-03-01T17:57:23 ntpd[12098]: CLOCK: leapsecond file ('/etc/leapfile'): expired less than 42068 days ago
2134-03-01T17:57:23 ntpd[12098]: INIT: Using SO_TIMESTAMPNS
2134-03-01T17:57:23 ntpd[12098]: IO: Listen and drop on 0 v6wildcard [::]:123
2134-03-01T17:57:23 ntpd[12098]: IO: Listen and drop on 1 v4wildcard 0.0.0.0:123
2134-03-01T17:57:23 ntpd[12098]: IO: Listen normally on 2 lo 127.0.0.1:123
2134-03-01T17:57:23 ntpd[12098]: IO: Listen normally on 3 wlan0 204.17.205.38:123
2134-03-01T17:57:23 ntpd[12098]: IO: Listen normally on 4 lo [::1]:123
2134-03-01T17:57:23 ntpd[12098]: IO: Listen normally on 5 wlan0 [2001:470:e815::38]:123
2134-03-01T17:57:23 ntpd[12098]: IO: Listen normally on 6 wlan0 [2001:470:e815:0:ba27:ebff:fec9:af4e]:123
2134-03-01T17:57:23 ntpd[12098]: IO: Listen normally on 7 wlan0 [fe80::ba27:ebff:fec9:af4e%6]:123
2134-03-01T17:57:23 ntpd[12098]: IO: Listening on routing socket on fd #24 for interface updates
2134-03-01T17:57:23 ntpd[12098]: PROTO: 127.127.28.1 8011 81 mobilize assoc 2041
2134-03-01T17:57:23 ntpd[12098]: PROTO: 127.127.28.3 8011 81 mobilize assoc 2042
2134-03-01T17:57:23 ntpd[12098]: PROTO: 127.127.28.2 8011 81 mobilize assoc 2043
2134-03-01T17:57:23 ntpd[12098]: PROTO: 2001:470:e815::8 8011 81 mobilize assoc 2044
2134-03-01T17:57:23 ntpd[12098]: PROTO: 204.17.205.16 8011 81 mobilize assoc 2045
2134-03-01T17:57:23 ntpd[12098]: PROTO: 204.17.205.17 8011 81 mobilize assoc 2046
2134-03-01T17:57:23 ntpd[12098]: PROTO: 204.17.205.23 8011 81 mobilize assoc 2047
2134-03-01T17:57:23 ntpd[12098]: PROTO: 204.17.205.24 8011 81 mobilize assoc 2048
2134-03-01T17:57:23 ntpd[12098]: PROTO: 204.17.205.1 8011 81 mobilize assoc 2049
2134-03-01T17:57:23 ntpd[12098]: PROTO: 204.17.205.27 8011 81 mobilize assoc 2050
2134-03-01T17:57:23 ntpd[12098]: PROTO: 204.17.205.30 8011 81 mobilize assoc 2051
2134-03-01T17:57:23 ntpd[12098]: PROTO: 127.127.28.0 8011 81 mobilize assoc 2052
2134-03-01T17:57:23 ntpd[12098]: PROTO: 0.0.0.0 c01d 0d kern kernel time sync enabled
2134-03-01T17:57:23 ntpd[12098]: PROTO: 0.0.0.0 c012 02 freq_set kernel -9.999130 PPM
2134-03-01T17:57:23 ntpd[12098]: PROTO: 0.0.0.0 c016 06 restart
2134-03-01T17:57:24 ntpd[12098]: PROTO: SHM(1) 8014 84 reachable
2134-03-01T17:57:25 ntpd[12098]: PROTO: SHM(3) 801b 8b clock_event clk_no_reply
2134-03-01T17:57:26 ntpd[12098]: PROTO: SHM(2) 801b 8b clock_event clk_no_reply
2134-03-01T17:57:27 ntpd[12098]: PROTO: 2001:470:e815::8 8014 84 reachable
2134-03-01T17:57:28 ntpd[12098]: PROTO: 204.17.205.16 8014 84 reachable
2134-03-01T17:57:30 ntpd[12098]: PROTO: 204.17.205.23 8014 84 reachable
2134-03-01T17:57:31 ntpd[12098]: PROTO: 204.17.205.24 8014 84 reachable
2134-03-01T17:57:32 ntpd[12098]: PROTO: 204.17.205.1 8014 84 reachable
2134-03-01T17:57:33 ntpd[12098]: PROTO: 204.17.205.27 8014 84 reachable
2134-03-01T17:57:34 ntpd[12098]: PROTO: 204.17.205.30 8014 84 reachable
2134-03-01T17:57:35 ntpd[12098]: PROTO: SHM(0) 8014 84 reachable
2134-03-01T17:59:07 ntpd[12098]: PROTO: 204.17.205.16 911a 8a sys_peer
2134-03-01T17:59:07 ntpd[12098]: PROTO: 0.0.0.0 c01c 0c clock_step +636182939.616758 s
2018-03-22T17:59:51 ntpd[12098]: CLOCK: time stepped by 636182939.616758
2018-03-22T17:59:51 ntpd[12098]: PROTO: 0.0.0.0 c015 05 clock_sync
2018-03-22T17:59:52 ntpd[12098]: PROTO: 0.0.0.0 c018 08 no_sys_peer
2018-03-22T17:59:52 ntpd[12098]: PROTO: SHM(1) 8024 84 reachable
2018-03-22T17:59:52 ntpd[12098]: PROTO: 2001:470:e815::8 8024 84 reachable
2018-03-22T17:59:55 ntpd[12098]: PROTO: SHM(0) 8024 84 reachable
2018-03-22T17:59:59 ntpd[12098]: PROTO: 204.17.205.24 8024 84 reachable
2018-03-22T18:00:00 ntpd[12098]: PROTO: 204.17.205.27 8024 84 reachable
2018-03-22T18:00:04 ntpd[12098]: PROTO: 204.17.205.30 8024 84 reachable
2018-03-22T18:00:07 ntpd[12098]: PROTO: 204.17.205.1 8024 84 reachable
2018-03-22T18:00:15 ntpd[12098]: PROTO: 204.17.205.23 8024 84 reachable
2018-03-22T18:00:20 ntpd[12098]: PROTO: 204.17.205.16 8014 84 reachable
pi6 ~ # 


RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20180322/1f76364e/attachment.bin>


More information about the devel mailing list