From nobody Sat Feb 25 01:45:01 2023 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 4PNqMf75W1z3vBtV for ; Sat, 25 Feb 2023 01:45:18 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-21.consmr.mail.gq1.yahoo.com (sonic305-21.consmr.mail.gq1.yahoo.com [98.137.64.84]) (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 4PNqMd5lc8z3Gwx for ; Sat, 25 Feb 2023 01:45:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=Wab8IGcE; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.84 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1677289515; bh=7hAs2/vI1rdjQ1MTDFzqQbavzhoK5deqv2fO1W5HjVo=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=Wab8IGcEFR+KXbHuearN9bClpi4+nZGiIFzA8Xu4MoF8Y96s0Zmmyix+FhYXYWAui4uDjUNhUAwzzS4a1E+WyfmYal2ZFTu6yqys6kj98HZrtU2fUJeukPPKS/BkEulmp0VKbpjCtTwVZJs8YbDilUfuxjs6EDfiJIKhTRJguZEPSRqHOv7T1kIvwbLD+h6CKg6hWqm5oUShtsiaEWsEaJwXjE5P90qt8ooq8l+3SYqCjstG6Tkm8g6xJ9NDhaXXLjInamZWSnH047NXmbMAw8MbmpnOzc2kpQPSn1UAl+cxQJ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0bq7WMAzKW181.Snlxqn0d_Zxi6L8jSiyINMzyp7EvWfC92zo_dCB6BSI8sNpEH w87OHrSseM5u1vk0l6vdoj.ty_krr2hAvdxd_yg0ckNl60.w7_fPCYraAp9qudmMvy0wsJmrULWy AXMGJQfxOHc1I12pCy94YT5dmXkOH3N0dRQ.trbVycV5Pwruc9bswGZe9xtUIXHXo6C3wU4Topq. tZlQXi77XF37teSUwoo9HTbluBW517DHcAjTQw2gCUy.R6GaNCr.SVBX2B1hIIR5oNYE1kGBqH9C iBdy5LRdOvq1xiVvotCoAhaCWGdq2UojnFCh0m6bMJ.W_8GpXWyp62EfXfwy1SlMPYxQORiT5S2Y n_hrJPl31m3QFJB__N5DeMOnX7g7gXzRbU5.2PXcittX.N_BAFfY_aY0SiggTuROF.Q1mbfqK9py AvkuGnte5ORpuym7_LUx0_lrqaBJbg6q2zs0GwM3jgJKsyXDDXE7iGCYokFuIuUdP_gN6NJ7SuUM oKapiQ0geZmgEfhYqZxF0aR.k7C1jUIacRU751CAp.2b_tBgx6qHqY6EnHIzYOAnmsP5iu.h8lU1 o0nAsJapa9fmm_My97mI6fl2AnqhLXglSYAByWDpTmlL10muZO0UFjtHAGmdTZE8R.6gjOxZacKa rvFGPYXTQvut0NUUY4OlsnP3rCkeHYKWDzQbJVXjSsC.rjoJVP8rnnkIwsAgUxrWNR25NiQvddzy d X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Sat, 25 Feb 2023 01:45:15 +0000 Received: by hermes--production-gq1-655ddccc9-9226q (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID b05f247ed645a7eb96419d083945f2f6; Sat, 25 Feb 2023 01:45:11 +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 \(3731.400.51.1.1\)) Subject: Re: reboot broken on RPi4 on main From: Mark Millard In-Reply-To: Date: Fri, 24 Feb 2023 17:45:01 -0800 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <9EA91B94-87E4-47B8-A4E2-60D556E64276@yahoo.com> References: To: Mike Karels X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Spamd-Result: default: False [-3.42 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.92)[-0.916]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.84:from]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; DKIM_TRACE(0.00)[yahoo.com:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org] X-Rspamd-Queue-Id: 4PNqMd5lc8z3Gwx X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On Feb 24, 2023, at 15:18, Mark Millard wrote: > On Feb 23, 2023, at 14:01, Mike Karels wrote: >=20 >> Reboot (shutdown -r) is hanging on RPi4 on main as of today=E2=80=99s = snapshot. >> It hangs after printing the Uptime. The initial bootstrap and boot = from >> power-up work. I haven=E2=80=99t tested a snapshot since Jan 1, so = I=E2=80=99m not sure >> when it stopped working. Any ideas what might have broken it? I can = bisect >> the recent snapshots if nothing else. >>=20 >> 13.2-BETA2 works, however. >=20 > For reference . . . >=20 > While it is a personal build instead of a snapshot, > I see the "shutdown -r now" hang problem for my build > based on: >=20 > # ~/fbsd-based-on-what-commit.sh -C /usr/main-src/ > d04c86717c8c (HEAD -> main, freebsd/main, freebsd/HEAD) bsd.sys.mk: = Add NO_WSTRICT_PROTOTYPES like in kernel > branch: main > merge-base: d04c86717c8ca3aa1bd9d8927a37a1f5443925b5 > merge-base: CommitDate: 2023-02-19 07:02:12 +0000 > n261026 (--first-parent --count for merge-base) >=20 > The context has a "B0T" 8 GiByte RPi4B. For the artifact builds available for arm64, testing the kernels: The last that has "shutdown -r now" working on the RPi4B I'm using: =E2=80=A2 git: 8b418c83d175 - main - cp: Adjust the sparse file = tests. Dag-Erling Sm=C3=B8rgrav ( = https://artifact.ci.freebsd.org/snapshot/main/8b418c83d175fde3b1f65210509d= dcf2ac248d9f/arm64/aarch64/kernel.txz ) No arm64 artifacts after that until . . . The first that has "shutdown -r now" failing on the same RPi4B: =E2=80=A2 git: ded5f2954e1a - main - nfsd: Fix handling of the error = case for nfsvno_open Rick Macklem ( = https://artifact.ci.freebsd.org/snapshot/main/ded5f2954e1a1bb7748646888938= af767ee6257a/arm64/aarch64/kernel.txz ) So the range is limited to (including those end points): (All are 2023-Feb-08 artifact builds.) =E2=80=A2 git: 8b418c83d175 - main - cp: Adjust the sparse file = tests. Dag-Erling Sm=C3=B8rgrav=20 =E2=80=A2 git: 87d405eab911 - main - iommu_gas: initialize start_gap = as first node Doug Moore=20 =E2=80=A2 git: 8c784bb8cf36 - main - lua: Update to 5.4.4 Warner = Losh=20 =E2=80=A2 git: 5fff09660e06 - main - geli: split the initalization = of HMAC Gordon Tetlow=20 =E2=80=A2 git: 81ad626541db - main - Merge llvm-project main = llvmorg-15-init-15358-g53dc0f10787 Dimitry Andric=20 =E2=80=A2 git: 753f127f3ace - main - Merge llvm-project main = llvmorg-15-init-16436-g18a6ab5b8d1f Dimitry Andric=20 =E2=80=A2 git: fcaf7f8644a9 - main - Merge llvm-project main = llvmorg-15-init-17485-ga3e38b4a206b Dimitry Andric=20 =E2=80=A2 git: 972a253a57b6 - main - Merge llvm-project main = llvmorg-15-init-17826-g1f8ae9d7e7e4 Dimitry Andric=20 =E2=80=A2 git: 61cfbce3347e - main - Merge llvm-project release/15.x = llvmorg-15.0.0-rc2-40-gfbd2950d8d0d Dimitry Andric=20 =E2=80=A2 git: a4a491e2238b - main - Merge llvm-project release/15.x = llvmorg-15.0.0-9-g1c73596d3454 Dimitry Andric=20 =E2=80=A2 git: 6246ae0b85d8 - main - Merge llvm-project release/15.x = llvmorg-15.0.2-10-gf3c5289e7846 Dimitry Andric=20 =E2=80=A2 git: f3fd488f1e19 - main - Merge llvm-project release/15.x = llvmorg-15.0.6-0-g088f33605d8a Dimitry Andric=20 =E2=80=A2 git: 50d7464c3fe6 - main - Merge llvm-project release/15.x = llvmorg-15.0.7-0-g8dfdcc7b7bf6 Dimitry Andric=20 =E2=80=A2 git: 3264f6b88fce - main - Bump __FreeBSD_version for llvm = 15.0.7 merge Dimitry Andric=20 =E2=80=A2 git: 89a072d11cd2 - main - Makefile.amd64: remove = construct that serves no purpose Warner Losh=20 =E2=80=A2 git: ae1dca798e0f - main - e1000: fix I219 hang on reset = Kevin Bowling=20 =E2=80=A2 git: 647f2d2bc0cb - main - e1000: bump driver version = Kevin Bowling=20 =E2=80=A2 git: 48bfd3597654 - main - Add nproc(1) Mateusz Guzik=20 =E2=80=A2 git: 1d03c3578d05 - main - arm: add an interrupt rman to = nexus Mitchell Horne=20 =E2=80=A2 git: f9bdaab95ec4 - main - ofwbus: remove handling of = resources from ofwbus Mitchell Horne=20 =E2=80=A2 git: e6cf1a0826c9 - main - physmem: add ram0 pseudo-driver = Mitchell Horne=20 =E2=80=A2 git: fa3f6655421f - main - netmap: drop redundant if_mtu = assignment Vincenzo Maffione=20 =E2=80=A2 git: ded5f2954e1a - main - nfsd: Fix handling of the error = case for nfsvno_open Rick Macklem Notable are the llvm15 commits and the changes that some arm code: =E2=80=A2 git: 1d03c3578d05 - main - arm: add an interrupt rman to nexus = Mitchell Horne=20 =E2=80=A2 git: f9bdaab95ec4 - main - ofwbus: remove handling of = resources from ofwbus Mitchell Horne=20 https://artifact.ci.freebsd.org/snapshot/ helps avoid as many builds being involved in exploring. =3D=3D=3D Mark Millard marklmi at yahoo.com