April 13, 201511 yr I recently reinstalled Unraid and am having issues with getting the VM's to run. I can get a VM to start, but minutes later it freezes and I am no longer able to connect to unraid (webgui/ping/etc). Passthrough is working fine (gpu,usb) and I have tried using an old working xml and creating new xmls for both windows and ubuntu. I have tried moving the image location between cache and 2 ssd's mounted with SNAP. Go script: #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & #Snap drives /boot/config/plugins/snap/snap.sh -ms 14290D26A126 ext #/boot/config/plugins/snap/snap.sh -ms OCZ-Q458GG11QG381026 vm1 #Bind passthrough devices /usr/local/sbin/vfio-bind 0000:02:00.0 0000:02:00.1 0000:01:00.0 0000:01:00.1 0000:03:00.0 Log window open while running the VM (in this case I restarted the VM and I was unable to connect). I am not sure what the MSI/MSI-x is: Apr 12 22:40:46 Tower kernel: device vnet0 entered promiscuous mode Apr 12 22:40:46 Tower kernel: br0: port 2(vnet0) entered listening state Apr 12 22:40:46 Tower kernel: br0: port 2(vnet0) entered listening state Apr 12 22:40:46 Tower kernel: vfio-pci 0000:02:00.0: enabling device (0400 -> 0403) Apr 12 22:40:46 Tower kernel: vfio-pci 0000:02:00.1: enabling device (0400 -> 0402) Apr 12 22:40:50 Tower kernel: usb 6-3: reset low-speed USB device number 2 using ohci-pci Apr 12 22:40:50 Tower kernel: usb 6-3: reset low-speed USB device number 2 using ohci-pci Apr 12 22:40:51 Tower kernel: usb 6-3: reset low-speed USB device number 2 using ohci-pci Apr 12 22:40:52 Tower kernel: usb 6-3: reset low-speed USB device number 2 using ohci-pci Apr 12 22:40:52 Tower kernel: kvm: zapping shadow pages for mmio generation wraparound Apr 12 22:41:01 Tower kernel: br0: port 2(vnet0) entered learning state Apr 12 22:41:16 Tower kernel: br0: topology change detected, propagating Apr 12 22:41:16 Tower kernel: br0: port 2(vnet0) entered forwarding state Apr 12 22:41:26 Tower kernel: kvm [15873]: vcpu0 unimplemented perfctr wrmsr: 0xc0010004 data 0xffff Apr 12 22:41:28 Tower kernel: usb 6-3: reset low-speed USB device number 2 using ohci-pci Apr 12 22:41:29 Tower kernel: usb 6-3: reset low-speed USB device number 2 using ohci-pci Apr 12 22:41:29 Tower kernel: vfio-pci 0000:02:00.0: irq 31 for MSI/MSI-X Apr 12 22:41:30 Tower kernel: usb 6-3: reset low-speed USB device number 2 using ohci-pci Apr 12 22:41:31 Tower kernel: usb 6-3: reset low-speed USB device number 2 using ohci-pci Apr 12 22:41:31 Tower kernel: usb 6-3: reset low-speed USB device number 2 using ohci-pci Apr 12 22:41:39 Tower kernel: kvm [15873]: vcpu1 ignored rdmsr: 0x3a Apr 12 22:41:39 Tower kernel: vfio-pci 0000:02:00.1: irq 32 for MSI/MSI-X Apr 12 22:42:58 Tower kernel: usb 6-3: reset low-speed USB device number 2 using ohci-pci Apr 12 22:42:59 Tower kernel: usb 6-3: reset low-speed USB device number 2 using ohci-pci Apr 12 22:43:01 Tower kernel: usb 6-3: reset low-speed USB device number 2 using ohci-pci Apr 12 22:43:02 Tower kernel: usb 6-3: reset low-speed USB device number 2 using ohci-pci xml: <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> <name>kodi</name> <uuid>f629caf0-002e-cc3e-7523-ce484e3c58b1</uuid> <memory unit='KiB'>3145728</memory> <currentMemory unit='KiB'>3145728</currentMemory> <vcpu placement='static'>2</vcpu> <os> <type arch='x86_64' machine='pc-q35-2.1'>hvm</type> <boot dev='cdrom'/> <boot dev='hd'/> </os> <features> <acpi/> <apic/> </features> <clock offset='localtime'> <timer name='rtc' tickpolicy='catchup'/> <timer name='pit' tickpolicy='delay'/> <timer name='hpet' present='yes'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/qemu-system-x86_64</emulator> <disk type='file' device='disk'> <driver name='qemu' type='qcow2'/> <source file='/mnt/cache/appdata/kodi/kodi.qcow2'/> <target dev='hda' bus='virtio'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/cache/.virtual_machines/cdroms/kodibuntu-14.0~helix_amd64.iso'/> <target dev='hdc' bus='sata'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='2'/> </disk> <controller type='usb' index='0' model='ich9-ehci1'> <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x7'/> </controller> <controller type='usb' index='0' model='ich9-uhci1'> <master startport='0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0' multifunction='on'/> </controller> <controller type='sata' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> </controller> <controller type='pci' index='0' model='pcie-root'/> <controller type='pci' index='1' model='dmi-to-pci-bridge'> <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/> </controller> <controller type='pci' index='2' model='pci-bridge'> <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:55:6d:40'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/> </interface> <hostdev mode='subsystem' type='usb' managed='no'> <source> <address bus='6' device='2'/> </source> </hostdev> <memballoon model='virtio'> <address type='pci' domain='0x0000' bus='0x02' slot='0x04' function='0x0'/> </memballoon> </devices> <qemu:commandline> <qemu:arg value='-device'/> <qemu:arg value='ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1'/> <qemu:arg value='-device'/> <qemu:arg value='vfio-pci,host=02:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on'/> <qemu:arg value='-device'/> <qemu:arg value='vfio-pci,host=02:00.1,bus=root.1,addr=00.1'/> </qemu:commandline> </domain>
April 29, 201610 yr I know this is an old topic but I am having the exact same problem in the latest unraid 6.2 beta 21. Unraid web gui working fine and then as soon as I launch a vm with gpu passthrough the host freezes. I have tried with one and two gpus in the machine as I understand that once you steal a gpu from the host you need to restart to get it back. From within the vm, I am unable to navigate to http://tower or ping it. Has anybody else seen this issue in unraid 6.2?
Archived
This topic is now archived and is closed to further replies.