From owner-freebsd-arm@freebsd.org Tue May 4 14:42:18 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 81A436346EC for ; Tue, 4 May 2021 14:42:18 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound5c.ore.mailhop.org (outbound5c.ore.mailhop.org [54.244.192.240]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 4FZMxk08tbz3MWF for ; Tue, 4 May 2021 14:42:17 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1620139336; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=VP4C1JOAXyfFOBl5XSa8uPVoIBsNdwmcUFWV08kmFJ1moAwCEcpEVaWcHcDZr4BQ9wC+dEtt+gYM6 tVxIhSvixTzfm7eivGvW5RDI0etG+J5q8dUbvbc/m8ZiFeG6OoFJ16ACy0YcZqgmLi8QkUCIYgMjEh tRjDT7/LmZNUFMQlm1LS9hcdjY2vm97grLCfI7ifcttu8R/eibWF7WzGwfEZUtV2yNGI3aCFH9HrPz duuAtbn8xPGHCd3acOS9ZJa9vHw6WM1oVsJgO9gljhpahreb0MCCZP/mgdKpLynZ+s0nXZ2zHOfGmN XWu/lSeJnUrpvwrGNFFygojGzG7MuRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=hV+D5w1H2f677cGw4RDxjwQglwQcPJxuJSDRWX4u3Ew=; b=F6Xh82VqsTv6jwvgqzU9X0Ta+SdhnyR1zy8cZ0PI7XEFF7NWj8LM0X4vJ+3MLPImF4gijXzfId12a J1UTPB1k8pGaFcXIu8WeYq7zqR+BtbAiWNjudDS4cxOU0OIPPwNMCqvvhvcgkM7k+ZaVl0ifaZexF/ BCEwXOR/jSkg9afx19sIhPg4NWqMAP95CoQBhbmxboYHQ4tKrnmTMvYSAFzl1hyugD7vx/8vK7KWDj euVQNJQ3glUyfiB+XaooxlvcszdRZYTGRID9LyAtD48OoWZelQyef1r1e7llLs4bs4s1DR/sGUH7H8 kqJghD5JnOXqAZdx+CYfTbF6K8n7ZRQ== ARC-Authentication-Results: i=1; outbound3.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=hV+D5w1H2f677cGw4RDxjwQglwQcPJxuJSDRWX4u3Ew=; b=Tw7aZYBZvGF8jAAbbvyMKpGYMSq3RBvnt4eU3rlVv5jCYikOBMsbu1RLnbnQHxnNmml6S8sW9m9Uv l7cwL81HYmNVNrs+FVAAN1xsuPGR5Ip6XPuCjAKSoyRbM/zfqL0YBLV9vXVgGAFvwZ5jpkXLDjPAS9 gZsTRmrvIS0J4qOyrbVkBcnbnddpJAHagOAd00dAuecAtf+/AmVmt7JU76J/sL6DdyngCwfms7FNeY IF0gcbcebpwNY3/77oMesDSx8wdE62nACCCcUFeBXB7CUI4DFh8fs3/HoNwwCgKBMKZYzwg48aeRHB r6aW7HeAwFaI8RnH1vAlIQYsOn8FpsA== X-Originating-IP: 67.177.211.60 X-MHO-RoutePath: aGlwcGll X-MHO-User: eaed10b9-ace6-11eb-81e4-bf9d68d023b6 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (c-67-177-211-60.hsd1.co.comcast.net [67.177.211.60]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id eaed10b9-ace6-11eb-81e4-bf9d68d023b6; Tue, 04 May 2021 14:42:15 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id 144EgE9m004095; Tue, 4 May 2021 08:42:14 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <8e4843ce80e9bc005da5ca42d43e0bc34ce2c6ff.camel@freebsd.org> Subject: Re: Timezone problems on -current From: Ian Lepore To: bob prohaska , freebsd-arm@freebsd.org Date: Tue, 04 May 2021 08:42:14 -0600 In-Reply-To: <20210504015222.GE37236@www.zefox.net> References: <20210503153442.GB37236@www.zefox.net> <20210504015222.GE37236@www.zefox.net> Content-Type: text/plain; charset="ASCII" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FZMxk08tbz3MWF X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:16509, ipnet:54.244.128.0/17, country:US]; local_wl_from(0.00)[freebsd.org] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2021 14:42:18 -0000 On Mon, 2021-05-03 at 18:52 -0700, bob prohaska wrote: > On Tue, May 04, 2021 at 02:13:55AM +0100, tech-lists wrote: > > > > # ntpd > > ntpdate_enable="YES" > > ntpdate_flags="-b" > > ntpdate_hosts="uk.pool.ntp.org" > > ntpd_enable="YES" > > ntpd_sync_on_start="YES" > > > > Up to now I've used only the line > ntpdate_enable="YES" > and it's been enough to keep the clock sane. On the last reboot > it appears ntpdate either didn't run or failed silently. The most > obvious suspect is a wireless ethernet bridge that might be saying > it's up before the access point is responsive. > > I'll have to do a few test reboots when the machine becomes idle. > I know ntpdate works sometimes, but perhaps not always. > > Thanks for writing, > > bob prohaska > You don't need to be running ntpdate at all. ntpd_sync_on_start gives you the same effect... it allows ntpd to step the clock any required amount, one time at startup. It's useful for systems that don't have a battery-backed clock. I like to set kern.timecounter.stepwarnings=1 in /etc/sysctl.conf so I have a record in syslog of when ntpd steps the clock. -- Ian