From nobody Tue Oct 24 07:52:40 2023 X-Original-To: virtualization@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 4SF46K1kPjz4xhFb for ; Tue, 24 Oct 2023 07:52:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SF46K0Q7Jz3Wl4 for ; Tue, 24 Oct 2023 07:52:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698133961; a=rsa-sha256; cv=none; b=f0v11IvM/VPs3cUcbMx3Crq5qcMEk2QcnOUQWfPIJX54Ngf5P4oQb9kl57lYYEruhs3qDw GOy+nv79QjMUlTdeU7sDt3FV3dvDZho8vi2puvXNT4pw6e3x4zmM5B7Qbc2Gy43YF6Q3Vn 1yFmY6IJjE6lE61esWsJdOZp1DixYOMU6jwbU5DEuJvXJFQPZluEYUxnO4VtN9Ps4axw1x veHma5qtu/nPdFPhm/jq/Db7cjUdQkSBh4lxiJyjCiuxStbNmPsdLNuxFn2ZnpkdVQLvG4 aBpJLBnAT8p6yvdO2oQR+bq0VzsUIrfAKxKloGhT0rWFD6kVxX1JYoSinduSAQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698133961; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RiMjf5nnSKhIWTJMcwO/5jpCG7ViPtebLKbp+rpDgJ0=; b=G0JYqoTdRgGzO5xuLAqUWoFwYQd/tNDCNr8nGIzDCi8+282LBPLg+SWnq1WuEywatTmY1U W5aZid4NHP2U5O89Ofx8Dyu+mu/nd5F/KK1+fsqOGZcExzVQiEuIU1VkvHWUxkg5m7Q5RN YKfRjydqL2rSRHv1IKid6jNmDDk/Vftiq2xMeQ7EDohSTr3F6u7nz4RvjcB/Ditt6eHc43 Oq+macnImguZhM1MKCgFXcGNHUukmdsplX1kF5mDqt21ouJFq2d6OQhFk/LwR0dq2y5jgO 4agPrxZdMzDfUvwqxf+wdWRs8jG/BN2iP0grdvuhCiNYbdRtRKEffgGenMyl4A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SF46J6bxyzRs for ; Tue, 24 Oct 2023 07:52:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 39O7qenq070558 for ; Tue, 24 Oct 2023 07:52:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39O7qe4M070557 for virtualization@FreeBSD.org; Tue, 24 Oct 2023 07:52:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 274389] bhyve in 15-CURRENT unable to boot OpenBSD anymore Date: Tue, 24 Oct 2023 07:52:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: bhyve, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: corvink@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274389 --- Comment #12 from Corvin K=C3=B6hne --- I've enabled BAR remapping in edk2 because it's required for ROM execution (e.g. PXE or VGA ROM) and VGA ROM shadowing. See https://github.com/tianocore/edk2/commit/70f3e62dc73d28962b833373246ef25c86= 5c575e. The remapping range of OVMF is defined by: https://github.com/tianocore/edk2/blob/fb044b7fe893a4545995bfe2701fd38e5933= 55d9/OvmfPkg/Bhyve/PlatformPei/Platform.c#L156-L157 (base =3D 0xC000, size =3D 0x4000). We may want to update those values to m= atch our bhyve io range or we may want to adjust our bhyve io range: https://github.com/freebsd/freebsd-src/blob/82ea0132c8b17a7a6067c8a36c6434e= 587ede6de/usr.sbin/bhyve/pci_emul.c#L133-L134 (base =3D 0x2000, size =3D 0x10000). Nevertheless, the OVMF range is part o= f the bhyve io range. So, that shouldn't be an issue. Another difference: Latest OVMF installs the ACPI tables provided by bhyve, while the old one uses static tables. However, bhyve's tables should report= a correct io range (not checked yet) while it looks like the static ones do report a faulty one: https://github.com/tianocore/edk2/blob/fb044b7fe893a4545995bfe2701fd38e5933= 55d9/OvmfPkg/Bhyve/AcpiTables/Dsdt.asl#L77-L83 (base =3D 0x0D00, size =3D 0xF300) --=20 You are receiving this mail because: You are the assignee for the bug.=