From nobody Sun Apr 23 11:47:01 2023 X-Original-To: current@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 4Q462D09SFz45Jb6 for ; Sun, 23 Apr 2023 11:47:32 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vtr.rulingia.com (vtr.rulingia.com [IPv6:2001:19f0:5801:ebe:5400:1ff:fe53:30fd]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "vtr.rulingia.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q462B4vk5z3xhb for ; Sun, 23 Apr 2023 11:47:30 +0000 (UTC) (envelope-from peter@rulingia.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of peter@rulingia.com designates 2001:19f0:5801:ebe:5400:1ff:fe53:30fd as permitted sender) smtp.mailfrom=peter@rulingia.com; dmarc=pass (policy=quarantine) header.from=rulingia.com Received: from server.rulingia.com (2001-44b8-31fc-0d00-593b-ba5f-4612-4edb.static.ipv6.internode.on.net [IPv6:2001:44b8:31fc:d00:593b:ba5f:4612:4edb]) by vtr.rulingia.com (8.16.1/8.16.1) with ESMTPS id 33NBlBAX032397 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=OK) for ; Sun, 23 Apr 2023 21:47:18 +1000 (AEST) (envelope-from peter@rulingia.com) DKIM-Filter: OpenDKIM Filter v2.10.3 vtr.rulingia.com 33NBlBAX032397 X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.16.1/8.16.1) with ESMTPS id 33NBl16x092387 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sun, 23 Apr 2023 21:47:01 +1000 (AEST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.16.1/8.16.1/Submit) id 33NBl1CI092386 for current@freebsd.org; Sun, 23 Apr 2023 21:47:01 +1000 (AEST) (envelope-from peter) Date: Sun, 23 Apr 2023 21:47:01 +1000 From: Peter Jeremy To: current@freebsd.org Subject: ntpd fails on recent -current/arm64 Message-ID: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0qGyOudtw1C7AOBZ" Content-Disposition: inline X-PGP-Key: http://www.rulingia.com/keys/peter.pgp X-Spamd-Result: default: False [-2.51 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_SPAM_LONG(0.97)[0.967]; NEURAL_HAM_SHORT(-0.85)[-0.850]; DMARC_POLICY_ALLOW(-0.50)[rulingia.com,quarantine]; NEURAL_SPAM_MEDIUM(0.27)[0.274]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+mx]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MLMMJ_DEST(0.00)[current@freebsd.org]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5800::/38, country:US]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[peter]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Queue-Id: 4Q462B4vk5z3xhb X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N --0qGyOudtw1C7AOBZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Somewhere between c283016-g607bc91d90a3 and c283077-g7f658f99f7ed, some change in the kernel has made ntpd stop working on my arm64 test box. (My amd64 test box is a couple of days behind so I'm not sure if it's arm-specific). What I've identified so far: * The problem is in the kernel, not userland. * The impact seems to be limited to ntpd (in particular, ntpdate works). * ntpd appears to be correctly exchanging NTP packets with peers. * ntpd is not responding to "ntpq -p" queries * ntp_gettime and ntp_adjtime both return TIME_ERROR to ntptime I've looked through the commits and, beyond much of netinet being roto-tilled, I can't see anything obvious. Is anyone else seeing anything similar? Can anyone suggest where to look next? --=20 Peter Jeremy --0qGyOudtw1C7AOBZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAmRFGq9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzQ2Ng//SLlrU+ieIOj3eRyiwjsLL8mfZcXIUOD8wO4foTdKy9QfJkJM/MBX5yEW S4EP1p+fAG/a24Iz1i+bX3Q46DSCK5zj5S2LvwYIc7Ub4ujpHXOZ52IKHW6cFunT 8e6r5tFt69CltmVWv4FWwm3VHDpwh3oduR5S6wjZxtlhjwIvek60DAcxP0OwisUY 69MgrKF6p58a7hlCsng2kwxC2ntWqlSrY2krvj+dqmbVQvYMpxzyaO0tRZauaX3D n1gb09isI0B7G5EnmsfZ+P736hHtdkPr4/1gcOiN6XSGdY4yjyWTfHyNdXCYmTlj l7K9MnP1bWl3HkwgFdKZ4yAkAvgPES2YLa0XstkItzOtJcjQQcRCi5Lj/0bdNEXv cr2UoV9z47I7m2WetTu8GcF0es0cOEamV45knKptjy06dKB2QqMgaEGWu7WmDIAB opNrGQC6ByhxUlrYI+nwHzsCWCgYr+OYGfHRWviQXjqBPTWciuZ+8Hz0uk0eqQwD rCF5lrjnBdec4bk/InoLV8ALWPHE+xnjC4yXCbf71AMn0/D2gCMALZ3WKDx81psr 0XNsFufEE6eKDOmnERkYlCG1GveqQjcfjbmWlk7ttVWMfWHtEbSZ9GjfCgJ2bWYV OoIvBcrgwIlxCImvc7Ie73aPKfp1wxmqS8LRh0UiczU6GXEcupM= =PSgK -----END PGP SIGNATURE----- --0qGyOudtw1C7AOBZ--