From nobody Thu Nov 7 19:59:18 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 4XktFc53txz5cVlp for ; Thu, 07 Nov 2024 19:59:32 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XktFb5VNYz4lpf for ; Thu, 7 Nov 2024 19:59:31 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20230601.gappssmtp.com header.s=20230601 header.b=AhJxmeNU; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::102c) smtp.mailfrom=wlosh@bsdimp.com; dmarc=none Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-2e2ad9825a7so1080899a91.0 for ; Thu, 07 Nov 2024 11:59:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1731009570; x=1731614370; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=IZLY9v1plm78WYOTtBitTbNHqCwNiRO/EPAeV9uHWlM=; b=AhJxmeNUPdWTY3x1dplcBirbJAxLr1lit7XFf/A/R3z6Vm1JCc5F3Wso0m1JmwBfSM GFC28xo2pzFScDEWoSzlfcKW4avtodVfpzaWJ4Z4HkMuKIn2K6v3ODv+s1BgaisolSdh oQFkGOludBGrk1xV6KL0RPGX9o9kv4KhYCTt9NnquMVgbHecgPeqvkQl8SkHiCIDSWWb nx7BgiYea+R2nYrEGO1VUnXFhoikVYAd6zBVB7yZLymceiBkTVee1KK1Y97FjeNqd9Lb 55bnS939zX9GT7LmDFRUJshAW0U4sLM1RhyuXdEtW1XC1PhsjLyh7qL8SpXcfaELZImj auIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731009570; x=1731614370; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=IZLY9v1plm78WYOTtBitTbNHqCwNiRO/EPAeV9uHWlM=; b=JQGRTdV4AiduYk2m/2PqhcD6e9Fj/szYymJju8p/xn/DzyM7uuc9h+7hLZZ2zaPgzA zOidHvo/Zr+ip8ithxTpFa8z1h1W4zBAZRIQxLUls/jd1NFXujZ7maI6ky3EZ3F40Nqy /A9QBBvlt3+kTQCKv15/5gWUYZyPGn2oTQV9pOlDXIVPmDPrMpxYbU/FKCRhmhVLTZNh bBT420E4hz0HSbzkrBhm863iiYBl7MByshTOaC/R1VC1GLnE6F7ZoHbmrMMUaEF9gzbg JxlHvAXrLbcNDW7RHWONDaJKqM07WIQ3KmDOF8erAYtXt09RvGE6p4FIv9e7Jc9eUwSD 5E0A== X-Gm-Message-State: AOJu0Yw6Rt2eyb+fZAPvfghK81XfGZMa0Tg34YqNjyiesPUZQqxIjtHB 82XzId7tNxXDgW1UGr0fLPy2S8fT8K8ic6FYXsXmM6wNiIpc9FEn8kHIOFtbZc+WjaRfPCD3yoC Isj6kpWexP2R7EIHOzW+GqAYHGO6qRdmIDUvAFNlgmSk1PVSjmMrJLQ== X-Google-Smtp-Source: AGHT+IEOEe5iA38hTfGp6namvvG0S1KYzH+qd25ctyJJeImKdP2ofCVnQJU3cFUwJ6AR2rmV+pRzMuNXUbiUhshLVag= X-Received: by 2002:a17:90b:4acb:b0:2e2:af53:9326 with SMTP id 98e67ed59e1d1-2e9b177fc76mr568931a91.30.1731009570229; Thu, 07 Nov 2024 11:59:30 -0800 (PST) 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 References: <8cf9adb0e7ca6340460c695ffd64a0df@Leidinger.net> <896b9ce404ffcb126dcdd6008583b117@Leidinger.net> In-Reply-To: From: Warner Losh Date: Thu, 7 Nov 2024 11:59:18 -0800 Message-ID: Subject: Re: No valid device tree blob found! To: Alexander Leidinger Cc: Current FreeBSD Content-Type: multipart/alternative; boundary="000000000000897232062658128b" X-Spamd-Result: default: False [-3.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_ONE(0.00)[1]; R_SPF_NA(0.00)[no SPF record]; SUBJECT_ENDS_EXCLAIM(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MISSING_XM_UA(0.00)[]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[bsdimp.com]; RCPT_COUNT_TWO(0.00)[2]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::102c:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[bsdimp-com.20230601.gappssmtp.com:+] X-Rspamd-Queue-Id: 4XktFb5VNYz4lpf X-Spamd-Bar: -- --000000000000897232062658128b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Nov 6, 2024 at 3:41=E2=80=AFAM Alexander Leidinger wrote: > Am 2024-11-02 17:08, schrieb Warner Losh: > > > > On Sat, Nov 2, 2024, 10:03=E2=80=AFAM 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=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 > 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 do= ne > 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. > what's your loader.conf? this should only matter if something is set there... Warner --000000000000897232062658128b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Wed, Nov 6, 2024 at 3:41=E2=80=AFA= M Alexander Leidinger <Alexan= der@leidinger.net> wrote:

Am 2024-11-02 17:08, schrieb War= ner Losh:



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

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

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

Found it.

# git bisect bad
c87b3f0006be9ac5813f1ff6= 36f18c9b4a41b08e is the first bad commit
commit c87b3f0006be9ac5813f1ff6= 36f18c9b4a41b08e (HEAD)
Author: Warner Losh <imp@FreeBSD.org>
D= ate: =C2=A0 Mon Oct 14 15:58:10 2024 -0600

=C2=A0 =C2=A0 uart: uart_getenv: check for N= ULL class last, not first

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

=C2=A0 =C2=A0 Sponsored by: =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 Netflix
=C2=A0 =C2=A0 Reviewed by: =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0adrian, andrew, markj
=C2=A0 =C2=A0 Different= ial Revision: =C2=A0https://reviews.freebsd.org/D47078

=C2=A0sys/dev/uart/uart_subr.c | 14 +++++++-= ------
=C2=A01 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.


= what's your loader.conf? this should only matter if something is set th= ere...=C2=A0=C2=A0

Warner=C2=A0
--000000000000897232062658128b--