Date: Thu, 28 Mar 2024 00:33:39 +0000 From: jbo@insane.engineer To: "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Subject: Windows guest hangs with PCI passthru if more than once core Message-ID: <egorjyzupCRrGB4ISACHOOiyOhDf7E_0pAzjLRdaawFPw6Np9YhQnm5T5uIcp6ALDNyUG0LQJ6TUPBzzHRNXD-gQ3vc6qNbVaKGBg0-_GAM=@insane.engineer>
next in thread | raw e-mail | index | archive | help
Hey guys, I'm currently dealing with an issue that's almost driving me insane. Scenario: - FreeBSD FreeBSD 14.0-STABLE #5 stable/14-n266935-fdfb8e783c3e: Tue Mar = 5 17:41:08 CET 2024 - Intel Core i7-8086K - Windows 11 Pro guest What I'm observing is that the VM guest generally boots and works fine with= out any issues. However, once I passthru a PCIe USB controller card, the VM seems to hang w= hen Windows is booting. At that point, I can only kill -9 the bhyve process. Anything else just han= gs (including bhyvectl --destroy). If I change the VM configuration to use only 1 CPU core, it boots fine 100%= of the time with the passthru. The same is true if I give it 1 CPU core and 2 threads (boots fine 100% of = the time). But once I give it more than 1 CPU core, it locks up when the passthru is e= nabled. Is this a known issue? I have seen [1] but I'm not sure whether it's the sa= me scenario or whether there are any patches I could apply to get me out of this madness. I earlier posted here [2]. [1] https://lists.freebsd.org/archives/freebsd-virtualization/2023-January/= 001080.html [2] https://forums.freebsd.org/threads/bhyve-vm-stuck-when-passthru-enabled= .92854 Best regards, ~ jbo@
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?egorjyzupCRrGB4ISACHOOiyOhDf7E_0pAzjLRdaawFPw6Np9YhQnm5T5uIcp6ALDNyUG0LQJ6TUPBzzHRNXD-gQ3vc6qNbVaKGBg0-_GAM=>