From nobody Sat Nov 23 05:21:36 2024 X-Original-To: bugs@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 4XwL1F1xwFz5dxFJ for ; Sat, 23 Nov 2024 05:21:37 +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 4XwL1D67B3z4L1V for ; Sat, 23 Nov 2024 05:21:36 +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=1732339296; 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=O+wau2SteYMtQTjPkCVEdTU7P0HFtFL/V//2TJoj5bs=; b=pu4yOnoiarkYJQdsma9AGyDOJl+i23R9T0uY5J3+DapJpILoZEyCwTrAqrbOT1NXuFtHez bkaVn2JJl4zUiofj6uLtATEyJ+C3iDbiWDtqXrtzy5JKWp+mMWXsN+0xeGkGkObDAJL12n SkZdySNiT5t2vtafF9rKDAnTC7Mvl7CDwiIUu826mCj35v2PA/u6y24dtQUDmmnepNTe1q K+cbk3TMhSSBjDyYrjvVl26v03uAUZvF3+aFjfPzDxcxQrH2Smn61yF+Hs+afwpKpTKpFr be7m+sR0sws9x8fXqQQYGWKlIGBIBTTE3rAoVgIpcGZ+Wf1RlOnus3XVihUkdw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732339296; a=rsa-sha256; cv=none; b=lTsUU3cck4Jzm6HeCCMUbO8P1eMqQHc8dQM1UGGLqyRf4aHAfhHMhPjmB7KPZIJyLd9r+B 9tIYhBxkKPjkxAmWzPBOuJ4/HUiPRk9aa68dgN33RrEGL/6SFqNzdP22EpsyNtK0Qe1v83 211Ij2fyWd7GSvmNYVlc5gxXlQKxnsfumfI4+iGv4tIgmgdQApDOQ6vjdxRisxIpTrTq3G PH3KtBdKdHv2W7FM3A9asQvxy2KXoP5ZbPsnEvIMIg9UwScgW2BuGYzx6bgiUd6Sbkwcx6 jiiLEr9v/UJGn1EVMe/+GdvVjRTBy/mVbODQdyQ7XnQlNT59UzBUHjpAGOsjFQ== 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 4XwL1D5l9JzwDf for ; Sat, 23 Nov 2024 05:21:36 +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 4AN5LaIN058063 for ; Sat, 23 Nov 2024 05:21:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AN5La9w058062 for bugs@FreeBSD.org; Sat, 23 Nov 2024 05:21:36 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: bugs@FreeBSD.org Subject: [Bug 282927] bhyve: recent Arch Linux Live ISO crash Date: Sat, 23 Nov 2024 05:21:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: 2khramtsov@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282927 Bug ID: 282927 Summary: bhyve: recent Arch Linux Live ISO crash Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: 2khramtsov@gmail.com Host: Zen 3 (AMD Ryzen 5600G), base e8263ace39c8 Various parts of guest boot process, as well as starting python3.12 from prompt, all commonly fail with this in Guest Linux dmesg: [ 22.516086] Code: 8b f0 ff 48 89 da 4c 89 f3 4c 8b b5 68 ef ff ff e9 cf = 8a f0 ff 66 0f 1f 44 00 00 f3 0f 1e fa 55 48 89 e5 41 54 53 4c 8b 67 10 <48> 8= b 5e 10 0f b6 46 20 49 39 dc 48 89 da 49 0f 4e d4 a8 20 0f 84 "f3 0f 1e fa" is ENDBR64 (IBT). CET is on in host CPUID, off in guest CPUID. IBT isn't supported by CPU and= is off everywhere, though ENDBR64 should be handled similar to a NOP. GCC 8 seems to generate endbrXX by default (see https://stackoverflow.com/a/69226244), so I have no idea if this is ENDBR64 related or not. ENDBR64 handling as a reason is only my uneducated guess. I start my VM with: #!/bin/sh UEFI=3D/usr/local/share/uefi-firmware/BHYVE_UEFI.fd MEM=3D2G VM=3D"repro" IF=3D"$(ifconfig tap create up)" DPY=3D"w=3D1920,h=3D1080" ifconfig bridge0 addm $IF up while true ; do bhyve \ -S -H \ -s 0,amd_hostbridge \ -s 2,ahci-cd,/tmp/archlinux-2024.11.01-x86_64.iso \ -s 10,virtio-net,$IF \ -s 29,fbuf,tcp=3D[::1]:5900,$DPY \ -s 31,lpc \ -l bootrom,$UEFI \ -m $MEM \ $VM RES=3D$? bhyvectl --destroy --vm=3D$VM if [ $RES -eq 1 ] ; then ifconfig $IF destroy exit 1 fi sleep 1 done --=20 You are receiving this mail because: You are the assignee for the bug.=