From nobody Sun Jul 07 16:23:51 2024 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WHCHs3B9Pz5Q27d for ; Sun, 07 Jul 2024 16:24:09 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-20.consmr.mail.gq1.yahoo.com (sonic317-20.consmr.mail.gq1.yahoo.com [98.137.66.146]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WHCHs0GN0z4fnX for ; Sun, 7 Jul 2024 16:24:08 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1720369447; bh=gYx6ylBOrwhHJv/W82XCwpdnWuQ7z0QxNw3/e+BVNVM=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=ka0twgsk++3NAm4xc0j7X4dWF1Le5N8znNWGex5ywIie6B/YpT6EMPV7AFF6QqM8VoicOz7aTHQvVKkPuQEYdMJVYfOzr/Hc/SVHc8D4HthikkEY4+b0mQVPPwFKheHkbWxEk9f2N9nVg4Oarb4/GX4mjupEjGZYxJmQpLxjcwCoPpMUmvc5XHGywgfBEmwuuEAUfAgz5Ykf351NTONY6m17xjKfn3N9LCt+S41x+oyeXsPOUHdC9qBF3RuFObo+DeOVcsdCOJ5KWQXLQsNe6Ju0+Edos4bQCTb5gf5K6Uxyj8c1uwK173HHe5OD88gMmtzUkXKRAdktO3VTEqTCBQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1720369447; bh=kA+SDi/ocAJ4tA3mVIs9Km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WE15xAPoySKttWvkyiZZZOr.OqieP4y4PKdex_80OF CCk600Hc.2U4iaWxTG7mWYZHeqqvOYYlJrSsO.c2FisESuGO6GKcguoLlU65waKS8CyT268rbz0c 2kSk3dzLif46xkhIOoghP9O3_w9A8ult_EY_q4SvOlvr_MT_K8LbjESp7d.sSNkpfKTrnpjgEuiw txAwX2mUHUXeDF_skoFNq9PNdtMXcuCj_kpjX9b_TUMDH3lIHIKE0WT204K7FXkrWW6djv77aGKq VQcGLHpb91o0qpSlFGM0hFek1zkTmBcMe20zJKxB3uPFsZnlVYKXSM74AbTiYqQAGu2x.XK8i75e 8Y8xf6BaePYyN9uS0FgD49MZFIWfgKRQsFYWDQ7npKpeV4GU797_M2ZWFjtBRKMMk_Iiwt_vmxUa XlVU9p4IUvJDp0X.O8BAfPnmNmP74Iv.ZCnmuborwAX1HXTkO5UzHxhKv.9g7tw476LKHNxA4pvB bwAdD0jN6sNAA4OitJoF81RDvVT_BdqKFcCFWH3Xr2SsNaN8LJTbYpOkditslBVWMQCWYpEzSqD8 - X-Sonic-MF: X-Sonic-ID: 5ad8473a-1ae8-44b0-8e4e-536dd83bf27a Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.gq1.yahoo.com with HTTP; Sun, 7 Jul 2024 16:24:07 +0000 Received: by hermes--production-gq1-5b4c49485c-ns8tm (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 8302e8fc857981f4d796a5d6af1f6086; Sun, 07 Jul 2024 16:24:02 +0000 (UTC) Content-Type: text/plain; charset=utf-8 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: Re: ntpd vs ntpdate with no hardware clock From: Mark Millard In-Reply-To: Date: Sun, 7 Jul 2024 09:23:51 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <663B8441-A84B-481A-95D6-D22EDC4E66A3@yahoo.com> References: To: bob prohaska X-Mailer: Apple Mail (2.3774.600.62) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Queue-Id: 4WHCHs0GN0z4fnX On Jul 7, 2024, at 09:01, bob prohaska wrote: > 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? >=20 > In the meantime ntpdate seems to work, though deprecated FYI: my /etc/rc.conf for media sometimes used on such hardware has: ntpd_enable=3D"YES" ntpd_sync_on_start=3D"YES" ntpd_user=3D"root" "man 5 rc.conf" reports about ntpd_sync_on_start : ntpd_sync_on_start (bool) If set to =E2=80=9CYES=E2=80=9D, ntpd(8) is run = with the -g flag, which syncs the system's clock on startup. See ntpd(8) = for more information regarding the -g option. This is a preferred alternative to using ntpdate(8) or specifying = the ntpdate_enable variable. =3D=3D=3D Mark Millard marklmi at yahoo.com