From nobody Fri Jun 17 09:49:03 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 41A0A85F99C for ; Fri, 17 Jun 2022 09:49:04 +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 4LPZ4c0VMpz4gQm for ; Fri, 17 Jun 2022 09:49:04 +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 E44C21D2CF for ; Fri, 17 Jun 2022 09:49:03 +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 25H9n3Og088242 for ; Fri, 17 Jun 2022 09:49:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25H9n3AP088240 for virtualization@FreeBSD.org; Fri, 17 Jun 2022 09:49:03 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 260148] passthru stopped working Date: Fri, 17 Jun 2022 09:49:03 +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: CURRENT X-Bugzilla-Keywords: bhyve X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marietto2008@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655459344; 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=he3fwnncrr0MZzW4djZbGUdK8vmlhPX/UWu0Yjg9AIg=; b=P75zQdkQO60vMb7zQ2kxnxDJrQjhA9/gBDOVenqKMJ6tCYBN6iNRs69cedHyQu1ZANF+IL cRoJMrisMtu1f8HVR6cSrWI64fFF6078e8uDXHlUPdT/BYm7AQ3jqW0lHkc45AOu2XS/WG a2pMb+/bWzBGPEeGoqYd1lBJf2vpbNQ9uO6d6OD8mRyTos9JX+zUFezCmUnFWy/aXG4BS7 iHNEuigFU+3CJIIM3AvD2yp5mIgtgAprAtK0U2d5cvtjh8DgKN/Ps+j9olPic87S0ir5G8 EWTeoMlS9qlxrb4yEt6OceQOzMxbtCDw4p3BYz+WYoEd2oq9R9DrOvybI+fHVg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655459344; a=rsa-sha256; cv=none; b=KLBY5yuKmTeZyaHP2h2F1gKKpNxcwMe3UP+4jHfT5I0gLYlqC+vUqel1f2XRw+yfLfW9ur oGaqZVnSqYX/xzWCw7oHN1vt8CAzeWhCCcmS1vIUqDWJSVHvm36po4JPFXBZMHCDSayz4k BAhONG+NeNhZfjH6kx8GaiXJ0JccGj/GN8X2K3jZsfAPCbxE+Qf4/1DV1oRyV3ux14TfkA Rrb9l1F/4JhvZhWDNN36yNuJAQ8TJgNvm5M/JnNdJNdteP/UMNxLlO5aVCQl9yB1Oa2hGj sHL5pgDl5ZcaKXZMIiusFgMJZzgS5iHvbrXBppEeLNNMhiSp8ryVrIfD/NGV7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260148 mario felicioni changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marietto2008@gmail.com --- Comment #13 from mario felicioni --- I've just upgraded my Windows 11 VM and it does not boot anymore. I see an interesting error,never seen before : root@marietto:/home/marietto/bhyve # ./win11-phy-nvd0-vm4.sh vm_open: vm4 could not be opened: No such file or directory vm_open: vm4 could not be opened: No such file or directory da5 nvd0 da2 da4 ada2 [1] 8326 bhyve: Failed to map MSI-X table BAR on 1/0/0: Device busy bhyve: failed to initialize BARs for PCI 1/0/0 device emulation initialization error: Device busy these are the bhyve parameters that I've used : bhyve -S -c sockets=3D1,cores=3D2,threads=3D2 -m 4G -w -H -A \ -s 0,hostbridge \ -s 1,ahci-hd,/dev/nvd0,bootindex=3D1 \ -s 5,passthru,1/0/0 \ -s 6,passthru,5/0/0 \ -s 7,virtio-net,tap4 \ -s 10,hda,play=3D/dev/dsp,rec=3D/dev/dsp \ -s 29,fbuf,tcp=3D0.0.0.0:5904,w=3D1440,h=3D900 \ -s 30,xhci,tablet \ -s 31,lpc \ -l bootrom,/usr/local/share/uefi-firmware/BHYVE_BHF_CODE.fd \ vm4 < /dev/null & sleep 2 && vncviewer 0:4 before to launch the windows 11 vm,I've ran this script : setxkbmap it bhyvectl --vm=3Dvm0 --force-reset bhyvectl --vm=3Dvm0 --destroy bhyvectl --vm=3Dvm1 --force-reset bhyvectl --vm=3Dvm1 --destroy bhyvectl --vm=3Dvm2 --force-reset bhyvectl --vm=3Dvm2 --destroy bhyvectl --vm=3Dvm3 --force-reset bhyvectl --vm=3Dvm3 --destroy bhyvectl --vm=3Dvm4 --force-reset bhyvectl --vm=3Dvm4 --destroy bhyvectl --vm=3Dvm5 --force-reset bhyvectl --vm=3Dvm5 --destroy bhyvectl --vm=3Dvm6 --force-reset bhyvectl --vm=3Dvm6 --destroy bhyvectl --vm=3Dvm7 --force-reset bhyvectl --vm=3Dvm7 --destroy bhyvectl --vm=3Dvm8 --force-reset bhyvectl --vm=3Dvm8 --destroy bhyvectl --vm=3Dvm9 --force-reset bhyvectl --vm=3Dvm9 --destroy bhyvectl --vm=3Dvm10 --force-reset bhyvectl --vm=3Dvm10 --destroy bhyvectl --vm=3Dvm11 --force-reset bhyvectl --vm=3Dvm11 --destroy bhyvectl --vm=3Dvm12 --force-reset bhyvectl --vm=3Dvm12 --destroy bhyvectl --vm=3Dvm13 --force-reset bhyvectl --vm=3Dvm13 --destroy bhyvectl --vm=3Dvm14 --force-reset bhyvectl --vm=3Dvm14 --destroy bhyvectl --vm=3Dvm15 --force-reset bhyvectl --vm=3Dvm15 --destroy bhyvectl --vm=3Dvm16 --force-reset bhyvectl --vm=3Dvm16 --destroy bhyvectl --vm=3Dvm17 --force-reset bhyvectl --vm=3Dvm17 --destroy bhyvectl --vm=3Dvm18 --force-reset bhyvectl --vm=3Dvm18 --destroy bhyvectl --vm=3Dvm19 --force-reset bhyvectl --vm=3Dvm19 --destroy bhyvectl --vm=3Dvm20 --force-reset bhyvectl --vm=3Dvm20 --destroy I have no disks attached to the 1/0/0... --=20 You are receiving this mail because: You are the assignee for the bug.=