Date: Thu, 7 Nov 2024 20:46:34 -0800 From: Warner Losh <imp@bsdimp.com> To: Alexander Leidinger <Alexander@leidinger.net> Cc: Current FreeBSD <freebsd-current@freebsd.org> Subject: Re: No valid device tree blob found! Message-ID: <CANCZdfp=9RpRmSEFf37%2BO=q5ywAFZgM=VD2Kg0qLXLrfx9izfQ@mail.gmail.com> In-Reply-To: <132ca9158817a4706d1b9e78c3567973@Leidinger.net> References: <8cf9adb0e7ca6340460c695ffd64a0df@Leidinger.net> <896b9ce404ffcb126dcdd6008583b117@Leidinger.net> <CANCZdfr4qGgyt=fN4%2BJiFytthjseNo_2B0LVXHZNH93Y3vqEVg@mail.gmail.com> <a007694a811d1daa48703236b3eba007@Leidinger.net> <CANCZdfq%2BUuP7Ya69jz5jnoBB1Cg2Y-sHq1g%2BixsmEvjU7cSipA@mail.gmail.com> <132ca9158817a4706d1b9e78c3567973@Leidinger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000002f0a9806265f7056 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable OK. I'm confused... but no matter. Three more things to help... (1) kenv after boot with a fixed kernel (2) sudo efivar --device-path 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConIn (3) sudo efivar --device-path 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOut Warner On Thu, Nov 7, 2024 at 2:41=E2=80=AFPM Alexander Leidinger <Alexander@leidi= nger.net> wrote: > Am 2024-11-07 20:59, schrieb Warner Losh: > > > > On Wed, Nov 6, 2024 at 3:41=E2=80=AFAM Alexander Leidinger < > Alexander@leidinger.net> wrote: > > Am 2024-11-02 17:08, schrieb Warner Losh: > > > > On Sat, Nov 2, 2024, 10:03=E2=80=AFAM Alexander Leidinger <Alexander@leid= inger.net> > 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 <imp@FreeBSD.org> > 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... > > loader.conf: > > autoboot_delay=3D"1" > hw.usb.no_boot_wait=3D"0" > beastie_disable=3D"YES" > boot_serial=3D"YES" > loader_logo=3D"none" > cryptodev_load=3D"YES" > xz_load=3D"YES" > zfs_load=3D"YES" > geom_eli_load=3D"YES" > > tcphpts_load=3D"yes" > tcp_rack_load=3D"YES" > > hw.mca.enabled=3D"1" > vm.exec_map_entries=3D"32" > > net.link.ifqmaxlen=3D"256" > net.inet.tcp.soreceive_stream=3D"1" > kern.random.fortuna.concurrent_read=3D"1" > kern.msgbuf_show_timestamp=3D"1" > > Bye, > Alexander. > -- > http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF > http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF > --0000000000002f0a9806265f7056 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">OK. I'm confused... but no matter.=C2=A0<div><br></div= ><div>Three more things to help...=C2=A0</div><div>(1) kenv after boot with= a fixed kernel</div><div>(2) sudo efivar --device-path 8be4df61-93ca-11d2-= aa0d-00e098032b8c-ConIn</div><div>(3) sudo efivar --device-path 8be4df61-93= ca-11d2-aa0d-00e098032b8c-ConOut</div><div><br></div><div>Warner</div></div= ><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Th= u, Nov 7, 2024 at 2:41=E2=80=AFPM Alexander Leidinger <<a href=3D"mailto= :Alexander@leidinger.net" target=3D"_blank">Alexander@leidinger.net</a>>= wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px = 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div sty= le=3D"font-size:10pt;font-family:Verdana,Geneva,sans-serif"> <p id=3D"m_4714275516160504349m_-1080165619656712267reply-intro">Am 2024-11= -07 20:59, schrieb Warner Losh:</p> <blockquote type=3D"cite" style=3D"padding:0px 0.4em;border-left:2px solid = rgb(16,16,255);margin:0px"> <div id=3D"m_4714275516160504349m_-1080165619656712267replybody1"> <div dir=3D"ltr"> <div dir=3D"ltr">=C2=A0</div> <br> <div> <div dir=3D"ltr">On Wed, Nov 6, 2024 at 3:41=E2=80=AFAM Alexander Leidinger= <<a href=3D"mailto:Alexander@leidinger.net" rel=3D"noreferrer" target= =3D"_blank">Alexander@leidinger.net</a>> wrote:</div> <blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204= ,204,204);padding-left:1ex"> <div style=3D"font-size:10pt;font-family:Verdana,Geneva,sans-serif"> <div style=3D"font-size:10pt;font-family:Verdana,Geneva,sans-serif"> <p id=3D"m_4714275516160504349m_-1080165619656712267v1m_33128641647853291v1= reply-intro">Am 2024-11-02 17:08, schrieb Warner Losh:</p> <blockquote style=3D"padding:0px 0.4em;border-left:2px solid rgb(16,16,255)= ;margin:0px"> <div id=3D"m_4714275516160504349m_-1080165619656712267v1m_33128641647853291= v1replybody1"> <div dir=3D"auto"> <div><br><br> <div> <div dir=3D"ltr">On Sat, Nov 2, 2024, 10:03=E2=80=AFAM Alexander Leidinger = <<a href=3D"mailto:Alexander@leidinger.net" rel=3D"noreferrer" target=3D= "_blank">Alexander@leidinger.net</a>> wrote:</div> <blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204= ,204,204);padding-left:1ex">Am 2024-10-30 22:11, schrieb Alexander Leidinge= r:<br><br>> WARNING! Trying to fire up the kernel, but no device tree bl= ob found!<br><br>For anyone interested, I opened <br><a href=3D"https://bug= s.freebsd.org/bugzilla/show_bug.cgi?id=3D282493" rel=3D"noopener noreferrer= " target=3D"_blank">https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282= 493</a> for this.</blockquote> </div> </div> <div dir=3D"auto">=C2=A0</div> <div dir=3D"auto">Yea. This is a hang or a bad console. The warning is lame= and misleading.</div> <div dir=3D"auto">=C2=A0</div> <div dir=3D"auto">Can you bisect?</div> </div> </div> </blockquote> <p>Found it.</p> <p style=3D"padding-left:40px"># git bisect bad<br>c87b3f0006be9ac5813f1ff6= 36f18c9b4a41b08e is the first bad commit<br>commit c87b3f0006be9ac5813f1ff6= 36f18c9b4a41b08e (HEAD)<br>Author: Warner Losh <imp@FreeBSD.org><br>D= ate: =C2=A0 Mon Oct 14 15:58:10 2024 -0600</p> <p style=3D"padding-left:40px">=C2=A0 =C2=A0 uart: uart_getenv: check for N= ULL class last, not first</p> <p style=3D"padding-left:40px">=C2=A0 =C2=A0 This allows one to specify dt:= XXXX when the default class isn't compiled<br>=C2=A0 =C2=A0 into the ke= rnel. It's not an error to not have a class until we're done<br>=C2= =A0 =C2=A0 parsing the spec, so defer checking until then.</p> <p style=3D"padding-left:40px">=C2=A0 =C2=A0 Sponsored by: =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 Netflix<br>=C2=A0 =C2=A0 Reviewed by: =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0adrian, andrew, markj<br>=C2=A0 =C2=A0 Different= ial Revision: =C2=A0<a href=3D"https://reviews.freebsd.org/D47078" rel=3D"n= oopener noreferrer" target=3D"_blank">https://reviews.freebsd.org/D47078</a= ></p> <p style=3D"padding-left:40px">=C2=A0sys/dev/uart/uart_subr.c | 14 +++++++-= ------<br>=C2=A01 file changed, 7 insertions(+), 7 deletions(-)</p> <p>-current as of today without this change boots just fine on the Ampere s= ystem in the Oracle cloud.</p> </div> </div> </blockquote> <div>=C2=A0</div> <div>what's your loader.conf? this should only matter if something is s= et there...=C2=A0=C2=A0</div> </div> </div> </div> </blockquote> <p>loader.conf:</p> <p style=3D"padding-left:40px">autoboot_delay=3D"1"<br>hw.usb.no_= boot_wait=3D"0"<br>beastie_disable=3D"YES"<br>boot_seri= al=3D"YES"<br>loader_logo=3D"none"<br>cryptodev_load=3D= "YES"<br>xz_load=3D"YES"<br>zfs_load=3D"YES"<= br>geom_eli_load=3D"YES"</p> <p style=3D"padding-left:40px">tcphpts_load=3D"yes"<br>tcp_rack_l= oad=3D"YES"</p> <p style=3D"padding-left:40px">hw.mca.enabled=3D"1"<br>vm.exec_ma= p_entries=3D"32"</p> <p style=3D"padding-left:40px">net.link.ifqmaxlen=3D"256"<br>net.= inet.tcp.soreceive_stream=3D"1"<br>kern.random.fortuna.concurrent= _read=3D"1"<br>kern.msgbuf_show_timestamp=3D"1"</p> <p>Bye,<br>Alexander.</p> <div id=3D"m_4714275516160504349m_-1080165619656712267signature">-- <br> <div style=3D"margin:0px;padding:0px;font-family:monospace"><a href=3D"http= ://www.Leidinger.net" rel=3D"noopener noreferrer" target=3D"_blank">http://= www.Leidinger.net</a> <a href=3D"mailto:Alexander@Leidinger.net:" target=3D= "_blank">Alexander@Leidinger.net:</a> PGP 0x8F31830F9F2772BF<br><a href=3D"= http://www.FreeBSD.org" rel=3D"noopener noreferrer" target=3D"_blank">http:= //www.FreeBSD.org</a> =C2=A0 =C2=A0<a href=3D"mailto:netchild@FreeBSD.org" = target=3D"_blank">netchild@FreeBSD.org</a> =C2=A0: PGP 0x8F31830F9F2772BF</= div> </div> </div> </blockquote></div> --0000000000002f0a9806265f7056--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfp=9RpRmSEFf37%2BO=q5ywAFZgM=VD2Kg0qLXLrfx9izfQ>