OpenELEC VMs not booting, intermittently


AngelEyes

Recommended Posts

Hi,

 

Since I started using VMs I haven't been able to get a stable OpenELEC VM to run consisently. I have tried custom and templates and sometimes they run with no issues, the next day I can't get anything to run. Sometimes the VM will crash for no apparent reason and then the very same VM will just not boot again. Other times it happens after a server reboot.

 

All this week I couldn't get a think to run so changed Enable PCIe ACS Override to Yes, even though there was no conflict, and the VMs started to work again. I was so happy but an hour later my OpenELEC VM crashes and won't reboot.

 

Any help would be gratefully received. Thank you.

 

P.S. I sucessfully run a Win10 VM on a seperate nVidia GPU (albeit with distorted sound) so I wonder if it may be the AMD graphics card that is causing the grief?

 

<domain type='kvm' id='11'>
  <name>LibreELEC Custom</name>
  <uuid>d5498c3f-e794-1608-658d-67a61b38f9d1</uuid>
  <metadata>
    <vmtemplate xmlns="unraid" name="Ubuntu" icon="ubuntu.png" os="ubuntu"/>
  </metadata>
  <memory unit='KiB'>2097152</memory>
  <currentMemory unit='KiB'>2097152</currentMemory>
  <memoryBacking>
    <nosharepages/>
    <locked/>
  </memoryBacking>
  <vcpu placement='static'>2</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='9'/>
    <vcpupin vcpu='1' cpuset='19'/>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-q35-2.5'>hvm</type>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough'>
    <topology sockets='1' cores='1' threads='2'/>
  </cpu>
  <clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/LibreELEC Custom/vdisk1.img'/>
      <backingStore/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <alias name='sata0-0-2'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <controller type='usb' index='0' model='nec-xhci'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
    </controller>
    <controller type='sata' index='0'>
      <alias name='ide'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'>
      <alias name='pcie.0'/>
    </controller>
    <controller type='pci' index='1' model='dmi-to-pci-bridge'>
      <model name='i82801b11-bridge'/>
      <alias name='pci.1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
    </controller>
    <controller type='pci' index='2' model='pci-bridge'>
      <model name='pci-bridge'/>
      <target chassisNr='2'/>
      <alias name='pci.2'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <alias name='virtio-serial0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:55:7a:b2'/>
      <source bridge='virbr0'/>
      <target dev='vnet0'/>
      <model type='e1000'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/0'/>
      <target port='0'/>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/0'>
      <source path='/dev/pts/0'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-LibreELEC Custom/org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <hostdev mode='subsystem' type='pci' managed='yes' xvga='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
      </source>
      <alias name='hostdev1'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x04' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x045e'/>
        <product id='0x0745'/>
        <address bus='3' device='10'/>
      </source>
      <alias name='hostdev2'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x1934'/>
        <product id='0x5168'/>
        <address bus='3' device='6'/>
      </source>
      <alias name='hostdev3'/>
    </hostdev>
    <memballoon model='virtio'>
      <alias name='balloon0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x05' function='0x0'/>
    </memballoon>
  </devices>
</domain>

server-diagnostics-20161210-1520.zip

Custom-VM.jpg.34ea238e0af30f45eba7f99c16d52c76.jpg

Link to comment

Not sure if it helps at all but I have included the results of an extended test from the Fix Common Problems plugin:

 

The following files / folders may not be accessible to the users allowed via each Share's SMB settings. This is often caused by wrong permissions being used on new downloads / copies by CouchPotato, Sonarr, and the like:

