Re: [chrony-users] Not getting time from gpsd

2016-08-14 Thread Bill Unruh
i, Aug 12, 2016 at 2:24 PM, Bill Unruh <un...@physics.ubc.ca> wrote:       William G. Unruh __| Canadian Institute for| Tel: +1(604)822-3273       Physics _|___ Advanced Research _| Fax: +1(604)822-5324       UB

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

2017-02-23 Thread Bill Unruh
@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 <un...@physics.ubc.ca> wrote: You tell it to lock to NM

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

2017-02-24 Thread Bill Unruh
. In your case you told the pps to use nmea, and nmea was not working at all, so the PPS had nothing to use to tell it which second it was. Lichvar gave you some suggestions. You might try them. Thank you! Brian Sent from my iPhone On Feb 24, 2017, at 00:43, Bill Unruh <

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

2017-02-24 Thread Bill Unruh
-8.378905e-03 -8.378242e-03 1.000e-01 2017-02-24 15:21:07.019457 GPS11 N 0 -1.945806e-02 -1.945740e-02 1.000e-01 Brian  Sent from my iPhone On Feb 24, 2017, at 01:34, Miroslav Lichvar <mlich...@redhat.com> wrote: On Fri, Feb 24, 2017 at 12:00:42AM -0800, Bill Unruh wrot

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

2017-02-24 Thread Bill Unruh
On Fri, 24 Feb 2017, Brian Gieryk wrote: Bill, PPS is being referenced as GPS now. Miroslav, that was initial fix. Now, NMEA offset is +198ms std dev is 7301us Sounds about right. GPS (PPS) is offset +23 us std dev is 19us. Seems a bit high. But I do not know either your gps or how

Re: [chrony-users] How to set chrony on a remote server with always on internet

2010-03-31 Thread Bill Unruh
On Wed, 31 Mar 2010, J. Bakshi wrote: Dear list, During my search on time sync service in linux I have found chrony as a good competitor of ntp. I have found through several documentation that chrony can also adjust the clock with fluctuating internet connection. Hence chrony is my prime

Re: [chrony-users] chronyd[2934]: Read packet with protocol version 3 (expected 4) from 127.0.0.1:53151

2010-06-13 Thread Bill Unruh
On Sun, 13 Jun 2010, hugo vanwoerkom wrote: Hi, I get this message: chronyd[2934]: Read packet with protocol version 3 (expected 4) from 127.0.0.1:53151 from chronyd. What I am surprized at is that address (127.0.0.1). What is the content of your /etc/chrony.conf file? In particular what

Re: [chrony-users] gpsd, pps and chrony

2011-03-16 Thread Bill Unruh
On Wed, 16 Mar 2011, Damien R wrote: On 15 March 2011 18:26, Bill Unruh <un...@physics.ubc.ca> wrote: Yes, if both are synchronized to gps, then both are synchronized. However if one looses the connection to the gps, then it has no way of getting the time. Yes and when the gps conn

Re: [chrony-users] gpsd, pps and chrony

2011-04-04 Thread Bill Unruh
On Mon, 4 Apr 2011, Ed Wildgoose wrote: Hi The problem is not the serial port interrupt. It is as fast as any other I believe. The problem is the time between the interrupt being serviced by the kernel, and the program (gpsd) being notified that an interrupt has occured and then timestamped.

Re: [chrony-users] gpsd, pps and chrony

2011-04-07 Thread Bill Unruh
On Thu, 7 Apr 2011, Ed W wrote: On 06/04/2011 21:58, Miroslav Lichvar wrote: On Wed, Apr 06, 2011 at 07:18:24PM +0100, Ed W wrote: - I see a clear connection between my cpu Mhz as reported in say /proc/cpuinfo (unknown if this source is reliable when processor powersave in use?) and the

Re: [chrony-users] gpsd, pps and chrony

2011-03-18 Thread Bill Unruh
On Fri, 18 Mar 2011, Ed W wrote: On 15/03/2011 09:07, Damien R wrote: Hi, I want to use chrony to synchronize the system clock between two computers (with no connection between them), each equipped with a gps (gps emmit a pps). The computers can run during about 5-8 hours and the gps signal

Re: [chrony-users] Dealing with SNTP sources

2011-05-04 Thread Bill Unruh
On Wed, 4 May 2011, Harald Krammer wrote: Am 2011-05-04 20:04, schrieb Bill Unruh: On Wed, 4 May 2011, Harald Krammer wrote: Hello, I have a question about dealing with SNTP sources. when I interact with two SNTP servers (also named as NTP server), An sntp server must, AFAIK be a stratum

Re: [chrony-users] Chrony 1.26 public server available - please try ...

2011-07-13 Thread Bill Unruh
On Wed, 13 Jul 2011, Ed W wrote: Hi, I have made available a public server with dns name: ntp1.nippynetworks.com (at some point there will be a matched pair: ntp2.) I want to give it a bit of a workout with a view to adding it to the public ntp pool (if they will take it) The

Re: [chrony-users] Chrony 1.26 public server available - please try ...

