From nobody Mon Oct 23 21:18:25 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 4SDp2V1K6xz4yVld for ; Mon, 23 Oct 2023 21:18:26 +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 4SDp2V0GZ1z3V8Q for ; Mon, 23 Oct 2023 21:18:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698095906; a=rsa-sha256; cv=none; b=Xv+iA39DB7aTYOunpdxnX40dtU9cooPiBgbzzdrPidA9nAuNit4m+2AmaBtuMYnBgRxzFd eZxqrBJp/XS1zT6O07RioSINiTOicnnv1IqgFUHyLIzfALZZs15XAwgoiEruEn4FB63WN2 JAm47o626agaiNovvIF28wSO7O9g/8zrUPI9vHf9zDaUJs24cvxsQyaJOSYvGmU9W6C9zH mcXAluOD/vETWoSwpRC51VVcMzXIuclK32Jej70nXKfVCBSdcXhJISi4K3OFZqZuR/IKyt odh2ySwGDVHf6JIiwMHvUCWxxRy+MA5JcTfAkecVIW8wDglvMBg8Mnj5EJGqmg== 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=1698095906; 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=pqzWa89WhZeRJeKdAVdxS3NEsoly+w1FTtGbv6PHSjo=; b=duihV7RQWdbleP8/gBV2Z5DQphF86/1/SkKhicvWauVfg0GmfAVjP2di1slUZpU0Y0YHmp m6c8xQNBLvVvU0U2+AfNxnbPj6iAp2JwHRR1eXDxWeP1fwWwVBYLsygiJEfGvjW6mV8iTm iAUkOBdkxG5md0/Uq03pAOScROuFfyBcuJButLDpU7gPYZgd6wle2tGz81mIv8qDDodjFw m8xvpEbXiFMSlE82lUxHSYdd+hmaeggRJ/XSwuTueChrLxFJVZCXc4inGT6iuHN2ZSoAVs HOUQOMvdbuL6cvvzCplrU+v67ob6mugZa7Zj2aUPt1WfWFOibzJKNh0OkjUpTA== 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 4SDp2T6TPHzvfk for ; Mon, 23 Oct 2023 21:18:25 +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 39NLIPPI073995 for ; Mon, 23 Oct 2023 21:18:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39NLIPL7073994 for virtualization@FreeBSD.org; Mon, 23 Oct 2023 21:18:25 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: Mon, 23 Oct 2023 21:18:25 +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: jhb@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 #8 from John Baldwin --- So it's an OS bug that it's writing 0 to "disable" a BAR as that doesn't wo= rk.=20 However, bhyve crashing isn't really ideal either. For a case like this wh= ere there is a conflict, I think we should do something that isn't a crash.=20 Probably the guest OS will assign a new range in the future if it actually cares about the BAR in question. The simplest approach might be to let the "first" BAR that claims a region win and have other register attempts simply fail (but mark the BAR as "unmapped" so we don't try to unregister it in the future). This would not fix the edge case that if the first device to regi= ster the range moves its BAR (or disables decoding), the second device's BAR wou= ld not start working, instead it would remain disabled. However, given how od= d of a case this is, I'm fine with that. Note that this is just about the assertion failure, and it doesn't help with the first error reported as the original bug here which I think we still do= n't understand. --=20 You are receiving this mail because: You are the assignee for the bug.=