[ntp:hackers] NTP Release Candidate 4.2.8p1-RC1 Released

Gary E. Miller gem at rellim.com
Tue Jan 27 03:51:45 UTC 2015


Yo Hal!

On Mon, 26 Jan 2015 19:39:13 -0800
Hal Murray <hmurray at megapathdsl.net> wrote:

> gem at rellim.com said:
> > robin ntp # fgrep 127.127.46 /var/log/ntp/*
> > /var/log/ntp/clockstats:57049 10837.938 127.127.46.0 good=0
> > badtime=0 baddate=0   badreply=0   recv=0
> ...
> 
> The recv=0 says it's not getting anything.

Yeah.
 
> > Any idea why I get clk_fault?
> 
> That's probably the general not-working/timeout sort of thing.

The maintainer should add some better debug info...
 
> Try a netstat -t as another quick sanity check.  (just to make sure
> the connection is there)

Nope, no connection. Netcat works, so the gpsd side is fine.

> What does it look like from the gpsd end?

Looks like gpsd gave a few nice TPV and PPS's and then the client just
went away:

gpsd:CLIENT: => client(0): {"class":"TPV","device":"/dev/gps0","mode":3,"time":"2
015-01-27T03:47:27.000Z","ept":0.005,"lat":44.068980006,"lon":-121.314280935,"alt
":1147.655,"epx":7.573,"epy":9.171,"epv":26.910,"track":23.3489,"speed":0.060,"cl
imb":0.001,"eps":1.58,"epc":53.82}\x0d\x0a
gpsd:IO: UBX: len 26
gpsd:PROG: UBX_NAV_DOP
gpsd:DATA: NAVDOP: gdop=1.57 pdop=0.79 hdop=1.17 vdop=1.41 tdop=0.67 mask={DOP}
gpsd:DATA: packet type 11 from /dev/gps0 with {ONLINE|DOP|PACKET}
gpsd:PROG: Changed mask: {ONLINE|DOP|PACKET} with reliable cycle detection
gpsd:IO: UBX: len 24
gpsd:PROG: UBX_NAV_TIMEGPS
gpsd:DATA: TIMEGPS: time=1422330447.00 mask={TIME}
gpsd:DATA: packet type 11 from /dev/gps0 with {ONLINE|TIME|PACKET|PPSTIME}
gpsd:PROG: Changed mask: {ONLINE|TIME|PACKET|PPSTIME} with reliable cycle detecti
on
gpsd:PROG: PPS edge: 0, cycle: 1000026 uSec, duration:  899991 uSec @ 1422330448.
003932511
gpsd:CLIENT: => client(0): {"class":"PPS","device":"/dev/gps0","real_sec":1422330
448, "real_nsec":0,"clock_sec":1422330448,"clock_nsec":3932511}\x0d\x0a
gpsd:INFO: PPS hooks called with accepted 1422330448.003932511 offset -0.00393251
1
gpsd:PROG: PPS edge accepted 1422330448.003932511 offset -0.003932511
gpsd:PROG: checking client(0)
gpsd:INFO: detaching ::1 (sub 0, fd 6) in detach_client
gpsd:WARN: select() bug found, sleeping for 326956 usec

Full log attached.

Most odd to see the "select bug found"???

Have you tried gpsd head??

> What OS/Distro/Version?  

Linux/Gentoo/today's unstable.  Plus gpsd from git head and ntpd 4.2.8p1RC1

> PC Hardware?

Yup, EEEPC

>  GPS device?

GR-601W

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
	gem at rellim.com  Tel:+1(541)382-8588


More information about the hackers mailing list