On Fri, Dec 6, 2019 at 7:19 PM Vincent Blut <vincent.deb...@free.fr> wrote:

> On 2019-12-06T16:55+0100, Vincent Blut wrote:
> >On 2019-12-06T10:21+0100, Christian Ehrhardt wrote:
> >>Hi chrony-dev,
> >>chrony is tested in Debian/Ubuntu on any update of related packages
> >>and while that was running I found that arm64 and ppc64 reproducibly
> >>hang [1][2]. OTOH arm64 and s390x reproducibly work.
> >
> >By the way, I just gave it a shot on an arm64 VM and the rtc test
> >passed flawlessly. Note that this VM is powered by Linux 4.19.x.
> >I will soon run that test with a more recent kernel.
>
> I still can’t reproduce the issue on an updated Debian unstable arm64 VM:
>

My manual testing was on ppc64el, I only knew arm64 was affected from the
runs at autopkgtest.ubuntu.com.
Since you tried arm64 first I spun up a VM myself.

The ppc64 system had 5.2.0-8-generic, this one now has 5.3.0-24-generic.
I ran it again against the chrony master tarball with just the minimal
setting I mentioned before:

$ cat ~/chronyd.conf
rtcfile /root/rtcfile
$ cat /root/rtcfile
1 1575623140 0.0 0.0
# ./chronyd -f /root/chronyd.conf -s -d
2019-12-09T10:58:13Z chronyd version DEVELOPMENT starting (+CMDMON +NTP
+REFCLOCK +RTC +PRIVDROP -SCFILTER -SIGND +ASYNCDNS +SECHASH +IPV6 -DEBUG)
2019-12-09T10:58:14Z System time set from RTC
2019-12-09T10:58:14Z Initial frequency -10.245 ppm
2019-12-09T10:58:14Z Could not enable RTC interrupt : Invalid argument
<hang>

All other symptoms (e.g. the defunct proc if running without -d and so on)
are the same on this arm64 system.

Just to check a bit of the rtc-config on those VMs between our cases:
# ll /dev/rtc*
lrwxrwxrwx 1 root root      4 Dec  9 10:42 /dev/rtc -> rtc0
crw------- 1 root root 248, 0 Dec  9 10:42 /dev/rtc0
# dmesg | grep rtc
[    0.905564] rtc-efi rtc-efi: registered as rtc0
[    1.082957] rtc-efi rtc-efi: setting system clock to 2019-12-09T10:41:00
UTC (1575888060)


$ uname -a
> Linux debian-arm64 5.3.0-2-arm64 #1 SMP Debian 5.3.9-3 (2019-11-19)
> aarch64 GNU/Linux
>
> $ sudo ./run -d 101-rtc
> 101-rtc   Testing real-time clock:
>   non-default settings:
>     extra_chronyd_directives=rtcfile
> /home/guest/chrony-3.5/test/system/tmp/rtcfile
>         extra_chronyd_options=-s
>         minimal_config=1
>   starting chronyd                                              OK
>   stopping chronyd                                              OK
>   checking message "\(clock off from RTC\|RTC time before last\)"       OK
> PASS
>
> I haven't had the opportunity to test this on ppc64el yet.
>


-- 
Christian Ehrhardt
Staff Engineer, Ubuntu Server
Canonical Ltd

Reply via email to