2011-07-13 Thread Bill Unruh
On Wed, 13 Jul 2011, Ed W wrote: Hi The ntp people have stated that they do not want anything but ntpd on the pool, and that they have ways of finding out if you are not ntpd. (ntpq?) Whether or not they actually adhere to that I do not know. You have told me that before, but I fall into

Re: [chrony-users] Chronyd aborts when system time differs too much from chrony's measurements

2011-08-27 Thread Bill Unruh
On Sat, 27 Aug 2011, thomas.sch...@ascom.com wrote: Hi all, I run into the problem mentioned in the FAQ "10. Problems with isolated networks". We have the situation where the computer system in question might come up quite frequently with a large time offset (due to BIOS battery removal, or

Re: [chrony-users] chronyd: Can' Synchronize WHY ?

2011-09-13 Thread Bill Unruh
On Sun, 11 Sep 2011, Ed W wrote: On 09/09/2011 22:35, Miroslav Lichvar wrote: The only (relatively) special thing: We have a multi-threaded user space application running with a lot of threads (~70): About 6...10 of them are running using the (almost) realtime scheduler the standard Linux

Re: AW: AW: [chrony-users] chronyd: Can' Synchronize WHY ?

2011-09-09 Thread Bill Unruh
On Fri, 9 Sep 2011, thomas.sch...@ascom.com wrote: Hi Bill, Overlap A says that the time offset is 3ms plus or minus 1 ms. Ie, it says the time is between 2 and 4 ms out. B saus that the offset is -6ms plus or minus 2 ms, ie from -8 to -4 ms out. Which of the two is the system to use? Is the

Re: [chrony-users] How to plot statistics to show tracking accuracy?

2012-05-07 Thread Bill Unruh
On Mon, 7 May 2012, Ed W wrote: Hi, I'm getting very decent results with chrony and a usb gps. According to the statistics the std dev is around 1ms, which I might hope is slightly too high and that as low as 0.5ms is feasible? I think that this might indicate that we can do better

Re: [chrony-users] Starting Chronyd as online

2012-07-01 Thread Bill Unruh
On Mon, 2 Jul 2012, Paul Menzel wrote: Dear Chrony folks, is there a way to start Chronyd as online with an option? This would be helpful to simplify init.d scripts or service files not having to read the password from the key file and pass some commands to Chronyc. No idea what you mean

Re: [chrony-users] Starting Chronyd as online

2012-07-02 Thread Bill Unruh
On Mon, 2 Jul 2012, Paul Menzel wrote: Dear Bill, I am sorry for not being clear. Am Sonntag, den 01.07.2012, 22:55 -0700 schrieb Bill Unruh: On Mon, 2 Jul 2012, Paul Menzel wrote: is there a way to start Chronyd as online with an option? This would be helpful to simplify init.d

Re: [chrony-users] Starting Chronyd as online

2012-07-02 Thread Bill Unruh
On Sun, 1 Jul 2012, Bill Unruh wrote: On Mon, 2 Jul 2012, Paul Menzel wrote: Dear Bill, I am sorry for not being clear. Am Sonntag, den 01.07.2012, 22:55 -0700 schrieb Bill Unruh: > On Mon, 2 Jul 2012, Paul Menzel wrote: > > is there a way to start Chronyd as online with

Re: [chrony-users] Fatal error : adjtimex() failed

2012-08-20 Thread Bill Unruh
Sorry cannot say, but there is a manual adjtimex program under linux ( man 8 adjtimex) which you could try running and see if you get some error messages. Also the system call adjtimex sets errno, and you should be able to get more info out of it. I cannot remember if chrony actually reports

Re: [chrony-users] Fatal error : adjtimex() failed

2012-08-21 Thread Bill Unruh
On Mon, 20 Aug 2012, Tomalak Geret'kal wrote: On 20/08/2012 22:44, Bill Unruh wrote: On Mon, 20 Aug 2012, Tomalak Geret'kal wrote: > And when it *does* start up successfully, I find that after some time > (this varies, but on last observation was around ten minutes after > st

Re: [chrony-users] Fatal error : adjtimex() failed

2012-08-21 Thread Bill Unruh
On Tue, 21 Aug 2012, Tomalak Geret'kal wrote: On 21/08/2012 16:31, Bill Unruh wrote: On Mon, 20 Aug 2012, Tomalak Geret'kal wrote: > On 20/08/2012 22:44, Bill Unruh wrote: > > Hmm. How are you feeding the shm? The PPS source cannot give you the > > seconds. > >

Re: [chrony-users] Fatal error : adjtimex() failed

2012-08-21 Thread Bill Unruh
On Tue, 21 Aug 2012, Tomalak Geret'kal wrote: On 21/08/2012 19:35, Bill Unruh wrote: On Tue, 21 Aug 2012, Tomalak Geret'kal wrote: > On 21/08/2012 16:31, Bill Unruh wrote: > > > > The SHM is fed by a known-good process that works > > with ntpd and also > here &

Re: [chrony-users] /dev/rtc locked while chrony is running

2012-09-25 Thread Bill Unruh
On Tue, 25 Sep 2012, Wickham, Mark wrote: Hi, I am quite pleased with the capabilities of chrony and I find it to work well. From the documentation of rtcfile: 3. You don�t have other applications that need to make use of �/dev/rtc� at all. Is this still the situation? I would like to

Re: [chrony-users] RTC Trimming Issues

2012-10-30 Thread Bill Unruh
On Tue, 30 Oct 2012, john.flor...@dart.biz wrote: Ed W wrote on 10/29/2012 18:03:36: On 29/10/2012 21:01, john.flor...@dart.biz wrote: Any ideas how to get these RTCs to do the right thing and join us in this decade? Fun problem! I'm glad you think so and thank you

Re: [chrony-users] hostnames vs. IP address in chrony.conf

2012-10-30 Thread Bill Unruh
On Tue, 30 Oct 2012, john.flor...@dart.biz wrote: What strategy does chronyd use to resolve the hostnames to IP addresses for its upstream time servers? I'm guessing it does so once at startup and then caches the result for all future use. Is that correct? I had a number of systems I had to

Re: [chrony-users] hostnames vs. IP address in chrony.conf

2012-10-30 Thread Bill Unruh
On Tue, 30 Oct 2012, john.flor...@dart.biz wrote: Bill Unruh <un...@physics.ubc.ca> wrote on 10/30/2012 15:45:14: On Tue, 30 Oct 2012, Tomalak Geret'kal wrote: On 30/10/2012 19:21, Bill Unruh wrote: On Tue, 30 Oct 2012, Tomalak Geret'kal wrote: Could chronyd not be made

Re: [chrony-users] hostnames vs. IP address in chrony.conf

2012-10-30 Thread Bill Unruh
-keyed. Again this is not exactly a new problem so it should not be outside of chrony's capabilities. No other application has trouble with such a design as far as I'm aware. ntpd has similar problems. Tom - Reply message - From: "Bill Unruh" <un...@physics.ubc.ca> T

Re: [chrony-users] hostnames vs. IP address in chrony.conf

2012-10-31 Thread Bill Unruh
On Wed, 31 Oct 2012, Tomalak Geret'kal wrote: On 31/10/2012 10:12, Miroslav Lichvar wrote: On Tue, Oct 30, 2012 at 10:30:45PM +, Tomalak Geret'kal wrote: > I feel like we've been over this sufficiently to solve the problem. > Chrony could near-trivially poll the resolver when required

Re: [chrony-users] Any clock crystal experts here?

2012-11-05 Thread Bill Unruh
On Mon, 5 Nov 2012, Ed W wrote: Hi I have a pile of Alix boards that we use as part of a commercial use, but I thought I might use a couple for NTP duties. We already have some real machines in service as NTP internet facing servers, but they have other duties and are now loaded enough that

Re: [chrony-users] Interop with NTP version 1 and 4 clients

2013-02-19 Thread Bill Unruh
On Tue, 19 Feb 2013, Benny Lyne Amorsen wrote: Chrony is working very well as an NTP server (not a stratum 1 of Chrony works perfectly well as a stratum 1-- just use refclock of say a gps pps source. What version of chrony are you using? course). However, certain client requests get no

Re: [chrony-users] Interop with NTP version 1 and 4 clients

2013-02-19 Thread Bill Unruh
On Tue, 19 Feb 2013, Benny Lyne Amorsen wrote: tir, 19 02 2013 kl. 08:31 -0800, skrev Bill Unruh: On Tue, 19 Feb 2013, Benny Lyne Amorsen wrote: Chrony is working very well as an NTP server (not a stratum 1 of Chrony works perfectly well as a stratum 1-- just use refclock of say a gps pps

Re: [chrony-users] Interop with NTP version 1 and 4 clients

2013-02-20 Thread Bill Unruh
. 08:31 -0800, skrev Bill Unruh: On Tue, 19 Feb 2013, Benny Lyne Amorsen wrote: Chrony is working very well as an NTP server (not a stratum 1 of Chrony works perfectly well as a stratum 1-- just use refclock of say a gps pps source. I didn't realize that chrony had PPS support. Excellent

Re: [chrony-users] Chronyd not adjusting the board's time when trying to adjust with PC(running ntp) time

2013-03-16 Thread Bill Unruh
firstly you told chrony to put the source offline, which means it can never ever use it. SEcondly you told it to use the local source which is lunatic, since the system always uses the local source. (it is always in sync with itself). So get rid of the local stratum 10 and get rid of the

Re: [chrony-users] bug report: duplicate server addresses cause chronyd to core

2013-04-24 Thread Bill Unruh
You should not have duplicate servers in chrony.conf, but given that, chrony should not crash either. Your analysis sounds reasonable. On Wed, 24 Apr 2013, victor lum wrote: Hello, I don't know if this bug has already been filed, or if this is improper place to report it. If this is improper

Re: [chrony-users] Discover when a time sync has been performed

2013-07-04 Thread Bill Unruh
the RPi will be out by years anyway. 2013/7/4 Bill Unruh <un...@physics.ubc.ca> On Thu, 4 Jul 2013, Ignacio Verona R�os wrote: Hi Bill, yes, the rapspi is sometimes powered-off, specially now while I'm testing the software. No process other than chrony is modifying the time, and som

Re: [chrony-users] Discover when a time sync has been performed

2013-07-04 Thread Bill Unruh
What makestep? The offset is always within a millisecond of the right time. There is no need for any step anywhere in the file. Not sure what you are expecting? On Thu, 4 Jul 2013, Ignacio Verona R�os wrote: Hi Miroslav, thanks for your answer. It partially solves my question, but I'm not

Re: [chrony-users] Discover when a time sync has been performed

2013-07-04 Thread Bill Unruh
On Thu, 4 Jul 2013, Ignacio Verona R�os wrote: Hi all! First of all, say hello and thanks to the team for developing great software like Chrony :) My question is about checking when a time sync has been performed. I'm developing an application where time sync is important. It's running on a

Re: [chrony-users] High skew values

2013-07-24 Thread Bill Unruh
On Wed, 24 Jul 2013, Arnon Weinberg wrote: On 2013-07-24 09:17, Bill Unruh wrote: Are you running chrony on a virtual machine? Indeed (a "cloud" server). Any suggestions? I'm having a hard time finding The problem is that such virtual servers do not keep good time. The idea

Re: [chrony-users] High skew values

2013-07-26 Thread Bill Unruh
On Fri, 26 Jul 2013, Arnon Weinberg wrote: Thanks Bill for taking the time to reply. On 2013-07-24 17:53, Bill Unruh wrote: have the virtual server get its time from that underlying system. This does sound like a good idea, but does chrony have a feature for doing this? Or any other

Re: [chrony-users] High skew values

2013-07-27 Thread Bill Unruh
On Sat, 27 Jul 2013, Arnon Weinberg wrote: This is now solved (see below). Acrually you did not tell us how you solved it. Or was it just yelling at the provider to they put you onto a better virtual machine. On 2013-07-26 18:59, Bill Unruh wrote: IF you can figure out what the "av

Re: [chrony-users] Query regarding "Broadcasting of NTP packets on LAN"

2013-08-15 Thread Bill Unruh
On Thu, 15 Aug 2013, Ajay Garg wrote: Hi all. First, let's me detail the use-case :) ## USE CASE BEGINNING ## We have a server, S1, which has two interfaces, I1 and I2. I1 is the gateway to the internet, while I2 is exposed to a LAN. Thus, installing "chrony" on S1, and then starting

Re: [chrony-users] Query regarding "Broadcasting of NTP packets on LAN"

2013-08-15 Thread Bill Unruh
On Thu, 15 Aug 2013, Ajay Garg wrote: On Thu, Aug 15, 2013 at 7:24 PM, Bill Unruh <un...@physics.ubc.ca> wrote: On Thu, 15 Aug 2013, Ajay Garg wrote: Hi all. First, let's me detail the use-case :) ## USE CASE BEGINNING ## We have a server, S1, which has two interfaces, I1 and

Re: [chrony-users] Query regarding "chronyd failing spuriously"

2013-08-15 Thread Bill Unruh
yway, then post the contents of /var/log/chrony/measurements.log here so we can see what is happening. Also post your full chrony.conf Based upon your answer, I "could probably" be in a state to do more rigorous testing. Thanks again for all the help ! On Thu, Aug 15, 2013 a

Re: [chrony-users] Query regarding "chronyd failing spuriously"

2013-08-16 Thread Bill Unruh
the "chronyd" service. Having a knowledge of the theoritical-expected-results in the above cases, will help me a great deal narrowing down my debuggings, as per the procedures suggested by you guys. Thanks again, for the quick replies, and persevering with me :) On Thu, Aug 15, 2013

Re: [chrony-users] chronyd pb

2013-10-09 Thread Bill Unruh
On Wed, 9 Oct 2013, Fran�ois Dagorn wrote: Hello all, on some Linux boxes, chronyd does not set the time properly. It seems to consider that the time returned by the nntp server is UTC but it is not true. The following is the measurment log The time returned by and ntp server is always UTC.

Re: [chrony-users] kernel PPS troubleshooting

2013-11-25 Thread Bill Unruh
On Mon, 25 Nov 2013, Battocchi, Scott L. wrote: Hi, I'm very new to chrony and am trying to do something that I believe to be supported. I am trying to sync our system to two local GPS receivers depending on whether one or both of them have a fix, with a preference for the higher priced

RE: [chrony-users] kernel PPS troubleshooting

2013-11-26 Thread Bill Unruh
The pps can only give you when the second turnover occurs, it cannot tell you which second that is. That MUST be given by some other time source, which could be the nmea sentences from the gps or by some other source. The problem with the nmea is that it is usually late. Late by something like .5

Re: [chrony-users] kernel PPS troubleshooting

2013-11-28 Thread Bill Unruh
On Thu, 28 Nov 2013, Miroslav Lichvar wrote: On Wed, Nov 27, 2013 at 04:06:58PM -0500, Battocchi, Scott L. wrote: I ran the GPS while connected to a handful of ntp servers and saw that my gps offset (originally 0.180) was too low, so I bumped it up to 0.530 for the next two tests. I've

Re: [chrony-users] kernel PPS troubleshooting

2013-11-28 Thread Bill Unruh
8 Nov 2013, Tomalak Geret'kal wrote: On 28/11/2013 20:05, Bill Unruh wrote: On Thu, 28 Nov 2013, Tomalak Geret'kal wrote: > On 28/11/2013 19:11, Bill Unruh wrote: > > Is this the nmea time or the PPS time? > > What is "PPS time"? PPS provides timing, not time. In

Re: [chrony-users] kernel PPS troubleshooting

2013-11-29 Thread Bill Unruh
On Fri, 29 Nov 2013, Bill Unruh wrote: On Fri, 29 Nov 2013, Miroslav Lichvar wrote: > The problem in his case is that the PPS signal is occasionally > (but far too often) off by almost .3 sec. That is rediculous. And it is > only > when the gps-nmea and the PPS are the

RE: [chrony-users] kernel PPS troubleshooting

2013-12-02 Thread Bill Unruh
;lose lock" has happened. Ie, even with a sporadically working PPS, you should be able to get the computer time to within a second by say gps, and then forget about it. -----Original Message- From: Bill Unruh [mailto:un...@physics.ubc.ca] Sent: Monday, December 02, 2013 1:56

Re: [chrony-users] kernel PPS troubleshooting

2013-12-11 Thread Bill Unruh
On Wed, 11 Dec 2013, Miroslav Lichvar wrote: On Tue, Dec 10, 2013 at 08:29:25PM -0500, Battocchi, Scott L. wrote: I've attached the tracking, measurements, refclocks, and sources logs trimmed to start at the 2.35 hour mark (to coincide with the graph colored by sync source in my previous

Re: [chrony-users] Isolated time domains

2013-12-02 Thread Bill Unruh
On Tue, 3 Dec 2013, Tomalak Geret'kal wrote: On 03/12/2013 01:29, Bill Unruh wrote: [snip] I concede all of that. Though, once you have figured out what you want to happen, it's still worth testing. Agreed. But becareful of your tests as well. The UBC cosmic microwave background group

Re: [chrony-users] Isolated time domains

2013-12-04 Thread Bill Unruh
On Wed, 4 Dec 2013, Miroslav Lichvar wrote: On Tue, Dec 03, 2013 at 10:43:09AM -0800, Bill Unruh wrote: On Tue, 3 Dec 2013, Miroslav Lichvar wrote: I think a better solution to this problem would be an approach similar to the Google's NTP leap second smearing. The jump in time is smeared

RE: [chrony-users] Isolated time domains

2013-12-05 Thread Bill Unruh
On Thu, 5 Dec 2013, Chris Dore wrote: On Thu, Dec 5 2013, Bill Unruh wrote: Eg, he says that he wants to keep all of the computers to within 1 sec. But what happens if one of the clients suddenlyfinds itself 3 hours out? Are all of the other clients then supposed to go out as well to keep

RE: [chrony-users] Isolated time domains

2013-12-06 Thread Bill Unruh
On Fri, 6 Dec 2013, Chris Dore wrote: On Fri, Dec 6 2013, Miroslav Lichvar wrote: On Thu, Dec 05, 2013 at 11:39:17PM +, Chris Dore wrote: As an experiment, I've got two instances of chronyd running on a server. One instance is sourcing the external ntp servers and taking care of the

Re: [chrony-users] Isolated time domains

2013-12-06 Thread Bill Unruh
On Fri, 6 Dec 2013, Miroslav Lichvar wrote: On Thu, Dec 05, 2013 at 10:34:22AM -0800, Bill Unruh wrote: On Thu, 5 Dec 2013, Miroslav Lichvar wrote: In this example I think clients running chronyd would stay together within 1 second during whole operation even with 1024s polling interval

Re: [chrony-users] Run chrony without acting as a NTP server

2014-01-08 Thread Bill Unruh
On Wed, 8 Jan 2014, wilhelm schuster wrote: Hi, I only recently switched from openntpd to chrony because it failed to set the clock correctly on my system and isn't maintained anymore for linux. I want to run chrony just as an "client" to sync the clock on the computer it's running on. My

Re: [chrony-users] Run chrony without acting as a NTP server

2014-01-08 Thread Bill Unruh
On Wed, 8 Jan 2014, wilhelm schuster wrote: On Wed, Jan 8, 2014 at 7:56 PM, Bill Unruh <un...@physics.ubc.ca> wrote: Why does it matter? Anyway, look at the deny command. deny all Thank you for the tip. An open port does not mean anything except to tell the system "If some

Re: [chrony-users] looking for the options list for chrony.conf

2014-01-27 Thread Bill Unruh
On Mon, 27 Jan 2014, Pat Riehecky wrote: I was thinking about writing up an Augeas lense for chrony.conf, but can't seem to find a good resource for the configuration syntax/options list/valid option arguments/etc No idea what an Augeas lense is but the documentation for chrony is in the

Re: [chrony-users] Fallback clock on event "Can't synchronise: no reachable sources"

2014-02-18 Thread Bill Unruh
On Tue, 18 Feb 2014, Ulrich Schwesinger wrote: The system waits for a poll interval before polling. If you poll interval is 10, that is 20 min. (approx) Hi, I finally could get the tracking logs from the computer with one of the events in there, where the server is not reachable. Would be

Re: [chrony-users] Fallback clock on event "Can't synchronise: no reachable sources"

2014-02-07 Thread Bill Unruh
On Fri, 7 Feb 2014, Ulrich Schwesinger wrote: Hi, I am a regular chrony user and I have a question related to the behavior of chrony in the case of the event: "Can't synchronise: no reachable sources". chrony rev.: 1.29 I have a system with a write protected system partition and an NTP

Re: [chrony-users] Control when the driftfile is written

2014-02-20 Thread Bill Unruh
On Thu, 20 Feb 2014, aobr...@greenseainc.com wrote: Quoting Bill Unruh <un...@physics.ubc.ca>: On Thu, 20 Feb 2014, Andrew O'Brien wrote: > Hello list, > > I'm interested in running chrony on an embedded device where the > filesystem is normally mounted read only.  M

Re: [chrony-users] Large corrections with no network connectivity

2014-04-22 Thread Bill Unruh
William G. Unruh | Canadian Institute for| Tel: +1(604)822-3273 Physics | Advanced Research | Fax: +1(604)822-5324 UBC, Vancouver,BC | Program in Cosmology | un...@physics.ubc.ca Canada V6T 1Z1 | and Gravity | www.theory.physics.ubc.ca/ On Tue, 22 Apr

Re: [chrony-users] Modifying system date and syncing back

2014-04-26 Thread Bill Unruh
. But this kind of mashing the dates is really not a good idea, and it would not surprise me if it did not cause other problems I cannot think of now. On Sat, Apr 26, 2014 at 9:03 PM, Bill Unruh <un...@physics.ubc.ca> wrote: On Sat, 26 Apr 2014, mallapadi niranjan

Re: [chrony-users] Does Chronyd update the hardware clock?

2014-06-11 Thread Bill Unruh
On Tue, 10 Jun 2014, Joe M wrote: Hello Bill, Thank you for your quick and detailed reply. I am trying to figure out if Chronyd updates the hardware clock. It can (writertc is the command in chronyc) but in general it does not. It measures the time and rate of the hardware clock in order

Re: [chrony-users] Chrony Accuracy

2014-08-13 Thread Bill Unruh
William G. Unruh | Canadian Institute for| Tel: +1(604)822-3273 Physics | Advanced Research | Fax: +1(604)822-5324 UBC, Vancouver,BC | Program in Cosmology | un...@physics.ubc.ca Canada V6T 1Z1 | and Gravity | www.theory.physics.ubc.ca/ On Tue, 12 Aug

Re: [chrony-users] GPS + PPS

2014-10-26 Thread Bill Unruh
On Sun, 26 Oct 2014, Dominik Auras wrote: Hi, thanks. Chrony selects the PPS source now, but I observe a large offset of the system time. The offset to the PPS clock is nearly zero, as expected. But the system time is offset by >2000s to the NMEA and NTP time (I won't have internet access

Re: [chrony-users] Automotive usage of chronyd

2015-04-04 Thread Bill Unruh
On Sat, 4 Apr 2015, Bill Unruh wrote: On Sat, 4 Apr 2015, Olivier Delbeke wrote: I made a first test in a near worst-case scenario : system without RTC and without network, but with only a USB GPS sensor (without PPS). Time/date after boot is Jan 1, 1970, 00:00:00. I send

Re: [chrony-users] Automotive usage of chronyd

2015-04-05 Thread Bill Unruh
just look at how chronyc does that. Happy Easter, Olivier On Sat, Apr 4, 2015 at 8:36 PM, Bill Unruh <un...@physics.ubc.ca> wrote: On Sat, 4 Apr 2015, Bill Unruh wrote: On Sat, 4 Apr 2015, Olivier Delbeke wrote: I made a first test in a near w

Re: [chrony-users] "^~" on the sources : "source appears to have too much variability"

2015-06-20 Thread Bill Unruh
On Fri, 19 Jun 2015, Antoine Demirdjian wrote: Hi, the minpoll/maxpoll hasn't solved the issue, but the upgrade has, it's working fine now. I've just a question : does the fact that reducing the polling interval (e.g minpoll/maxpoll 4 for example) makes the synchonization better? It might

Re: [chrony-users] Fwd: Chrony malfunctioning at beaglebones

2015-10-05 Thread Bill Unruh
On Mon, 5 Oct 2015, Miroslav Lichvar wrote: On Fri, Oct 02, 2015 at 02:13:38PM +0100, Nuno Gonçalves wrote: For the typical case, if the user have Chrony installed, does he really want to be able to manually adjust the RTC, at least for a big backward change? If not, why simply not disregard

Re: [chrony-users] Chrony setup using RTC as fallback

2015-11-17 Thread Bill Unruh
William G. Unruh | Canadian Institute for| Tel: +1(604)822-3273 Physics | Advanced Research | Fax: +1(604)822-5324 UBC, Vancouver,BC | Program in Cosmology | un...@physics.ubc.ca Canada V6T 1Z1 | and Gravity | www.theory.physics.ubc.ca/ On Wed, 18 Nov

Re: [chrony-users] Chrony setup using RTC as fallback

2015-11-18 Thread Bill Unruh
Unfortunately something is seriously wrong: I get consistently "506 Cannot talk to daemon" to each and all chronyc commands I try (while being root). Check that the chronyc and chronyd are the same versions. Chronyd *is* running: / # ps ax | grep chro 510 root chronyd -r -s 602

Re: [chrony-users] Chrony setup using RTC as fallback

2015-11-18 Thread Bill Unruh
On Thu, 19 Nov 2015, Mauro Condarelli wrote: Hi Bill, comments inline below. Il 18/11/2015 21:04, Bill Unruh ha scritto: On Wed, 18 Nov 2015, Mauro Condarelli wrote: Thanks Bill, comments inline below. Il 18/11/2015 20:40, Bill Unruh ha scritto: Unfortunately something is seriously

Re: [chrony-users] Chrony setup using RTC as fallback

2015-11-18 Thread Bill Unruh
maxupdateskew 100.0 dumponexit dumpdir /var/lib/chrony rtconutc rtcautotrim 1 rtcfile /var/lib/chrony/rtc #bindcmdaddress /var/run/chronyd.sock / # What am I doing wrong? Il 19/11/2015 00:31, Bill Unruh ha scritto: On Thu, 19 Nov 2015, Mauro Condarelli wrote: Hi Bill, comments inline below. Il 18

Re: [chrony-users] Chrony setup using RTC as fallback

2015-11-18 Thread Bill Unruh
. Tomorrow I will test in various conditions (net on/off, RTC on valid/invalid date, etc.) now is way too late. g'night and Thanks. Mauro Il 19/11/2015 01:16, Bill Unruh ha scritto: sorry, my mistype. It is -a not -e chronyc -a online the -a tells chronyc to automatically read the password file

Re: [chrony-users] Chrony setup using RTC as fallback

2015-11-18 Thread Bill Unruh
-5324 UBC, Vancouver,BC | Program in Cosmology | un...@physics.ubc.ca Canada V6T 1Z1 | and Gravity | www.theory.physics.ubc.ca/ On Wed, 18 Nov 2015, Mauro Condarelli wrote: Thanks Bill, comments inline below. Il 18/11/2015 20:40, Bill Unruh ha scritto: Unfortunately

Re: [chrony-users] What's changed in chrony-2.2?

2015-11-22 Thread Bill Unruh
On Sun, 22 Nov 2015, Peter Humphrey wrote: Hi, I've been running chrony for many years with ne'er a problem, but now I have one. My two main machines are an i5 workstation and an Atom mini-server, both running Gentoo stable. This week chrony was updated from 2.1.1 to 2.2, and now it won't

RE: [chrony-users] Multiple interfaces is possible?

2016-05-12 Thread Bill Unruh
On Wed, 11 May 2016, Jahagirdar, Bhushan wrote: Hi Miroslav, Thanks for the reply. My second question about limiting samples is nothing to do with the bug. Question <1> Let me put the question in other way. chronyd accepts "n" number of samples before it actually updates the time. How can

Re: [chrony-users] Best way to force clock step at shutdown

2016-01-12 Thread Bill Unruh
William G. Unruh | Canadian Institute for| Tel: +1(604)822-3273 Physics | Advanced Research | Fax: +1(604)822-5324 UBC, Vancouver,BC | Program in Cosmology | un...@physics.ubc.ca Canada V6T 1Z1 | and Gravity | www.theory.physics.ubc.ca/ On Tue, 12 Jan

Re: [chrony-users] Setting up Chrony with PPS

2016-02-18 Thread Bill Unruh
On Thu, 18 Feb 2016, Deven Hickingbotham wrote: On 2/18/2016 4:12 PM, Bryan Christianson wrote: OK _ are you stopping gpsd, restarting chronyd then restarting gpsd? Order matters (well it used to anyway) Yes, I did that. No change in the chronyc sources output. GPS apps like cgps -s work.

Re: [chrony-users] Setting up Chrony with PPS

2016-02-18 Thread Bill Unruh
William G. Unruh | Canadian Institute for| Tel: +1(604)822-3273 Physics | Advanced Research | Fax: +1(604)822-5324 UBC, Vancouver,BC | Program in Cosmology | un...@physics.ubc.ca Canada V6T 1Z1 | and Gravity | www.theory.physics.ubc.ca/ On Thu, 18 Feb

Re: [chrony-users] Setting up Chrony with PPS

2016-02-18 Thread Bill Unruh
2016, Deven Hickingbotham wrote: On 2/18/2016 6:57 PM, Bill Unruh wrote: Is this more in line with what you expected? Nope. Those are huge uncertainties for network timing. 134ms uncertainty corresponds to light travel time around the earth uncertainty. I would expect more like +- 100

Re: [chrony-users] Setting up Chrony with PPS

2016-02-18 Thread Bill Unruh
William G. Unruh | Canadian Institute for| Tel: +1(604)822-3273 Physics | Advanced Research | Fax: +1(604)822-5324 UBC, Vancouver,BC | Program in Cosmology | un...@physics.ubc.ca Canada V6T 1Z1 | and Gravity | www.theory.physics.ubc.ca/ On Thu, 18 Feb

Re: [chrony-users] Setting up Chrony with PPS

2016-04-11 Thread Bill Unruh
On Mon, 11 Apr 2016, Deven Hickingbotham wrote: On 4/11/2016 2:26 PM, Bill Unruh wrote: So please tell us what it is you are trying to do that makes you think you want more frequency updates. The faster update rate is not to get GPS time more frequently, but to get GPS location data more

Re: [chrony-users] Setting up Chrony with PPS

2016-04-12 Thread Bill Unruh
On Tue, 12 Apr 2016, Deven Hickingbotham wrote: On 4/11/2016 10:41 PM, Miroslav Lichvar wrote: That probably depends on the FW of the GPS. If with one update per second the NMEA messages were only 0.1 second late, with 10 updates per second that delay wouldn't have to change, it would still

Re: [chrony-users] Chrony source selection algorithm documentation

2016-03-10 Thread Bill Unruh
In the chrony docs, if you start chrony with the -s option and there is no rtc file, then it will use the time on the drift file to set the system clock, This sure should not be out by years but may be by hours. Your gps should not be giving you times out by years. On Thu, 10 Mar 2016, Henrik

Re: [chrony-users] Newbie requesting help

2016-03-21 Thread Bill Unruh
On Mon, 21 Mar 2016, Stuart Maclean wrote: I have a reference clock onboard an embedded system running a legacy Linux 2.6.10. That kernel has no 'Linux PPS' support, nor have I yet looked into patching it in. My clock, call it C, outputs a 'seconds since epoch' counter over a serial line

Re: [chrony-users] Newbie requesting help

2016-03-21 Thread Bill Unruh
2016, Stuart Maclean wrote: Thanks for the info Bill. I am not sure I understand all of it, so I'll annotate... On 03/21/2016 02:39 PM, Bill Unruh wrote: Not sure why you want to do it this way. You say that you can use an interrupt. Have that interrupt read the system clock and output

Re: [chrony-users] Chrony malfunction under ARM/Buildroot

2016-04-14 Thread Bill Unruh
2016, Mauro Condarelli wrote: Thanks Bill, comments inline below. Il 14/04/2016 21:08, Bill Unruh ha scritto: On Thu, 14 Apr 2016, Mauro Condarelli wrote: Hi, I'm having major problems using Chrony in an embedded system sporting an oldish Atmel AT91SAM9G25. I am using chrony-2.3 compiled

Re: [chrony-users] Reference ID

2016-05-27 Thread Bill Unruh
On Sat, 28 May 2016, Bryan Christianson wrote: I recently installed an IPv6 network on my lan. When crony syncs to a server using IPv6 it extracts some bits from the IPv6 address of the server and then displays them in the Reference ID as an IPv4 address which bears no relationship to any

Re: [chrony-users] Reference ID

2016-05-30 Thread Bill Unruh
Maybe for chrony 2.5 (I think its probably too late for 2.4) the chronyc tracking display should carry a warning that the first field is not an IP address and that the format will change in the future. The change could then be made in chrony 2.6. Do you really want an extra paragraph of

Re: [chrony-users] Not getting time from gpsd

2016-08-06 Thread Bill Unruh
Is there anything in /var/log/chrony/refclock. Make sure that you have logdir /var/log/chrony log refclock (the dots are for other things you might want to log. Measurements would be the next one I would choose.) restart chrony and then look in /var/log/chrony/refclock to see what, if

Re: [chrony-users] Not getting time from gpsd

2016-08-06 Thread Bill Unruh
OOps, that is log refclocks ... and look in /var/log/chrony/refclocks.log Sorry. William G. Unruh __| Canadian Institute for| Tel: +1(604)822-3273 Physics _|___ Advanced Research _| Fax: +1(604)822-5324 UBC, Vancouver,BC _|_ Program in Cosmology | un...@physics.ubc.ca Canada V6T

Re: [chrony-users] Not getting time from gpsd

2016-08-06 Thread Bill Unruh
shm should also work. Question is if they are reading the same shm location. William G. Unruh __| Canadian Institute for| Tel: +1(604)822-3273 Physics _|___ Advanced Research _| Fax: +1(604)822-5324 UBC, Vancouver,BC _|_ Program in Cosmology | un...@physics.ubc.ca Canada V6T 1Z1

Re: [chrony-users] Not getting time from gpsd

2016-08-09 Thread Bill Unruh
So GPS is what the system is using to set the time. clockb.ntpis.org is not responding at all. The other three have responded three times, and have not been queried again during the very brief time you have make these tests. They claim that your system time is out by about 60-70ms so you might

  1   2   3   4   >