From nobody Mon Nov 18 18:03:46 2024 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 4Xsb8z0DZmz5dP0v for ; Mon, 18 Nov 2024 18:03:47 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xsb8y64R6z47v7 for ; Mon, 18 Nov 2024 18:03:46 +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=1731953026; 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; bh=xiPJSWNvkt/bByKlUxliKNsavyD/7LTxj8mcCtmEz5w=; b=OWlhg4hurrxI9QEuvtW58nn+cwpS5R504fKDzsJuSXu1oOI+UwWGvx+Xuz/fF4x4ZJzc/c jfMFgurIwpx5LZOWI3APHS42ozzfaK+8i7gM+rMg2hnx0Puofy0jt+/4Kapq1hH8Yeij3l WU2frmTVUlO6xmCYHX66N82uf60kwPfuklWY3NUdJUwnarE/qBI9iYyRt8Fpql9IcQplZJ 7x0Kj10AD9bTfQoaiILH9wJt/3/uMvnTMsvsyoPE3f/BI4Gu3CaexHooAT08fGoUVjdt+i 5MZhMFcQa4K164ZwMbcGvaCENbuJxuQM7kbuPUZX8WFg6EdlILCSTu2gygSU3Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731953026; a=rsa-sha256; cv=none; b=tajRkau558l8hWdNE8vwuHoZWJibs3JufHv2Zh3J4jIwjhgwH2w+lK9wZ45YaRQQ9xvEM9 cKdrpTj1L0wJkBJdAuuLtZ1n/lCLS+2GhkRwRogC1aRrs3rVpQVx0WvF3MVfHkm/udINQS h82VTkyPVGWimZVFVS860VjSMTv/9zxawerO/jCDtXcO1+oLgU3pO1CqMnUklrYH1AXDN6 iun6XKBLI6vtpccvn2PyPe/j+nEHZltTaSeM1aNL2yoHQX8/wJlMYu9oKXCXXIA4VGcBgG toxWWcNZ4fef8pqFqa4josSvrvEEIUJ0NUDQGu5Ez3YDeIYk1C1gvDdVcs15Vw== 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 4Xsb8y5fpgzr0r for ; Mon, 18 Nov 2024 18:03:46 +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 4AII3k8x093374 for ; Mon, 18 Nov 2024 18:03:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AII3kY6093373 for virtualization@FreeBSD.org; Mon, 18 Nov 2024 18:03:46 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 282852] bhyve: Failed to emulate instruction sequence Date: Mon, 18 Nov 2024 18:03:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: scf@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282852 Bug ID: 282852 Summary: bhyve: Failed to emulate instruction sequence Product: Base System Version: 14.2-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: scf@FreeBSD.org After an update and reboot to a VM I have, bhyve now returns an error: Failed to emulate instruction sequence [ 41f646040874064c017d88eb144c89 ] at 0xbea5fcf9 Apparently, this occurs when a UEFI variables file is updated. The claim is that bhyve did not support emulation of "testb imm8,r/m8". I can confirm t= hat replacing the UEFI variables file with a previous copy does allow the VM to boot. There is an issue that fixes this for illumos (https://www.illumos.org/issues/14483) with the fix on GitHub (https://github.com/illumos/illumos-gate/commit/e1ded6bd708926c1adf348bccd1= 0d6df6a12eedb). The fix makes a call to vie_mmio_read() which is only in illumos. I had tried that patch with using memread() without success, but my bhyve/vmm-foo is lacking. :) --=20 You are receiving this mail because: You are the assignee for the bug.=