From nobody Sun Jun 26 22:57:53 2022 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 8EA8C865241 for ; Sun, 26 Jun 2022 22:57:54 +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 4LWR8f2kc3z3tVT for ; Sun, 26 Jun 2022 22:57:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 3A50C1CDA5 for ; Sun, 26 Jun 2022 22:57:54 +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 25QMvsWh092755 for ; Sun, 26 Jun 2022 22:57:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25QMvscV092754 for virtualization@FreeBSD.org; Sun, 26 Jun 2022 22:57:54 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 264918] bhyve: getrandom(2) returns SIGILL on vm with host CPU AMD A6-7310 APU with AMD Radeon R4 Graphics (4) @ 1.995G Date: Sun, 26 Jun 2022 22:57:53 +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: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: trix@basement.net 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: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656284274; 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=b41aqMZp4e7NDS7epI9KyusGrKxXhnVyzseRudvUrZw=; b=MzuxZ6YMfJI229JFiV7RqVvZkwMpA8gv1Dsj0HEpQDLfwQ1fq7DDJFkKjkv63P6GAiOrsN GYtngibEH1EwAOktTGnv58NUh7l229+EGdkRf4MFNxijoI7gJaItlJt84j4cvoQVKhQspf L+b1QOHNndDLy44WcWTVgH12EzggCL6guC5LIYN0EP2aC9+xUrp3jlakNWL5gHGmx4nkKR QMuRPpqxr+5wuSwm6wYAON1MtyabtgwYp//chcu1ZBgKTfThHHxtKBziWDyltfIAGXE82b Lx6OATpZ+bvfFlh60DN2Fz1WfmhfUP3Gdku9SqrKy8iTnCSHZX0HIiV0s8n4LA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656284274; a=rsa-sha256; cv=none; b=bVnMsF4enq3ZCF4NX8HEeq7AyapZOFn9wTTXy6erWyHaEav6CdAQUNz+v/ynbVcbLSX3ed 6eBagvDMg++hOVB7/EK/vVYEg7SWnzoFrrdHjJvwjfW/pTcOI0YKxS4PiuuYtHPTZ199Wd cH/La70vxIfrDeIPOgj/H/AP7vZqaEQB5kB8IzRKa58BbdOUFzqn9EcfmVsvCKRBhb/r8x Sd9VApa+iQQmjsGJDPKbhCIE6FYHdfyDU3EXf0FODK0c1aAhM0tt7fHb0qWJutWyJINCw8 KYVRKI7g0fuYzkPg0m1LkK1UXZykXG8HQo9jO8b9u0uNhr2Ot0xhBo9FCvgFcg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264918 Bug ID: 264918 Summary: bhyve: getrandom(2) returns SIGILL on vm with host CPU AMD A6-7310 APU with AMD Radeon R4 Graphics (4) @ 1.995G Product: Base System Version: 13.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: trix@basement.net Hardware host: HP 260-a020 Hardware CPU: AMD A6-7310 APU with AMD Radeon R4 Graphics (4) @ 1.995G Symptom: Call to=20 # /usr/local/bin/salt-key --gen-keys --gen-keys-dir=3D. returns "Illegal instruction" How to Reproduce: * Create bhyve VM (I used sysutils/vm-bhyve) with 13.1-RELEASE * Login on VM and become root * pkg add -y py35-salt * /usr/local/bin/salt-key --gen-keys --gen-keys-dir=3D. Repeating the test on the hardware host itself (also running 13.1-RELEASE) succeeds. Test succeeds on hardware host and bhyve VM using an "AMD Ryzon 7 3800X" CP= U, --=20 You are receiving this mail because: You are the assignee for the bug.=