Date: Thu, 7 Mar 2024 17:26:52 -0700 From: Warner Losh <imp@bsdimp.com> To: Doug Ambrisko <ambrisko@ambrisko.com> Cc: Philipp Ost <pj@smo.de>, current@freebsd.org, Klaus-Dieter Ost <kdo@smo.de> Subject: Re: Unable to boot -CURRENT on Thinkpad P16s G2 Message-ID: <CANCZdfp4tcYr%2BXSWf6L87OS0vQpG0ePe=VaPzfGu5XD6xoMgew@mail.gmail.com> In-Reply-To: <ZepSob8RM9W6tCXN@ambrisko.com> References: <dc14d2de-aeef-434f-823e-9ca69e62e77c@smo.de> <283774ec-156b-4bc8-850d-261ea0e0ed07@smo.de> <ZepSob8RM9W6tCXN@ambrisko.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000004756a206131b4017 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Mar 7, 2024 at 4:50=E2=80=AFPM Doug Ambrisko <ambrisko@ambrisko.com= > wrote: > On Thu, Mar 07, 2024 at 07:15:48PM +0100, Philipp Ost wrote: > | On 2/28/24 21:10, Philipp Ost wrote: > | [boot log stripped] > | > Does anyone have any suggestions on how to proceed at this point? [..= .] > | > | Short follow-up: disabling uart0 and uart1 at the loader prompt allowed > us > | to boot and install FreeBSD (the -CURRENT snapshot from 2024-02-29 in > case > | it matters). > > UARTS on AMD can be a bit different. Some BIOS implementations seem > to set them up to work like legacy ports others do not. On a Naples > platform I helped add support for them since they were not setup > in the legacy configuration. The AMD servers I'm using now have them > setup in legacy mode and just work like on other systems. > > If I remember right those UARTS were defined in ACPI. On a laptop they > probably don't have serial ports and the probe is getting stuck on > something. It might be good to instrument it to see what. > It might also be time to finally drop the UART fallback when ACPI is present. I've seen spotty reports of accessing these registers (for uart, kbd and maybe mouse) causing problems. The ACPI definition of the UARTs would be additional uart units. The fallback stuff is needed only for extremely edge cases at this point. Warner --0000000000004756a206131b4017 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">On Thu, Mar 7, 2024 at 4:50=E2=80=AFP= M Doug Ambrisko <<a href=3D"mailto:ambrisko@ambrisko.com">ambrisko@ambri= sko.com</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-lef= t:1ex">On Thu, Mar 07, 2024 at 07:15:48PM +0100, Philipp Ost wrote:<br> | On 2/28/24 21:10, Philipp Ost wrote:<br> | [boot log stripped]<br> | > Does anyone have any suggestions on how to proceed at this point? [.= ..]<br> | <br> | Short follow-up: disabling uart0 and uart1 at the loader prompt allowed u= s<br> | to boot and install FreeBSD (the -CURRENT snapshot from 2024-02-29 in cas= e<br> | it matters).<br> <br> UARTS on AMD can be a bit different.=C2=A0 Some BIOS implementations seem<b= r> to set them up to work like legacy ports others do not.=C2=A0 On a Naples<b= r> platform I helped add support for them since they were not setup<br> in the legacy configuration.=C2=A0 The AMD servers I'm using now have t= hem<br> setup in legacy mode and just work like on other systems.<br> <br> If I remember right those UARTS were defined in ACPI.=C2=A0 On a laptop the= y<br> probably don't have serial ports and the probe is getting stuck on<br> something.=C2=A0 It might be good to instrument it to see what.<br></blockq= uote><div><br></div><div>It might also be time to finally drop the UART fal= lback when ACPI is present.</div><div>I've seen spotty reports of acces= sing these registers (for uart, kbd and maybe</div><div>mouse) causing prob= lems. The ACPI definition of the UARTs would be additional</div><div>uart u= nits. The fallback stuff is needed only for extremely edge cases at this po= int.</div><div><br></div><div>Warner</div><div><br></div></div></div> --0000000000004756a206131b4017--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfp4tcYr%2BXSWf6L87OS0vQpG0ePe=VaPzfGu5XD6xoMgew>