Re: Chrony rtc broken?
* John Hasler <john@dhh.gt.org> wrote:
> Could someone who is running chrony 1.20 please test the rtc commands for
> me? You'll need 'Enhanced Real-time Clock Support' in the kernel and will
> need to uncomment the rtcfile line in /etc/chrony/chrony.conf. Posting the
> output of the rtcdata command in chronyc would suffice.
And here are my two outputs:
,----[ A woody box with a backported chrony ]
| [17:34][marcus@iridium:~]$ uname -r
| 2.4.23
|
| [17:35][marcus@iridium:~]$ grep CONFIG_RTC /usr/src/linux/.config
| CONFIG_RTC=m
|
| [17:36][marcus@iridium:~]$ dpkg -l chrony | grep ^ii
| ii chrony 1.20-1.mf1
|
| [17:37]iridium:/home/marcus# grep rtc /etc/chrony/chrony.conf
| rtcfile /var/lib/chrony/chrony.rtc
| log tracking measurements statistics rtc
| rtconutc
|
| [17:37][marcus@iridium:~]$ chronyc rtcdata
| RTC ref time (UTC) : Sat Dec 13 16:34:39 2003
| Number of samples : 14
| Number of runs : 7
| Sample span period : 22m
| RTC is fast by : 0.090088 seconds
| RTC gains time at : 5.033 ppm
`----
,----[ A sid box with chrony ]
| [17:38][marcus@xenon:~]$ uname -r
| 2.4.22
|
| [17:38][marcus@xenon:~]$ grep CONFIG_RTC /usr/src/linux/.config
| CONFIG_RTC=m
|
| [17:39][marcus@xenon:~]$ dpkg -l chrony | grep ^ii
| ii chrony 1.20-1
|
| [17:39]xenon:/home/marcus# grep rtc /etc/chrony/chrony.conf
| rtcfile /var/lib/chrony/chrony.rtc
|
| [17:40][marcus@xenon:~]$ chronyc rtcdata
| RTC ref time (UTC) : Thu Jan 1 00:00:00 1970
| Number of samples : 0
| Number of runs : 0
| Sample span period : 0
| RTC is fast by : 0.000000 seconds
| RTC gains time at : 0.000 ppm
`----
Regards,
Marcus
--
"Tuba cum sonuerit dies erit extrema
et iudex advenerit vocabit sempiterna
electos in patria
prescitos ad inferna."
Reply to: