From nobody Wed Nov 6 11:40:44 2024 X-Original-To: freebsd-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 4Xk3Fs6z80z5cTSX for ; Wed, 06 Nov 2024 11:41:53 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from mailgate.Leidinger.net (mailgate.leidinger.net [IPv6:2a00:1828:2000:313::1:5]) (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 ECDSA (P-256) client-digest SHA256) (Client CN "mailgate.leidinger.net", Issuer "E6" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xk3Fr6kJGz4ndS for ; Wed, 6 Nov 2024 11:41:52 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=leidinger.net header.s=outgoing-alex header.b=QN7EYCfy; spf=pass (mx1.freebsd.org: domain of Alexander@Leidinger.net designates 2a00:1828:2000:313::1:5 as permitted sender) smtp.mailfrom=Alexander@Leidinger.net; dmarc=pass (policy=quarantine) header.from=leidinger.net 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1730893304; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=dSV+bOlAtH6WmUfXYKtIMktZQb0AInJGAdKaFliwBg4=; b=QN7EYCfyEpBvWxoEdSaVCE+EzVGUbX3uROcDDigjaoA2FOVSB+2RKDlWKthxAF1hFaU9Ic quy03CehwFMkcxOmKk51njz3ebkTodfesA8/g4YF05xlJZoMu51hIZbCbFdJs9w/rn5yrA 2FR8mraTuBJuk9g5xNCp2Xwb3XGV8e+Vadlmj1nefjZJwD6yzZh/xKu/zrOboGkwhtWKOd 4ExZDfGyUCV1/fd4ztqNcLM2JBSr7y0TmGOZ5II1ub33QZFL60rthsP73+8nS0TFxmnbyY Cr+GBMr+6F+MTRMA/q85fw1k/tyvzQ8SGjLe2LZIQFBsRfw6n4jN6EtJybc8Lg== Date: Wed, 06 Nov 2024 12:40:44 +0100 From: Alexander Leidinger To: Warner Losh Cc: Current FreeBSD Subject: Re: No valid device tree blob found! In-Reply-To: References: <8cf9adb0e7ca6340460c695ffd64a0df@Leidinger.net> <896b9ce404ffcb126dcdd6008583b117@Leidinger.net> Message-ID: Organization: No organization, this is a private message. Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=_e277f5c271432920d6c950fa8c55c57b"; micalg=pgp-sha256 X-Spamd-Result: default: False [-6.02 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.92)[-0.919]; DMARC_POLICY_ALLOW(-0.50)[leidinger.net,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[leidinger.net:s=outgoing-alex]; MIME_GOOD(-0.20)[multipart/signed,multipart/alternative,text/plain]; ARC_NA(0.00)[]; ASN(0.00)[asn:34240, ipnet:2a00:1828::/32, country:DE]; HAS_ORG_HEADER(0.00)[]; SUBJECT_ENDS_EXCLAIM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~]; DKIM_TRACE(0.00)[leidinger.net:+]; MID_RHS_MATCH_FROM(0.00)[]; MISSING_XM_UA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; HAS_ATTACHMENT(0.00)[] X-Rspamd-Queue-Id: 4Xk3Fr6kJGz4ndS X-Spamd-Bar: ------ This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --=_e277f5c271432920d6c950fa8c55c57b Content-Type: multipart/alternative; boundary="=_10124cbb036f15e80b76e9b0def799e4" --=_10124cbb036f15e80b76e9b0def799e4 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8; format=flowed Am 2024-11-02 17:08, schrieb Warner Losh: > On Sat, Nov 2, 2024, 10:03 AM Alexander Leidinger > wrote: > >> Am 2024-10-30 22:11, schrieb Alexander Leidinger: >> >>> WARNING! Trying to fire up the kernel, but no device tree blob found! >> >> For anyone interested, I opened >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282493 for this. > > Yea. This is a hang or a bad console. The warning is lame and > misleading. > > Can you bisect? Found it. # git bisect bad c87b3f0006be9ac5813f1ff636f18c9b4a41b08e is the first bad commit commit c87b3f0006be9ac5813f1ff636f18c9b4a41b08e (HEAD) Author: Warner Losh Date: Mon Oct 14 15:58:10 2024 -0600 uart: uart_getenv: check for NULL class last, not first This allows one to specify dt:XXXX when the default class isn't compiled into the kernel. It's not an error to not have a class until we're done parsing the spec, so defer checking until then. Sponsored by: Netflix Reviewed by: adrian, andrew, markj Differential Revision: https://reviews.freebsd.org/D47078 sys/dev/uart/uart_subr.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) -current as of today without this change boots just fine on the Ampere system in the Oracle cloud. Bye, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_10124cbb036f15e80b76e9b0def799e4 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

Am 2024-11-02 17:08, schrieb Warner Losh:



On Sat, Nov 2, 2024, 10:03=E2=80= =AFAM Alexander Leidinger <Alexander@leidinger.net> wrote:
Am 2024-10-30 22:11, schrieb Alexa= nder Leidinger:

> WARNING! Trying to fire up the kernel, but = no device tree blob found!

For anyone interested, I opened
https://bugs.freebsd.org/bugzill= a/show_bug.cgi?id=3D282493 for this.
 
Yea. This is a hang or a bad console. The warning is lame= and misleading.
 
Can you bisect?

Found it.

# git bisect bad
c87b3f0006be9ac5813f= 1ff636f18c9b4a41b08e is the first bad commit
commit c87b3f0006be9ac581= 3f1ff636f18c9b4a41b08e (HEAD)
Author: Warner Losh <imp@FreeBSD.org&= gt;
Date:   Mon Oct 14 15:58:10 2024 -0600

    uart: uart_getenv: check for= NULL class last, not first

    This allows one to specify d= t:XXXX when the default class isn't compiled
    into the ke= rnel. It's not an error to not have a class until we're done
  &n= bsp; parsing the spec, so defer checking until then.

    Sponsored by:     =       Netflix
    Reviewed by:     =        adrian, andrew, markj
    Differe= ntial Revision:  https://reviews.freebsd.org/D47078

 sys/dev/uart/uart_subr.c | 14 ++++++= +-------
 1 file changed, 7 insertions(+), 7 deletions(-)

-current as of today without this change boots just fine on the Ampere s= ystem in the Oracle cloud.

Bye,
Alexander.

--=_10124cbb036f15e80b76e9b0def799e4-- --=_e277f5c271432920d6c950fa8c55c57b Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc; size=833 Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmcrVcwACgkQEg2wmwP4 2IbOYg/9GTUrOb/+HuNYpItCnbpobhNJCH5uTQBaqOxqWC02OpvBYwZnNdaUEyLK Xa7IGRuAh2IC5ufQ862sfukNTUJUR5xt1A+O9vTr60v1feI9XfgiYor+CkDQoJP9 cfYJ07jiGKRpMNuZ8ykUI3BFfDzve8TzMfK/h+zkzr5xneooomO+Z2cznMetfjxK VZ7i1ikIo4Dla8ZHl23/BCp+bPHA2XCNizvVQXDQlxUiVNLS0G6LASYKIWUSuprN 5HvIrPr51DSehXJ6/qVnBXJkcEv8XM0Gws7601fnuYUeKAIOZBJfnZiY3dxx39Gt yq/d11rD+tp27YP8CY14P1vCIou61GvI1zHmwwi29ezSKobaH08AScCp6EUVcJEk DuP3z2z7jH0hpDhsNGLmlhU2imfezdx/AQu/YWNcEWpgk48wV15x6/TMCZmZMYzu 9cpXcEGHF8dsnShZy4vDQgeNIiXiD6pjbS4lNLg00KM6ocEgOhUQ8+bxOeLbB66H CmS2zVBZV/aWJUNJ5iDhqQfkFHzvmI9SBicyK/9fIiCXjYFcSqPpuonxE8GKoSA3 m3gg1tVq4xST4Zk5dVZFdDtd4tW03XZ+97qu43J4sd0BkmWtdTFfRlRFMlLwt09Q u5VPkuQRbwLf0miOFhPm0AV7b/7F3P4hBOdTv2jWPstU+VSSDXM= =Nh3/ -----END PGP SIGNATURE----- --=_e277f5c271432920d6c950fa8c55c57b--