From owner-freebsd-arm@freebsd.org Tue Jan 12 08:38:23 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 6C3A94CEA8A for ; Tue, 12 Jan 2021 08:38:23 +0000 (UTC) (envelope-from gbe@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DFP9W2Zhxz4cJG; Tue, 12 Jan 2021 08:38:23 +0000 (UTC) (envelope-from gbe@freebsd.org) Received: from localhost (p200300d5d72fc8d3f5eed7ab38520239.dip0.t-ipconnect.de [IPv6:2003:d5:d72f:c8d3:f5ee:d7ab:3852:239]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gbe) by smtp.freebsd.org (Postfix) with ESMTPSA id E7324AC4F; Tue, 12 Jan 2021 08:38:22 +0000 (UTC) (envelope-from gbe@freebsd.org) Date: Tue, 12 Jan 2021 09:38:22 +0100 From: Gordon Bergling To: Mark Millard Cc: Klaus =?iso-8859-1?Q?K=FCchemann?= , freebsd-arm@freebsd.org Subject: Re: PR 252541: Early kernel panic on RPi4B (Too many early devmatch mappings) 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8AA272E7-DC58-4129-B376-0BB663B63BA7@yahoo.com> X-Url: X-Operating-System: FreeBSD 12.2-STABLE amd64 X-Host-Uptime: 9:28AM up 2 days, 19:38, 4 users, load averages: 0.67, 0.54, 0.39 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, 12 Jan 2021 08:38:23 -0000 On Tue, Jan 12, 2021 at 12:16:30AM -0800, Mark Millard via freebsd-arm wrote: > On 2021-Jan-11, at 23:13, Klaus Küchemann wrote: > >> Am 12.01.2021 um 07:42 schrieb Mark Millard via freebsd-arm : > >> > >> Also, my context was a amd64->aarch64 cross-build > >> instead of being an aarch64 native build.…….src.conf like file, make.conf …... > > > > I have compiled directly on the RPI with nonexistent src.conf/make.conf & standard kernconfs, > > no problems . > > Good to know what you used for such files and the build machine. > > We do not have builds of the same source version yet. I will not > get to it tonight, but I will hopefully later try to build the > version that you identified and see what I get for different > variations in how to build that source version to produce debug > kernel builds. (I might include the two printf's that report > the figures that the KASSERT is based on.) > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) Hi Mark, thanks for your work on that issue. I have some spare time today and will try some combinations about NO INVARIANTS and so on. My src.conf is the following, --------------------------- WITH_MALLOC_PRODUCTION=1 WITH_EXTRA_TCP_STACKS=1 WITH_BEARSSL=1 WITH_PIE=1 WITH_RETPOLINE=1 WITHOUT_CLEAN=1 --------------------------- I know that the change itselfs doesn't seems to be significant, but it was the first that has triggered the panic. Maybe it is also the u-boot.bin, I haven't updated them since the July. I'll keep you posted. --Gordon