From owner-freebsd-virtualization@freebsd.org Mon Jan 25 19:18:17 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 92CAB4ED076 for ; Mon, 25 Jan 2021 19:18:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DPfls3ZDkz4skt for ; Mon, 25 Jan 2021 19:18:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 78D114ECEFC; Mon, 25 Jan 2021 19:18:17 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7895D4ED39E for ; Mon, 25 Jan 2021 19:18:17 +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 4DPfls2wg0z4swN for ; Mon, 25 Jan 2021 19:18:17 +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 537BC1BE87 for ; Mon, 25 Jan 2021 19:18:17 +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 10PJIHSa052997 for ; Mon, 25 Jan 2021 19:18:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 10PJIHnc052996 for virtualization@FreeBSD.org; Mon, 25 Jan 2021 19:18:17 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 253004] Win 10 guest fails to restart unless I --destroy Date: Mon, 25 Jan 2021 19:18:17 +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.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bergerkos@yahoo.co.uk 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 MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jan 2021 19:18:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253004 Bug ID: 253004 Summary: Win 10 guest fails to restart unless I --destroy Product: Base System Version: 13.0-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: bergerkos@yahoo.co.uk In 13.0-ALPHA2 I still have this problem: Running Win 10 guest with 2 passthrough devices (USB controller + NIC) I ca= n't start guest after shutdown. Get this error: Assertion failed: (error =3D=3D 0), function modify_bar_registration, file /usr/src/usr.sbin/bhyve/pci_emul.c, line 501. .twm/programs/./bhyve-hda.sh: line 13: 90467 Abo= rt trap bhyve -S -c sockets=3D1,cores=3D2,threads=3D2 -m 6G -H -w= -s 0,hostbridge -s 3,passthru,7/0/1 -s 4,virtio-blk,/bhyve/win-alt.img,sectorsize=3D512/4096 -s 6,hda,rec=3D/dev/dsp,play=3D/dev/dsp -s 8,passthru,12/0/0 -s 29,fbuf,tcp=3D0.0.0.0:5900,w=3D1600,h=3D900,wait -s 30,xhci,tablet -s 31,lp= c -l com1,stdio -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd windows-= 10 Interestingly, this error particular error was reported and addressed by a patch, so it doesn't happen again. But it comes out when I restar guest aft= er shutdown. It was mentioned here, including also the patch: http://freebsd.1045724.x6.nabble.com/Windows-10-guests-fail-to-boot-when-at= tempting-to-passthrough-network-card-td6330452.html Solution: the only one that works is to run: #bhyvectl --vm=3D$my_vm_name --destroy --=20 You are receiving this mail because: You are the assignee for the bug.=