From nobody Fri Nov 24 09:38:02 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 4Sc8zb05Fkz51xXs for ; Fri, 24 Nov 2023 09:38:03 +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 4Sc8zZ69J2z3fDK for ; Fri, 24 Nov 2023 09:38:02 +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=1700818682; 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=fKjV6uoVRQsSRAHQb20Q1qPBaNM5+CjaCtthYMeE3Hk=; b=FMqJltlWpcxnxN3KiQOnHgWovDHro7Z2H/psWyBrriavoUDw3mmR/DxVcBciOMAsBDPjox sdbVTsY2NVjz7O2rjYN+3hLrdk5fCe5nkaJ61isEWW5sjmTPzfE3CLpXUSm25WdLBiIsSH 0jQ6MJcNcUloHe+wKZiMuPca4/TVBCZHzK5+aB0z4lWfnYqSdtyVqFsUtWYpacrD6LLD3X YeZu4K14uyfm0qPwLBsyTDdGraVRPbIUElt4XVK7loZEUViFy6piREAmn8GgqDeu100TmI /7FgQya2bi1iGH8zfiyA6cAC3hKKZI+s36voKKve5DYNhUpMqqyP/TdPb5NaAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700818682; a=rsa-sha256; cv=none; b=IjZ5q80IIRVEUBEc0ATdIh1VwAPQ70NorU/+Mf9QWCw08ZCs344AfEFLp2gKtHliZDs858 p3NRk/pDmSg44Wb8EIYbG/NwWBucRewbjB5SR4Kq8qEWGLzkmgMSjHKKfXyYAFwWsGpGoU 9JwtM7iOB4vbmbBN8NDAkhL6Ze0g5kLcNIcvXdJz+rvxwGd5ZRIB4NQGlNucrbAgjSCRpN f8xm2/WHpn0q/QzV906m6Qb3xoa/GAurNST69dS3cRBD4EQWhE1qglvbp25BNE8R9nNmG1 /OHDAQkwLsstoFUVEJBvuMki3jzPdT9o3o53KD1JnD9YTnf3O7n5JsoftUvCVw== 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 4Sc8zZ5G3SzfvW for ; Fri, 24 Nov 2023 09:38:02 +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 3AO9c2TH039819 for ; Fri, 24 Nov 2023 09:38:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AO9c2NB039818 for virtualization@FreeBSD.org; Fri, 24 Nov 2023 09:38:02 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:38:02 +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 #18 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D231c5bc3a4c964746ccd21f3d447206= 17dd3d40a commit 231c5bc3a4c964746ccd21f3d44720617dd3d40a Author: Corvin K=C3=B6hne AuthorDate: 2023-11-16 05:58:01 +0000 Commit: Corvin K=C3=B6hne CommitDate: 2023-11-24 09:30:35 +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 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.=