From nobody Mon Jan 30 08:23: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 4P51R23Fjfz3btD1 for ; Mon, 30 Jan 2023 08:23: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 4P51R22DqTz3R42 for ; Mon, 30 Jan 2023 08:23:26 +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=1675067006; 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=5VGoo0jXmJTnMmIZyIgAiaFYY5RW01XXohBJowkXS1E=; b=s7xBvfVMlfJNDzVgbU29VcBrljT4tjdBo//PiNiAoaj8NQ9UzGSdzg2jsY6nrvWN798JlX axE8XAJ7Ztf+PCLJJBex6kP+vrAl2Rm89Q8QImMv1fJPgUxzuExoQJESH6KfLTFb6uSvIz unkTNULdKHZG72oA95/WYLo3rt0j+skccuNRIt34I2YK66UoxfJZaBbmEq9WisLzw19o76 kD8y78ZNcerT4jPV1GYpgYixaM6MaS1AnaKBk8D+wyqxJp/BNrP1Ex+SRN4iJWTCto2EfS X7koQzxSAac2xmTeVJ7OHR5Z3dyc9w+oajZhRfm/aOP+X+nNTnDfwgwFBhi9Dw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675067006; a=rsa-sha256; cv=none; b=YYxsnqQDur9fLPG3lXgiyGotbFqavMKcbT60fhgJsh7C/VEvP813WOTHfgjW1Qb/ETtA9j WZ03J+A96cregChCtoOfyLcdZokyUXThwZnaiQgM/2TZW+3qNsSpeUHqLlBpZ5jlSyx0E7 bJepOhfoW28ZU9jZnhw1iTrkusEN76CenZvQMErYlrPgmYahj9qJmFsBUFk2sSqe5a4pO9 0YLt3v/naxvGI/98Tdexe9jxI09bsPEd3rs5JSTmmxY+H7k2GD62RSEH04U9E424famZH4 hkmS/FsxheIjuvOrIhK0rU27EGTDiBpI/Sd15zkQA9di3+q87K/uvGpZ2tqZjQ== 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 4P51R21LdJz11hs for ; Mon, 30 Jan 2023 08:23:26 +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 30U8NQGf045375 for ; Mon, 30 Jan 2023 08:23:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 30U8NQZ7045374 for virtualization@FreeBSD.org; Mon, 30 Jan 2023 08:23:26 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 268794] Simultaneous vcpu_lock_all() and vm_handle_rendezvous() can deadlock vmm Date: Mon, 30 Jan 2023 08:23: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: 13.1-STABLE X-Bugzilla-Keywords: bhyve X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: corvink@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: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268794 --- Comment #9 from Corvin K=C3=B6hne --- (In reply to Robert Crowston from comment #7) > > 1. Which GPU are you using? >=20 > A gigabyte Radeon RX 6650 XT (I also had success with a much older AMD ca= rd). AMD should work. Not sure if it works with 13.1 but -CURRENT should support= it. > > 2. Are you using using upstream bhyve and edk2? > > Not sure what you mean by 'upstream bhyve' -- I use the bhyve in 13.1-sta= ble (and have tested -CURRENT too). For edk2, I use the bootroom binary tha= t you created (https://reviews.freebsd.org/F31899352), but it makes no obse= rvable difference to me to the one from packages -- the GOP driver does not= start (with either GPU). I mean the official version from FreeBSD. So, 13.1-stable, -CURRENT or something similar. In order to use a GOP driver you have to pass it to the guest by bhyve's rom option: `-s x,passthru,x/x/x,rom=3D/my/gop`. This opti= on is not supported by 13.1! See the man page for more information: https://man.freebsd.org/cgi/man.cgi?query=3Dbhyve&apropos=3D0&sektion=3D8&m= anpath=3DFreeBSD+14.0-CURRENT&arch=3Ddefault&format=3Dhtml To use this option you have to extract the gop from your gpu. FreeBSD has no tool to do that. You have to do it with linux or windows. For linux (https://01.org/linuxgraphics/documentation/development/how-dump-video-bios= ): 1. echo 1 > /sys/devices/pci0000:00/0000:00:02.0/rom 2. cat /sys/devices/pci0000:00/0000:00:02.0/rom > vbios.dump 3. echo 0 > /sys/devices/pci0000:00/0000:00:02.0/rom For windows use GPU-Z (https://nvidia.custhelp.com/app/answers/detail/a_id/4188/~/extracting-the-= geforce-video-bios-rom-file). It's hard to get useful information from a windows guest. You can try to bo= ot a linux guest and check for any drm errors. Note: linux amdgpu driver require= s a gop. --=20 You are receiving this mail because: You are the assignee for the bug.=