From nobody Fri Nov 24 09:40:06 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 4Sc91z3vP7z51y7X for ; Fri, 24 Nov 2023 09:40:07 +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 4Sc91z0PmNz3fxB for ; Fri, 24 Nov 2023 09:40:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700818807; 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=cc2+U+Y3JYgj34XfUO+yCRDm5Y0eMiuKO5v5JO3PdBc=; b=S9XotC6Cuu2MEsfwH8TwRwhq5h8xAdCxCBTkiwlqU4PB4w/RjOy58yDvK16F03cWj0CY7p eeSvsS8yzmJkqSrkmoi3SNpV7xCt7wSB3wNIL/uD4yQZrdA7TDuTGi4pUKD2KXTZ571Vjj NOD7B7ApgUz2KFQGEY8yh1dO3KjqBAyn4qvL5sXrfTpN+eYfJgFIMuc4e+rCsn6WmOXZUK hcpJZcpcxZucmEbarB9q4wdxPc8B1A4/nEukopGkHmT2SixSIOboyrPS+6CUOd4PCeH7fa h4PePtlkDm7UX2BuH1Z7AWRvPXNQCYdH7FmyXMHJdSNvpgCwUERg4FpGKrZA9A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700818807; a=rsa-sha256; cv=none; b=TbBgybhJ2YI52au+amJYfpv63CLmumWZnSm7gEqTRtwys9HF4xMdR3/hBOi+2xk4FXc5PY 4j0GGQXROk2OCysZPgQjDyOW1nbxCOUPSX/9I86YnAuzFFZS8zv4mLJBSiXjXaY8ROb1Ek oI6kkymzE4CQEgKn8h6/t9mOMF2+nFYxqSpwOWxiVdXLvVgpBnHKMBKQ1X3mF65UXkG3iF hlNojm6p/U8fnXw/1W02S5woo4KYsuFKdICngsts95qNpucc+SRLeS2BgqipyNTMl6Mia9 RWC/M7hdpowdsX4xEdVWKyK7GFHx3bn875JZSLvnc/xISPQYD9ZDOi/4BkZbqg== 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 4Sc91y6dZlzgJx for ; Fri, 24 Nov 2023 09:40:06 +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 3AO9e6IS041906 for ; Fri, 24 Nov 2023 09:40:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AO9e6Ej041905 for virtualization@FreeBSD.org; Fri, 24 Nov 2023 09:40:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla 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: Fri, 24 Nov 2023 09:40:06 +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: commit-hook@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 #19 from commit-hook@FreeBSD.org --- A commit in branch 2023Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D9b7e23c09b6b4c693a89044b1dd848a= edfed0361 commit 9b7e23c09b6b4c693a89044b1dd848aedfed0361 Author: Corvin K=C3=B6hne AuthorDate: 2023-11-16 05:58:01 +0000 Commit: Corvin K=C3=B6hne CommitDate: 2023-11-24 09:38:53 +0000 sysutils/edk2: set IO port range properly for bhyve Bhyve uses an io port range of [ 0x2000, 0x10000 ] [1]. At the moment, EDKII is using a subset of this range [ 0xC000, 0x10000 ] [2]. Even though the EDKII range doesn't exceed the bhyve range, it's causing issues on some guests like OpenBSD. We don't know why it's causing issues yet. However, using the same IO port range in EDKII fixes the issue. [1] https://github.com/freebsd/freebsd-src/blob/82ea0132c8b17a7a6067c8a36c6434e= 587ede6de/usr.sbin/bhyve/pci_emul.c#L133-L134 [2] https://github.com/tianocore/edk2/blob/fb044b7fe893a4545995bfe2701fd38e5933= 55d9/OvmfPkg/Bhyve/PlatformPei/Platform.c#L156-L157 PR: 274389 Reviewed by: manu, markj Approved by: manu Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D42627 (cherry picked from commit 231c5bc3a4c964746ccd21f3d44720617dd3d40a) sysutils/edk2/Makefile | 2 +- .../files/patch-OvmfPkg_Bhyve_PlatformPei_Platform.c (new) | 13 +++++++++= ++++ 2 files changed, 14 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=