From nobody Sun Jul 07 17:26:10 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 4WHDgm0K87z5Q8Bn for ; Sun, 07 Jul 2024 17:26:28 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-24.consmr.mail.gq1.yahoo.com (sonic303-24.consmr.mail.gq1.yahoo.com [98.137.64.205]) (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 4WHDgk1zSLz4sp8 for ; Sun, 7 Jul 2024 17:26:26 +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=1720373183; bh=zFoQkAyplvyG5hxc/2q81d71wyKkepOF20nRE9c4E+E=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=XFJuE93uOMxQiCAeK7JOySzBImoDKsW5arL9ixS96BvzgNOKXxupmbOQxDxkP3ukDf9cVOjUm7llJocC6x2q+pOKmJoQ2TKgZJ9kEHchQLYrLhG88PNvKl4E8Exut9vYSffbBc+2WMnyZZ0FdvSOFRwkyzhmg8xxb0OGL1NgRFqecPayMvJfOgtob+6gwd4u4rqcU27mTokwE6O/CXnIqtI80HDlrtJJtw/fHs/J+QA2chwXhz/rsQvk2ZwOXg7RSmsYwYbgwUbDlu/gK0i1uAUIIDLtQch5yMfVNxn2OE2Dt4RqrxCJSmu3iVvj4Z/BGkNAn7s2SLjWGSsLJnPfPA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1720373183; bh=kCCQSUe9ezK5m0jQTWkNuYPf0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lfex_tWrN8cBweWpEMWVAAaMDR.WHtXK8EdXAGq34m1_chosnMM_b2mER2xfdALleB6u QkoJA5nmjCMLdJkR2NpRIMTuUtSWnQGi_S2TCgidRhGlRTa0cd.RxTBHaJRQk.JUkzUl067idrHW om1j_Kz9AbtZ2Qv0EYStiLFGqp5Fokv96uQpcGx.hn4tsCC2uZV9suZakc3Gm7QUP.KfJa6foVLw n6knmVCG1etzfQUUMb51S688rohD0SeEgj32FdROPNDqCtDWEineeddpsJTOK4GzDLcSKxz4xj6F bQBSY2vZqSVUG9ypPEthtMh1luEeWgiTjsbbSHVhRYmw5A3gx.Xmo2rP3Nbky_KA1rSmQhJfespA epki7cfUCOtH1Jr4WSzyqohJWVOUKBfO5VwbgDN3GKYJPhIViJYjJv9SSAX3eNgJ6.gbXbK6ZEce y30npB1IguVkPGnA3M8pcW_0Q0dq35eKhHSzTsF8Jlx61oqMbRSREks7qWdtae5T6APsPaMlngIy m5RETqni.VQ69RRaXrL6bSM9G9gvRq39qHBBo7jUfcGUrt06AxGo5SkVyAu7udn3Ms1ofoj5SWeY M8A-- X-Sonic-MF: X-Sonic-ID: 4a5f4df2-8e86-4aa5-bb60-111dcad5cd54 Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Sun, 7 Jul 2024 17:26:23 +0000 Received: by hermes--production-gq1-5b4c49485c-75jqb (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 83bc715b7eb5a1367a5b9e402b30cb78; Sun, 07 Jul 2024 17:26:21 +0000 (UTC) Content-Type: text/plain; charset=us-ascii 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 X-Priority: 3 (Normal) In-Reply-To: <454282477.15929.1720372600841@localhost> Date: Sun, 7 Jul 2024 10:26:10 -0700 Cc: bob prohaska , freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: <454282477.15929.1720372600841@localhost> To: Ronald Klop 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: 4WHDgk1zSLz4sp8 On Jul 7, 2024, at 10:16, Ronald Klop wrote: > I created fakertc for my rpi4. > > https://www.freshports.org/sysutils/fakertc/ > > Saves the time on shutdown and sets it back early at boot. As I understand, Bob P.'s file system context is UFS for the root fs. So, per your note about fakertc : QUOTE Note that systems using UFS for the root fs won't need this, as the clock is already restored from info in the UFS superblock. END QUOTE I gather that the UFS superblock did not yet have its first modern time value yet. > Plus I use ntpdate together with ntpd. Works fine. > > Regards, > Ronald > > Van: bob prohaska >> 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 === Mark Millard marklmi at yahoo.com