/mnt/user/backups/LibreELEC/.cache/connman/ethernet_52540056a00e_cable/data nobody/users (99/100) 0600
/mnt/user/backups/LibreELEC/.cache/connman/ethernet_52540056a00e_cable/settings nobody/users (99/100) 0600
/mnt/user/backups/LibreELEC/.cache/connman/settings nobody/users (99/100) 0600
/mnt/user/backups/LibreELEC/.cache/connman/settings.NQEKPY nobody/users (99/100) 0600
/mnt/user/backups/LibreELEC/.config/pulse/1565dcf68b0540dbad599e207cf4ca62-runtime root/root (/) 0
/mnt/user/backups/LibreELEC/.config/pulse/cookie nobody/users (99/100) 0600
/mnt/user/domains/LibreELEC/.cache/connman/ethernet_52540056a00e_cable root/root (0/0) 0700
/mnt/user/domains/LibreELEC/.cache/connman/ethernet_52540056a00e_cable/data root/root (0/0) 0600
/mnt/user/domains/LibreELEC/.cache/connman/ethernet_52540056a00e_cable/settings root/root (0/0) 0600
/mnt/user/domains/LibreELEC/.cache/connman/settings root/root (0/0) 0600
/mnt/user/domains/LibreELEC/.cache/connman/settings.NQEKPY root/root (0/0) 0600
/mnt/user/domains/LibreELEC/.config/pulse root/root (0/0) 0700
/mnt/user/domains/LibreELEC/.config/pulse/1565dcf68b0540dbad599e207cf4ca62-runtime root/root (/) 0
/mnt/user/domains/LibreELEC/.config/pulse/cookie root/root (0/0) 0600
/mnt/user/domains/LibreELEC/.ssh root/root (0/0) 0700
/mnt/user/kde/cache-2b817aa74946 root/root (/) 0
/mnt/user/kde/cache-d234f09cf1d3 root/root (/) 0
/mnt/user/kde/share/apps nobody/users (99/100) 0700
/mnt/user/kde/share/apps/kconf_update nobody/users (99/100) 0700
/mnt/user/kde/share/apps/kconf_update/log nobody/users (99/100) 0700
/mnt/user/kde/share/config/drkonqirc nobody/users (99/100) 0600
/mnt/user/kde/share/config/katerc nobody/users (99/100) 0600
/mnt/user/kde/share/config/kconf_updaterc nobody/users (99/100) 0600
/mnt/user/kde/share/config/kcookiejarrc nobody/users (99/100) 0600
/mnt/user/kde/share/config/kdebugrc nobody/users (99/100) 0600
/mnt/user/kde/share/config/kdedrc nobody/users (99/100) 0600
/mnt/user/kde/share/config/kdeglobals nobody/users (99/100) 0600
/mnt/user/kde/share/config/kget_multisegkiofactory.rc nobody/users (99/100) 0600
/mnt/user/kde/share/config/kgetrc nobody/users (99/100) 0600
/mnt/user/kde/share/config/kio_httprc nobody/users (99/100) 0600
/mnt/user/kde/share/config/kioslaverc nobody/users (99/100) 0600
/mnt/user/kde/share/config/konsolerc nobody/users (99/100) 0600
/mnt/user/kde/share/config/phonondevicesrc nobody/users (99/100) 0600
/mnt/user/kde/share/kde4 nobody/users (99/100) 0700
/mnt/user/kde/share/kde4/services nobody/users (99/100) 0700
/mnt/user/kde/socket-2b817aa74946 root/root (/) 0
/mnt/user/kde/socket-d234f09cf1d3 root/root (/) 0
/mnt/user/kde/tmp-2b817aa74946 root/root (/) 0
/mnt/user/kde/tmp-d234f09cf1d3 root/root (/) 0
/mnt/user/Movies/TV/American Horror Story/American Horror Story S5E01-04.iso root/root (0/0) 0600
/mnt/user/.Trash-99 nobody/users (99/100) 0700
/mnt/user/.Trash-99/files nobody/users (99/100) 0700
/mnt/user/.Trash-99/info nobody/users (99/100) 0700
/mnt/user/Yosemite Backup/.AppleDB/log.0000000001 nobody/users (99/100) 0660

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.