From nobody Sat Feb 25 09:23:58 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 4PP1YC3p34z3svrQ for ; Sat, 25 Feb 2023 09:24:15 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-23.consmr.mail.gq1.yahoo.com (sonic303-23.consmr.mail.gq1.yahoo.com [98.137.64.204]) (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 4PP1YB0s3Jz48vB for ; Sat, 25 Feb 2023 09:24:14 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=EtSmHeh5; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.204 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=1677317052; bh=IAv/yWOLyWNTLTKz/5gT3MREDx2UQtrdgVp/kmZX5Pk=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=EtSmHeh5mYJ5FchfZ5Ib/IdhQUVsKqh02NzJMXTW1Uin9xeB59pNdAyvAZ59M+Esl9/ds0oKhHMifOz52I5VUh0ULwcCUq7PfeLaLmVJiQHYNTlHC565WF1ecRSiX3ni44vf5Ww7NDg9HD8ebzWQR20TUiyX5Yf8BbgUXCxflQEfGeSHJQOawQOJwQF6EaD04a3BcJee1Nz7mu75SzqJIKNLmyaL1ZyiymKLqgBmc6pgn0YhQzkkDHGjJJzS52eqFFqCVxyVP2+3t0A///0PPuGxkmMKp0MUXVlOSeD5Q2RowTEpnK9yntEy9ZApHwEhHHikINOpQXxINHzUn5t9YA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1677317052; bh=k+uP2yXH0U+flxBwGm83UdDqeWuZXj79plTioPgIqET=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=GZ6zJr1fynlrKijS8Se7a/MooTJ7d+mIv3rXpEKrAIvWFkVpSBbj/vfxj2UJ7Yy/xohAd1oYI3KrTL+XxYo7fxEdB2ACS6ogl1wcaBiuWIWkjqIfnWV8qZQ4LjCYblGtGX/u0RHlbjwwwSxdffwV3E8qXS7EKSZrQnf2XJI7LqNKk7zTvIQhV8NmAQqAPnXba88OzDo7K/5sKPn2EONg+LawDHVchw6yf6P/OeQ5ksfmosAH7js96aXpM7PLpka85HGxsWP4H7lEAUcIaD0Yn2vW84dFgR4iBqSYGIYfHoxG6p7wF2Z2hSJNG5xJEYvTfU7WVpTYfHTfW6RbVlsAtA== X-YMail-OSG: SX1.cusVM1lfjE9vUBLWDgiiePt2bJqqzvVwB1OhlYl1iFipiBsqpcI7lnDnW3j p3NHie9DmSsTlnjJJhNfy.um3obad4uxUx19TofJdVnuqvxHzlLDJj73AA585tDdjy0wmv90GXnr meCwrPZsVKjKzuZ9KAojVXjkK7FI96oj4V2egnFd_L1xDBKrG4pgtSf2510lsjWwm6AFjejf1jIi 6wfgqlwfY6t0bksTHz3CaBtOT69zZBiV7HvHlEUJawk8COBhkZc3xPdDyMyjQ0pjgBoMMgNKL5eo B5AWJH_mZbhvsAhJnDb.xohqBMVqhUHLgdhVIiw0Eh3vBrR..NNey54D0LaMxiCSdSJDdGjZB8lB 0AQFBaG5ZuQKXEcDwoafsndjDH.5Z2DTSXFkJ76tDzi1zkk7XUyNejTpgFx508hBqW8ztXyNmERm PDUh4Sad2XGuGgNHECwE4IhqVrtBKRNoM4RYqfNHpBjYXUUzI2GMoFqtwh8aUvfG7cCiT_gO2v.x UpqbAOjykxfZj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XhaVvZ727yKQk40sWLUaONHcGpnoVvv_PlKQuoP3N6g.r_KWCEHxBg SmfSMPysG6kTpFYUp_XvYZ2T397Iw4mmKYi1H7BnUNyjgU01Q3dg1zt6Ha8XXNqba8IfyJMFnJCK 4Ls_.gQfMisaYdnVz4o0hpoVErkrIG8FAznlD9YYa72JpuzLSGX0PlG4gwh6L1TmGetUx3dRyQAA qmgfBhyUWAUyj8daJZ7Lp.ykDwzRioUBs125ozeiDYovH3xz7mnsH_FiwwSWL7itIde1Mwgv_DAq zxGMbdE8DD0qUm6sxbtHTiHIenitBukkuXRCMbzLai8myeIE.Jfnb0WiwA7ghkgbNLqvGjRzMpXL CegidVZgJocJWKHx80twE7uF0FiLbma_QiTMOTj9EfgM1Bs8xW1cW6AWaNyNKb1vE3D5su62MSLC MFe1hlesTF51Tw15FC1Su7EemLkeJ4FrVbtnZ.zy62AgAZujl4qu70lBr_Qqkzf8S10bBhcP1PpN UY_lAVyIDtXHRThMse4MW7u29u3pPsipS2O3ZGhG6P2h1U4u0xuQ3h3Pyl61uGeRJfYEjNEaeSWw hsVkoNROdZRpBhYH2alGRCm0gQxoKXQ_HP.tqv_1YrGh7CxEld7az7CHaCY1WO94.VpZOVwBUqRg klliuznUvhSOejxX30hLS5sESh4wumqNPZDbN1lQHc2b5XsquC9OKCTvDO8dYEKXgj0zaOQTAMy6 aSz10tA-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Sat, 25 Feb 2023 09:24:12 +0000 Received: by hermes--production-ne1-746bc6c6c4-z5pmw (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 8141eca147f28839191e5a1dc5d2025f; Sat, 25 Feb 2023 09:24:10 +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 [breaks at git: e6cf1a0826c9 - main - physmem: add ram0 pseudo-driver] From: Mark Millard In-Reply-To: <4FCD4987-6DAF-4889-B684-B6E464F41144@yahoo.com> Date: Sat, 25 Feb 2023 01:23:58 -0800 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: <9EA91B94-87E4-47B8-A4E2-60D556E64276@yahoo.com> <4FCD4987-6DAF-4889-B684-B6E464F41144@yahoo.com> To: Mike Karels , Mitchell Horne X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Spamd-Result: default: False [-3.27 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.77)[-0.765]; 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]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.204:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.204:from] X-Rspamd-Queue-Id: 4PP1YB0s3Jz48vB X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On Feb 24, 2023, at 22:16, Mark Millard wrote: > [The first main version to not reboot RPi4B's is: > git: e6cf1a0826c9 - main - physmem: add ram0 pseudo-driver Mitchell = Horne > ] >=20 > On Feb 24, 2023, at 17:45, Mark Millard wrote: >=20 >> On Feb 24, 2023, at 15:18, Mark Millard wrote: >>=20 >>> 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. >>=20 >> For the artifact builds available for arm64, testing >> the kernels: >>=20 >> The last that has "shutdown -r now" working on the RPi4B I'm using: >>=20 >> =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 ) >>=20 >> No arm64 artifacts after that until . . . >>=20 >> The first that has "shutdown -r now" failing on the same RPi4B: >>=20 >> =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 ) >>=20 >> So the range is limited to (including those end points): >> (All are 2023-Feb-08 artifact builds.) >>=20 >> =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 >=20 > My build of the above version works for "shutdown -r now". >=20 >> =E2=80=A2 git: f9bdaab95ec4 - main - ofwbus: remove handling of = resources from ofwbus Mitchell Horne=20 >=20 > My build of the above version works for "shutdown -r now". > It is the last version to do so. >=20 >> =E2=80=A2 git: e6cf1a0826c9 - main - physmem: add ram0 = pseudo-driver Mitchell Horne =20 >=20 > My build of the above version fails for "shutdown -r now": > hang-up just after Uptime: . . . message. >=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 >>=20 >> . . . >=20 >=20 The following from boot -v looks somewhat odd: ram0: reserving memory region: 2000-7ef0000 ram0: reserving memory region: 7f10000-31c00000 ram0: reserving memory region: 331d7000-39c2a000 ram0: reserving memory region: 39c2b000-39c2e000 ram0: reserving memory region: 39c2f000-39c30000 ram0: reserving memory region: 39c32000-39c33000 ram0: reserving memory region: 39c37000-3b050000 ram0: reserving memory region: 3b060000-3b300000 ram0: reserving memory region: 40000000-fc000000 ram0: reserving excluded region: 0-1fff ram0: reserving excluded region: 7ef0000-7f0ffff ram0: reserving excluded region: 31c00000-331d6fff ram0: reserving excluded region: 39c2a000-39c2afff ram0: reserving excluded region: 39c2e000-39c2efff ram0: reserving excluded region: 39c30000-39c31fff ram0: reserving excluded region: 39c33000-39c36fff ram0: reserving excluded region: 3b050000-3b05ffff ram0: reserving excluded region: 3ee5c000-3ee5cfff ram0: reserving excluded region: 3ee5c000-3ee5cfff ram0: failed to reserve region ram0: reserving excluded region: fe100000-fe100fff Possible oddities (4 GiByte RPi4B example): Nothing covers any part of [3b300000,3ee5c000) . Exclusion [3ee5c000-3ee5cfff] is repeated. (Related to the above?) The "failed to reserve region" notice. (Related to repetition?) Nothing covers any part of [fc000000,fe100000) . Nothing covers any part of [fe101000,ffffffff] . (The 2 different styles of specifying high bounds reads oddly.) =3D=3D=3D Mark Millard marklmi at yahoo.com