Hi everyone,
This morning I upgraded FreeBSD 13.0-RELEASE to FreeBSD 13.1-RELEASE and now I can't restart VM.
What I doing:
I start VM with the command:
Then, I connect to it:
I do some work inside VM, include that which uses 'usb xhci pci' I passed thru to VM, there it is
Then I quit VM and destroy it:
After that I can't run it again:
I tried to kill VM again, but there is no more VM here (that's right):
In FreeBSD 13.0-RELEASE I have no trouble with restart VM.
My rc.conf, loader.conf are the same as they were in FreeBSD 13.0-RELEASE:
Can anyone help ?
Thanks
This morning I upgraded FreeBSD 13.0-RELEASE to FreeBSD 13.1-RELEASE and now I can't restart VM.
What I doing:
I start VM with the command:
Code:
sudo bhyve -c 8,sockets=2,cores=2,threads=2 -m 16G -H -w -S \
-s 0,hostbridge \
-s 3,ahci-cd,/neat/iso/Win10_21H1_Russian_x64.iso \
-s 4,ahci-hd,/neat/bsd1/vms/w10.img \
-s 5,virtio-net,tap0 \
-s 7,passthru,216/0/0 \
-s 29,fbuf,tcp=0.0.0.0:5900,w=1920,h=1200,wait \
-s 30,xhci,tablet \
-s 31,lpc \
-l com1,stdio \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
w10
Then, I connect to it:
Code:
vncviewer freebsd:0
I do some work inside VM, include that which uses 'usb xhci pci' I passed thru to VM, there it is
Code:
xhci3@pci0:216:0:0: class=0x0c0330 rev=0x03 hdr=0x00 vendor=0x1912 device=0x0014
subvendor=0x1912 subdevice=0x0014
vendor = 'Renesas Technology Corp.'
device = 'uPD720201 USB 3.0 Host Controller'
class = serial bus
subclass = USB
Then I quit VM and destroy it:
Code:
sudo bhyvectl --destroy --vm=w10
After that I can't run it again:
Code:
sudo bhyve -c 8,sockets=2,cores=2,threads=2 -m 16G -H -w -S \
-s 0,hostbridge \
-s 3,ahci-cd,/neat/iso/Win10_21H1_Russian_x64.iso \
-s 4,ahci-hd,/neat/bsd1/vms/w10.img \
-s 5,virtio-net,tap0 \
-s 7,passthru,216/0/0 \
-s 29,fbuf,tcp=0.0.0.0:5900,w=1920,h=1200,wait \
-s 30,xhci,tablet \
-s 31,lpc \
-l com1,stdio \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
w10
bhyve: Failed to map MSI-X table BAR on 216/0/0: Device busy
bhyve: failed to initialize BARs for PCI 216/0/0
device emulation initialization error: Device busy
I tried to kill VM again, but there is no more VM here (that's right):
Code:
sudo bhyvectl --destroy --vm=w10
In FreeBSD 13.0-RELEASE I have no trouble with restart VM.
My rc.conf, loader.conf are the same as they were in FreeBSD 13.0-RELEASE:
Code:
[lanin@freebsd /etc]$ cat rc.conf
...
kld_list="nvidia-modeset vmm nmdm"
cloned_interfaces="bridge0 tap0 tap1"
ifconfig_bridge0="addm igb0 addm tap0 addm tap1 up"
Code:
[lanin@freebsd /boot]$ cat loader.conf
...
vmm_load="YES"
vmm_name="/boot/kernel/vmm.ko"
nmdm_load="YES"
if_bridge_load="YES"
if_tap_load="YES"
pptdevs="134/0/0 216/0/0/0"
...
Can anyone help ?
Thanks
Last edited: