From owner-freebsd-arm@freebsd.org Thu Jan 14 01:10:41 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 236704EDD8D for ; Thu, 14 Jan 2021 01:10:41 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-55.consmr.mail.gq1.yahoo.com (sonic316-55.consmr.mail.gq1.yahoo.com [98.137.69.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DGR800RG6z4WFt for ; Thu, 14 Jan 2021 01:10:39 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1610586637; bh=BUmCb8QTLMXUXh4smX9eJdNFZ0UCP5b/nRBEMQ7ungX=; h=Subject:From:Date:To:From:Subject:Reply-To; b=brTC896gX5tUO+TruC9GylIPgUX4gXiNhQfVxBRPEZ8vHBeiCbjRuDgT89weWhiGV0tyjTvVf4rRgQtiQm7YWaVdECKtqMkhgr1P8psYuFwTuARtaW19pPTJeTozcxhrEdgffgUPcvGnLlblbzXzdYMkMPncJR6cIqVBROIr9eVNO8Qz+nZXOUkEK8Pj7KOjs4pRHCUTLAnVpZUxEKfDB/I/7hpbp8Zl4v4Fe/TGVn4TXVRISsM/uVM2tWGbzSiJXCJ/1rqJAmE+NgUMCQuq2pczG/3iuGIi51FT3IS+QIpjNzURZY1MlddVaRmn9nm3XtQ1pMAiuogXDxy2dtv7JQ== X-YMail-OSG: rT_VzGIVM1mmZyLOvGjRQ1i5tBXK_iMyiQEn0xAr5Qmkkb8kFhRKCQP_ly678J3 w6AAPTrm8e0xa6.Oqk85HFaCZp.cfTZO.mhmSTH1G3lgPFTWR7IJOXZPVQEWxEFtXt41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mP.UTxsWv6NSxh6GxQqZWLuw0CMKzstkA_.1GpsBrq9s7I4Ug6XrDdMQl kaG79lRZtxN0WjDbgNrcPVbJf6EA2gGjJ0Vc0Ku9ytgwPvSsKcObYBlDO45.y0Jnq5uWaSGQE2uk xBZE_MAiVIII8S3elYakwhmDn0ZkFBfdFQ8KTEjKnQ7H7Xo8B8ISuzkgk9tu_Hi0cR6dMdabZsUD PQZdP00CEAqgcIa.07Sr1mc0XaYFK54Nv.u2N.tx1TPSf_Nb4Pa4dt3Xqd3mvwRvrFo2.JnQMX3H X89X2eX75LrpmD.FSksN.wjXqSqILZoRwUe5HbGzmqto8K2MQ9YCDlBs8CUe2kX1aV0i8ZbDWrcD ehCUuZaHmLEk- Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Thu, 14 Jan 2021 01:10:37 +0000 Received: by smtp425.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 57e5151c7defe1b8421d179d52e6959e; Thu, 14 Jan 2021 01:10:37 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: PR 252541: Early kernel panic on RPi4B (Too many early devmatch mappings) [tied to monitor connected vs. not] From: Mark Millard In-Reply-To: Date: Wed, 13 Jan 2021 17:10:36 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <7C6DC946-B7B6-42C8-A8B9-0471ED7B77AA@yahoo.com> <784263FD-D17C-4CA5-991E-FE93E3E584F3@yahoo.com> <7655A4A0-B74E-41B5-8E93-8F39CD462A81@yahoo.com> <4CFBA50F-0C76-48A4-8D88-58ED76D4E444@googlemail.com> <8AA272E7-DC58-4129-B376-0BB663B63BA7@yahoo.com> <7893EBCC-8431-4287-9F16-1AF28794F5CA@yahoo.com> To: tech-lists X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Rspamd-Queue-Id: 4DGR800RG6z4WFt X-Spamd-Bar: - X-Spamd-Result: default: False [-1.48 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-0.98)[-0.984]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.69.31:from]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[98.137.69.31:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.31:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.31:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] 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: Thu, 14 Jan 2021 01:10:41 -0000 On 2021-Jan-13, at 16:31, tech-lists wrote: > On Tue, Jan 12, 2021 at 03:17:49AM -0800, Mark Millard via freebsd-arm = wrote: >> Before the detailed sequence/evidence below: I eventually found how = to >> control works vs. fails . . . >>=20 >> Fails: have my monitor connected (1920 x 1080 in case it is = important) >> Works: no monitor connected >> (Same kernel.) >=20 > I have exactly the reverse situation: boots *only* with monitor = attached. It would probably be best to submit a description of the context, the visible serial console output for the failure case, etc. in a message with its own subject. The context can include identifying what RPi firmware, what u-boot or UEFI/ACPI version, what FreeBSD version, debug vs. non-debug status for the parts of FreeBSD. It may involve reporting the steps to make the boot media used for the failing context as a way of identifying some of that. My testing did involve no-monitor-connected testing. That always worked, as did all non-debug kernels (so, INVARIANTS disabled). In the end, it turned out that early-kernel-memory allocations that totaled to be sufficiently large caused an incorrect KASSERT to fail in INVARIANTS aarch64 kernels. The correction has been committed to main. The allocations were not so large as to be an actual problem. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)