From nobody Wed Oct 6 12:22:52 2021 X-Original-To: freebsd-stable@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 8390F12D9E15 for ; Wed, 6 Oct 2021 12:23:05 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HPYWY0YSMz3D3w for ; Wed, 6 Oct 2021 12:23:04 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from kalamity.joker.local (123-48-130-181.area1b.commufa.jp [123.48.130.181]) (authenticated bits=0) by www121.sakura.ne.jp (8.16.1/8.16.1/[SAKURA-WEB]/20201212) with ESMTPA id 196CMqxV021973; Wed, 6 Oct 2021 21:22:53 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Wed, 6 Oct 2021 21:22:52 +0900 From: Tomoaki AOKI To: freebsd-stable@freebsd.org Cc: ruben@verweg.com, imp@bsdimp.com Subject: Re: No ConOut(Dev) on ASUS PRIME Z590M-PLUS UEFI Message-Id: <20211006212252.17e7382482ffa4dc9ddc4e49@dec.sakura.ne.jp> In-Reply-To: <14294C07-BBD3-4DDD-A952-9BBEC75D08F6@verweg.com> References: <14294C07-BBD3-4DDD-A952-9BBEC75D08F6@verweg.com> Reply-To: junchoon@dec.sakura.ne.jp Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4HPYWY0YSMz3D3w X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Wed, 6 Oct 2021 10:59:55 +0200 Ruben van Staveren via freebsd-stable wrote: > > > > On 6 Oct 2021, at 05:20, Warner Losh wrote: > > > > 〓 > > > > > >> On Tue, Oct 5, 2021, 12:17 PM Ruben van Staveren via freebsd-stable wrote: > >> > > > > > > Can you pipe this through '| carbs sudo efivar --devicepath' please? > > sudo efivar | grep -- -Con | carbs sudo efivar --device-path > 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConIn > : PciRoot(0x0)/Pci(0x14,0x0)/USB(0x1,0x0)/USB(0x1,0x0),/PciRoot(0x0)/Pci(0x14,0x0)/USB(0x1,0x0)/USB(0x3,0x0) > > 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConInDev > : PciRoot(0x0)/Pci(0x14,0x0)/USB(0x1,0x0)/USB(0x1,0x0),/PciRoot(0x0)/Pci(0x14,0x0)/USB(0x1,0x0)/USB(0x3,0x0) > > > Warner > >> > > I wonder if this has something to do with secure boot restrictions, the documentation of that motherboard is quite heavy on it. This is disabled as far as I know, as all SATA/NVMe storage is available. At first I thought this might be due to the intel i9-11900T video not supported yet, but also with a GeForce GT 710 installed the video doesn’t work in UEFI mode. > > Best Regards, > Ruben Just a thought reading web page [1]. The motherbord actually uses just the same device path as ConIn, but does NOT set ConOut and ConOutDev erroneously. If so, we would need trying device path of conIn for ConOut, if not set. [1] https://edk2-docs.gitbook.io/edk-ii-uefi-driver-writer-s-guide/3_foundation/readme.15/3157_conout Just FYI, my ThinkPad P52 with nvidia GPU, UEFI boot is working, shows output of `efivar | grep -- -Con | xargs efivar --device-path` 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOutDev : PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/AcpiAdr(0x80010100) 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConInDev : PciRoot(0x0)/Pci(0x1f,0x0)/Acpi(PNP0303,0x0) 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOut : PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/AcpiAdr(0x80010100) 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConIn : PciRoot(0x0)/Pci(0x1f, 0x0)/Acpi(PNP0303,0x0),/VenHw(87c8ba12-5952-4012-8297-dede395f5d5b),/PciRoot(0x0)/Pci(0x1f, 0x0)/Acpi(PNP0f03,0x0),/VenHw(ea52f05f-ee81-45b7-807a-ceefbe9ba6c2),/PciRoot(0x0)/Pci(0x14,0x0)/USB(0x5,0x0),/PciRoot(0x0)/Pci(0x14,0x0)/USB(0x3,0x0)/USB(0x0,0x0),/PciRoot(0x0)/Pci(0x14,0x0)/USB(0x0,0x0) -- Tomoaki AOKI