Date: Sun, 7 Jul 2024 11:18:56 -0600 From: Warner Losh <imp@bsdimp.com> To: Ronald Klop <ronald-lists@klop.ws> Cc: bob prohaska <fbsd@www.zefox.net>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: ntpd vs ntpdate with no hardware clock Message-ID: <CANCZdfrdFrCkt8VPd%2Bnv=UpVMzqHmX2kw=7wULwZvkQnHDcAhg@mail.gmail.com> In-Reply-To: <454282477.15929.1720372600841@localhost> References: <Zoq7xD2BRT6YyF6l@www.zefox.net> <454282477.15929.1720372600841@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000008f9bd7061cab7e55 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Jul 7, 2024, 11:16=E2=80=AFAM Ronald Klop <ronald-lists@klop.ws> wr= ote: > I created fakertc for my rpi4. > > https://www.freshports.org/sysutils/fakertc/ > > Saves the time on shutdown and sets it back early at boot. > > Plus I use ntpdate together with ntpd. Works fine. > Curious why the root mod time isn't firing... it whould alrwady do that Warner Regards, > Ronald > > *Van:* bob prohaska <fbsd@www.zefox.net> > *Datum:* 7 juli 2024 18:01 > *Aan:* freebsd-arm@freebsd.org > *Onderwerp:* ntpd vs ntpdate with no hardware clock > > Just tried using ntpd with a fresh 14.1 installation on a Pi4. > Near as I can tell, ntpd reports a failure due to the clock > being off by too much, even if it's set manually to within > a minute before reboot. Probably that's caused by the lack > of a hardware clock on the Pi4, linux has a bodge called > fake-hwclock. Is there an equivalent workaround for FreeBSD? > > In the meantime ntpdate seems to work, though deprecated > > Thanks for reading, > > bob prohaska > > > ------------------------------ > > > > > --0000000000008f9bd7061cab7e55 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" = class=3D"gmail_attr">On Sun, Jul 7, 2024, 11:16=E2=80=AFAM Ronald Klop <= <a href=3D"mailto:ronald-lists@klop.ws">ronald-lists@klop.ws</a>> wrote:= <br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord= er-left:1px #ccc solid;padding-left:1ex"><div>I created fakertc for my rpi4= .=C2=A0<div><br></div><div><a href=3D"https://www.freshports.org/sysutils/f= akertc/" target=3D"_blank" rel=3D"noreferrer">https://www.freshports.org/sy= sutils/fakertc/</a></div><div><br></div><div>Saves the time on shutdown and= sets it back early at boot.</div><div><br></div><div>Plus I use ntpdate to= gether with ntpd. Works fine.</div></div></blockquote></div></div><div dir= =3D"auto"><br></div><div dir=3D"auto">Curious why the root mod time isn'= ;t firing... it whould alrwady do that</div><div dir=3D"auto"><br></div><di= v dir=3D"auto">Warner=C2=A0</div><div dir=3D"auto"><br></div><div dir=3D"au= to"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"m= argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Reg= ards,</div><div>Ronald</div><div><br><p><small><strong>Van:</strong> bob pr= ohaska <<a href=3D"mailto:fbsd@www.zefox.net" target=3D"_blank" rel=3D"n= oreferrer">fbsd@www.zefox.net</a>><br><strong>Datum:</strong> 7 juli 202= 4 18:01<br><strong>Aan:</strong> <a href=3D"mailto:freebsd-arm@freebsd.org"= target=3D"_blank" rel=3D"noreferrer">freebsd-arm@freebsd.org</a><br><stron= g>Onderwerp:</strong> ntpd vs ntpdate with no hardware clock<br></small></p= ><blockquote style=3D"margin-left:5px;border-left:3px solid #ccc;margin-rig= ht:0px;padding-left:5px"><div id=3D"m_-3271010977458805280P"> <div id=3D"m_-3271010977458805280P.P">Just tried using ntpd with a fresh 14= .1 installation on a Pi4.<br> Near as I can tell, ntpd reports a failure due to the clock<br> being off by too much, even if it's set manually to within<br> a minute before reboot. Probably that's caused by the lack<br> of a hardware clock on the Pi4, linux has a bodge called<br> fake-hwclock. Is there an equivalent workaround for FreeBSD?<br> <br> In the meantime ntpdate seems to work, though deprecated<br> <br> Thanks for reading,<br> <br> bob prohaska<br> <br> <br> </div> <hr> </div> </blockquote><br><br><br></div></div></blockquote></div></div></div> --0000000000008f9bd7061cab7e55--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfrdFrCkt8VPd%2Bnv=UpVMzqHmX2kw=7wULwZvkQnHDcAhg>