[chrony-users] Using Chrony with a DS3231 RTC without RTC_UIE_ON

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


Hi,

I'm using chrony version 3.5 (latest available) on Ubuntu 20.04 on my RPi4 and Chrony refuses to use my DS3231 RTC, but hwclock on the other hand can use it just fine, maybe someone here has any ideas how to get it working?

I ran chronyd with strace and this is displayed about the RTC:

openat(AT_FDCWD, "/dev/rtc0", O_RDWR)   = 4 
ioctl(4, RTC_UIE_ON)                    = -1 EINVAL (Invalid argument)

In the logs, it says only this:

chronyd[613922]: Could not enable RTC interrupt : Invalid argument

Just for reference, similar issues have been discussed before related to other ARM boards and hwclock here:
https://archlinuxarm.org/forum/viewtopic.php?f=57&t=12222
https://github.com/karelzak/util-linux/issues/543



Patiently waiting for reply,
Avamander


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