Re: [chrony-users] Fwd: Chrony malfunctioning at beaglebones |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx, mlichvar@xxxxxxxxxx
- Subject: Re: [chrony-users] Fwd: Chrony malfunctioning at beaglebones
- From: Nuno Gonçalves <nunojpg@xxxxxxxxx>
- Date: Sat, 5 Sep 2015 21:32:46 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=G+z/QW5jBRqY6Ml5cXDPXbzbv1AbEqJjV9EChaC9r4A=; b=sglYkumjxvjvzJ/iT+w0V6pkxvcuPREgJnQUkVYw6WEulrtKpBXE2cN6nFKYtvJk9t FxtAwmhqEDvkNk7edo6KgBUokiQlYNrp6xWTdSsaqFT0FT+jxzZWQqh45gUJXgG0XcOg wOcnSxuBy1GzE+NGesxOHjpnQ80g3/XyGzDF6nGZxrxhAZt1dtt9GMQT/EQv1HZAYEzc FNSBmyPj1EKP9B/nibi1SUF3DKcaNWm0a1WlSakj94dERCFNQxBTy8tfTL/DC/88Skb5 HA7AzkrCAjbYNJO58AOhu76OuzMD4ozKxfJCK+1Ztd9GCMToungF842Ez7MWn2lDr4+I fG4A==
Regarding this thread issue, it was indeed a kernel problem that has
been tracked down by now:
https://lkml.org/lkml/2015/9/4/740
https://lkml.org/lkml/2015/9/4/759
On Tue, Aug 18, 2015 at 10:07 AM, Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
> The -s option can be useful for that. When there is no RTC, it will
> set the time from the modification time of the driftfile so the time
> at least will stay monotonic across reboot.
I am having difficulties using this -s option to restore time to
chrony.drift write time.
debian@radarcape-black:~$ ls -la /var/lib/chrony/chrony.drift
-rw-r--r-- 1 root root 42 Sep 5 2015 /var/lib/chrony/chrony.drift
debian@radarcape-black:~$ sudo /usr/local/sbin/chronyd -d -s
2000-01-01T00:03:33Z chronyd version 2.1.1 starting (+CMDMON +NTP
+REFCLOCK +RTC -PRIVDROP -DEBUG +ASYNCDNS +IPV6 -SECHASH)
2000-01-01T00:03:33Z Frequency 49.334 +/- 0.011 ppm read from
/var/lib/chrony/chrony.drift
^C2000-01-01T00:03:36Z chronyd exiting
debian@radarcape-black:~$ date
Sat Jan 1 00:03:37 UTC 2000
Maybe this feature also requires some settings at the configuration
file like "rtcfile"? I've read the documentation and it is not clear.
Thanks,
Nuno
--
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.