Re: [chrony-users] PPS correction not being applied

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


You are not logging a crucial thing, refclocks logging.
Put refclocks into the logging line in chrony.conf


Note-- it is pps that gines the accuracy. And you need to lock PPS to a
working other source of inaccurate time (better than seconds)



William G. Unruh __| Canadian Institute for|____ Tel: +1(604)822-3273
Physics&Astronomy _|___ Advanced Research _|____ Fax: +1(604)822-5324
UBC, Vancouver,BC _|_ Program in Cosmology |____ unruh@xxxxxxxxxxxxxx
Canada V6T 1Z1 ____|____ and Gravity ______|_ www.theory.physics.ubc.ca/

On Thu, 23 Feb 2017, Brian Gieryk wrote:

I apologize for my seeming ignorance, I have been trying everything I could find in the archives here.

I have been using Linux for a grand total of one week, so some patience will be much appreciated.

My Pi does not seem to send email directly to anyone other than myself, so it is a 2 step process to send anything from it.

As for locking to the GPS, the time/date are being set correctly from it now, I would just like some redundancy, and a tad more accuracy, if it can be had.

I will get more info shortly.

Thank you for your understanding.

Brian

Sent from my iPhone

On Feb 23, 2017, at 17:46, Bill Unruh <unruh@xxxxxxxxxxxxxx> wrote:


On Thu, 23 Feb 2017, Brian Gieryk wrote:


Relevant chrony.conf snipet:
You do not know what is relevant do you?


# offline sources

refclock SHM 0 refid GPS precision 1e-1

What is putting this info into shm?

refclock SHM 1 refid NMEA precision 1e-9
refclock SOCK /tmp/chrony.ttyS0.sock refid NMEA

Two different sources with the same name. That could cause confusion. Where do these come from?


refclock PPS /dev/pps0 poll 0 refid PPS lock NMEA

Sources output:

pi@raspberrypi:~ $ sudo chronyc sources
210 Number of sources = 5
MS Name/IP address         Stratum Poll Reach LastRx Last
sample
===============================================================================
#* GPS                       0   4   377 15-+1007us   [-1476us]+/-100ms

GPS reports. So why not lock to it?

#? NMEA                      0   4     0      -+0ns   [   +0ns]+/-  0ns
#? NMEA                      0   4     0      -+0ns   [   +0ns]+/-  0ns

Neither of your nmea sources report so PPS has nothing to lock to.

#? PPS                       0   0     0      -+0ns   [   +0ns]+/-  0ns
^? 2610:20:6f15:15::27       0   8     0      -+0ns   [   +0ns]+/-  0ns

What is this source?


pi@raspberrypi:~ $

I don't see anything unusual(?) in the log...

Do you see anything? Why not give us 10 or 20 lines from the refclock log?



I am not an old hand at this......

Thank you!

Brian




On Feb 23, 2017, at 09:09, Bill Unruh <unruh@xxxxxxxxxxxxxx> wrote:

You tell it to lock to NMEA. Do you actually have an NMEA refclock running?
Ie you might want to show us what your complete chrony.conf is.

Also in your sources, what sources are listed? Ie, what is the complete output of chronyc sources command.

In the logging of the refclock, are there any entries? Do they give you a
clue?



William G. Unruh __| Canadian Institute for|____ Tel: +1(604)822-3273
Physics&Astronomy _|___ Advanced Research _|____ Fax: +1(604)822-5324
UBC, Vancouver,BC _|_ Program in Cosmology |____ unruh@xxxxxxxxxxxxxx
Canada V6T 1Z1 ____|____ and Gravity ______|_ www.theory.physics.ubc.ca/

On Thu, 23 Feb 2017, Brian Gieryk wrote:

Good morning.

Running chrony 3.1, raspberry Pi 3 model B with the latest Raspbian Jessie.

Have GPS working to set the clock with no issue.

Have good PPS on /dev/pps0

From searching the archives I have :
refclock PPS /dev/pps0 poll 0 refid PPS lock NMEA

Appended to the end of /etc/chrony/chrony.conf

Running chronyd produces no errors

PPS shows in chronyc sources

However the #? next to PPS never changes (48 hours so far) and there are no corrections.

Any thoughts?

Thank you all!

Brian

Sent from my iPhone
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.

--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.

--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.

--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject. For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/