From nobody Fri Mar 08 00:26:52 2024 X-Original-To: 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 4TrRnR2Ny7z5CPvX for ; Fri, 8 Mar 2024 00:27:07 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TrRnR0PGSz4BGj for ; Fri, 8 Mar 2024 00:27:07 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-567fbbd723cso295243a12.3 for ; Thu, 07 Mar 2024 16:27:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1709857624; x=1710462424; 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=UXUK9k3Ho7083h1bZqGvVmqu5CthXYiVm6wQcY2/Bdo=; b=h5tjpNBIoyWbP2qGtxVnkLlIN8Qqqn5bFzZKj5MXGg3ofJimcBUAmYchHzLk4VpPKt H9ZXcnhmpUGnC/PhgWlCh+cxrph/L3AmEcyvJDA4EEbm8Z7Vbux9em2tr6vxmrh4hEzD PUGSzXumSq9qs5GEdIB2bQ8R/B/U4zmVyhXj4Ksi8U8Zx6vwYBSEFj4s+3w2tkRXjXcb YFjTOH9IIH6sua9HTg44z38XzbccncZl0NAcy/gTSO4gkpvt0mZBfTP40x9XnVc+gj2W NDAoDVgVF3oeeWoggMM5ux5QBfJjMN+Benbe8EbwrTDhgQs3pS6hV6yj6hhpX5R1qTHv pGPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709857624; x=1710462424; 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=UXUK9k3Ho7083h1bZqGvVmqu5CthXYiVm6wQcY2/Bdo=; b=v695IVWcMSaQp8xxgJfOX6HCldt5C/nfhPL3VyLfj8eWrpjRuPPDRymh5SXQQSreqr zsUSs+8tX40TXDqFImZI5wHNayCRmENO2Uo0D05yFya9S9mGKRcwEJBe1NUu0VHBNtAY vKqKHbJFWEnBv4yEua0cAMkFQrHqr1QyDDAydhbn7vNP54AgYmrshjBhTRppMwbQ0XPa OzdQZXGdzOljAV5sQ8Za+XEv/4KjHaia7PGtA3k5a4AML9BDmGM8viylOujQDXW6cNY5 sw0WHJHUoiuZB28sCt9hgFW+SxX24Sc9u7HGPXsklGFncT4YwoUdeVPaKvNzM4PMFJWG 2wkA== X-Forwarded-Encrypted: i=1; AJvYcCVACDaJ1Q17SbL+QDArl/m0mYgde7zBxAnFwDVtyoW+sOqhre7vAwqVbkNi5i5qGbs2zYUgYZBiYv/mJNb52oSIODvF X-Gm-Message-State: AOJu0Ywt74xlAGFwxpuPCUX4LhAsxVnXBeNWIjFpuCuFg5yemi+7EqpO ZE43KCwIQ5TNnbKmgoHZNcP7Z2bGNDtF/Re8+lggk9k+XnpQ2bppsTSK9QQPC/zWNzPw7hArzZC URiO4PH4y+eMjVSBFGenxqmB7AcCC/e0qnYXu7difBgAwxNHP+qY= X-Google-Smtp-Source: AGHT+IEVuK3G1gugJdMio6aP4q+ozHEEWqDNoUvijNNa4LqcMniYJKjU/pyqsE+ojlwdVyGvnR/1xqP6kM0PGM2r3Ok= X-Received: by 2002:a17:906:a896:b0:a45:bcac:c7e0 with SMTP id ha22-20020a170906a89600b00a45bcacc7e0mr3795435ejb.65.1709857623717; Thu, 07 Mar 2024 16:27:03 -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: <283774ec-156b-4bc8-850d-261ea0e0ed07@smo.de> In-Reply-To: From: Warner Losh Date: Thu, 7 Mar 2024 17:26:52 -0700 Message-ID: Subject: Re: Unable to boot -CURRENT on Thinkpad P16s G2 To: Doug Ambrisko Cc: Philipp Ost , current@freebsd.org, Klaus-Dieter Ost Content-Type: multipart/alternative; boundary="0000000000004756a206131b4017" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4TrRnR0PGSz4BGj --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 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


=
On Thu, Mar 7, 2024 at 4:50=E2=80=AFP= M Doug Ambrisko <ambrisko@ambri= sko.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 u= s
| to boot and install FreeBSD (the -CURRENT snapshot from 2024-02-29 in cas= e
| it matters).

UARTS on AMD can be a bit different.=C2=A0 Some BIOS implementations seem to set them up to work like legacy ports others do not.=C2=A0 On a Naples platform I helped add support for them since they were not setup
in the legacy configuration.=C2=A0 The AMD servers I'm using now have t= hem
setup in legacy mode and just work like on other systems.

If I remember right those UARTS were defined in ACPI.=C2=A0 On a laptop the= y
probably don't have serial ports and the probe is getting stuck on
something.=C2=A0 It might be good to instrument it to see what.

It might also be time to finally drop the UART fal= lback when ACPI is present.
I've seen spotty reports of acces= sing these registers (for uart, kbd and maybe
mouse) causing prob= lems. The ACPI definition of the UARTs would be additional
uart u= nits. The fallback stuff is needed only for extremely edge cases at this po= int.

Warner

--0000000000004756a206131b4017--