Date: Tue, 14 Nov 2017 14:50:38 -0800 From: Mark Millard <markmi@dsl-only.net> To: Andreas Schwarz <freebsd.asc@strcmp.org> Cc: freebsd-arm@FreeBSD.org, ian@freebsd.org Subject: Re: PINE64 - 12.0-CURRENT r324563 - ntpd can't keep time Message-ID: <4AB259A5-F00A-408F-968A-26AD8D776708@dsl-only.net> In-Reply-To: <4aff37249b6.70779c93@mail.schwarzes.net> References: <d85f883f-84c2-5051-1996-2a0e73a2c1e7@restart.be> <4BF75B1E-318C-414A-B5D4-4BA7D6578316@dsl-only.net> <1509029871.56824.49.camel@freebsd.org> <c2bff518-89ce-4956-2548-e56afab5d83d@restart.be> <4af740148ca.47a474e3@mail.schwarzes.net> <04b67007-a95a-9e40-28b4-764adf8b2ded@restart.be> <FCA144E8-121A-48A5-8CDB-101FBDE6E84C@dsl-only.net> <dceb4702-8ede-aadd-17d8-ed41436955ad@restart.be> <4aff37249b6.70779c93@mail.schwarzes.net>
index | next in thread | previous in thread | raw e-mail
[FYI: my sysctl dev.ctl.0 is not like Andreas showed.] On 2017-Nov-14, at 2:03 PM, Andreas Schwarz <freebsd.asc@strcmp.org> wrote: > On 14.11.17, Henri Hennebert wrote: >> On 11/13/2017 21:03, Mark Millard wrote: >>> >>> So it looks like you are getting bad times from at >>> least 2 servers. Note that the other servers seem >>> fine as far as your e-mailed material goes. >> >> I believe that the clock of the Pine64+ is going too fast and that the 2 >> servers where polled and so show this offset/jitter. In an other >> occurrence of this problem, if I wait long enough, all servers display >> huge offset. > > But they step not simultaneous to this offset (which is ~300s), why should some > servers have such offset and others not?. > > Can you provide your "ntpq -c rl" output? > > If you disable the ntpd, what time drift do you measure per day? > >> In a old version of Freebsd12, when dev.cpu.0.freq was accessible, the >> problem appear when I force the frequency to 1200. > > > The dev.cpu.0.freq is already there in head/current. > > root@pinelot:~ # sysctl dev.cpu.0 > dev.cpu.0.freq_levels: 1200/-1 1008/-1 816/-1 648/-1 408/-1 > dev.cpu.0.freq: 408 > dev.cpu.0.%parent: cpulist0 > dev.cpu.0.%pnpinfo: name=cpu@0 compat=arm,cortex-a53 > dev.cpu.0.%location: > dev.cpu.0.%driver: cpu > dev.cpu.0.%desc: Open Firmware CPU > > root@pinelot:~ # uname -v > FreeBSD 12.0-CURRENT #0 r325561: Thu Nov 9 11:24:55 CET 2017 root@pinelot.schwarzes.net:/usr/obj/usr/src/arm64.aarch64/sys/PINE64-ASC I'm not the one with the clock problem but I'll note that the -r325700 Pine64+ 2GB with a production-style kernel (not debug) that I'm using has rather different dev.cpu.0 output from sysctl as far as "freq" goes (no such): # uname -apKU FreeBSD pine64 12.0-CURRENT FreeBSD 12.0-CURRENT r325700M arm64 aarch64 1200053 1200053 # sysctl dev.cpu.0 dev.cpu.0.%parent: cpulist0 dev.cpu.0.%pnpinfo: name=cpu@0 compat=arm,cortex-a53 dev.cpu.0.%location: dev.cpu.0.%driver: cpu dev.cpu.0.%desc: Open Firmware CPU Looking, /usr/ports -r447122 moved sysutils/u-boot-pine64 over to be us-boot-master based back on 2017-Aug-2. May be we have differing: u-boot-sunxi-with-spl.bin vintages dd'd to seek=8 on the sdcards? Some other difference someplace else? === Mark Millard markmi at dsl-only.nethelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AB259A5-F00A-408F-968A-26AD8D776708>
