Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Apr 2022 13:56:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 262936] bhyve: win10 host fails to restart
Message-ID:  <bug-262936-27103-Vc0nXuOV44@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-262936-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-262936-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262936

--- Comment #5 from bergerkos@yahoo.co.uk ---
OK, I solved this by removing the USB 3.0 PCIe card PASSTHRU from my bhyve
config, the one mentioned in the error message:
bhyve: Failed to map MSI-X table BAR on 12/0/0: Device busy
bhyve: failed to initialize BARs for PCI 12/0/0
device emulation initialization error: Device busy

I tried instead adding PASSTHRU for motherboard-based VIA VL805/806 xHCI USB
3.0 Controller instead. And it works!!! I don't even need the `bhyvectl --vm
--restart` hack any more to restart the VM that was shut down, as I had to.

The irony is, this same VIA controller that now works fine caused me trouble
with bhyve some 2 years ago (PASSTHRU would not attach; when it does, the
machine spontaneously reboots).=20

Still not clear what's causing the original problem reported here... For
reference, the problematic device is
xhci0@pci0:12:0:0:      class=3D0x0c0330 rev=3D0x03 hdr=3D0x00 vendor=3D0x1=
912
device=3D0x0014 subvendor=3D0x1912 subdevice=3D0x0014
    vendor     =3D 'Renesas Technology Corp.'
    device     =3D 'uPD720201 USB 3.0 Host Controller'
It USED to work fine with PASSTHRU, that's why I originally bought it.

THe one that works fine is:
ppt1@pci0:11:0:0:       class=3D0x0c0330 rev=3D0x01 hdr=3D0x00 vendor=3D0x1=
106
device=3D0x3483 subvendor=3D0x1106 subdevice=3D0x3483
    vendor     =3D 'VIA Technologies, Inc.'
    device     =3D 'VL805/806 xHCI USB 3.0 Controller'

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262936-27103-Vc0nXuOV44>