Jump to content
  • VM with vmxnet3 / rtl8129 / e1000 unable to create / start


    Dolphinez
    • Urgent

    After the upgrade to v7, a vm that worked fine in 6.12.10 stopped running after the upgrade.

    When I tried to start a vm with vmxnet3 nic, it failed with the error:

    image.thumb.png.d462d8786c04bcbe7fd561090c663e7c.png

    The same error happened when I tried to create new VM that I selected one of vmxnet3 / e1000 / rtl8129

     

    The XML of the VM:

    <?xml version='1.0' encoding='UTF-8'?>
    <domain type='kvm'>
      <name>ESXi v8</name>
      <uuid>19ad75d8-8e47-cd22-87fb-1da58de7fdd8</uuid>
      <metadata>
        <vmtemplate xmlns="unraid" name="Linux" icon="linux.png" os="linux" webui="" storage="default"/>
      </metadata>
      <memory unit='KiB'>33554432</memory>
      <currentMemory unit='KiB'>33554432</currentMemory>
      <memoryBacking>
        <nosharepages/>
      </memoryBacking>
      <vcpu placement='static'>8</vcpu>
      <cputune>
        <vcpupin vcpu='0' cpuset='0'/>
        <vcpupin vcpu='1' cpuset='1'/>
        <vcpupin vcpu='2' cpuset='2'/>
        <vcpupin vcpu='3' cpuset='3'/>
        <vcpupin vcpu='4' cpuset='4'/>
        <vcpupin vcpu='5' cpuset='5'/>
        <vcpupin vcpu='6' cpuset='6'/>
        <vcpupin vcpu='7' cpuset='7'/>
      </cputune>
      <os>
        <type arch='x86_64' machine='pc-i440fx-8.2'>hvm</type>
      </os>
      <features>
        <acpi/>
        <apic/>
      </features>
      <cpu mode='host-passthrough' check='none' migratable='on'>
        <topology sockets='1' dies='1' cores='4' threads='2'/>
        <cache mode='passthrough'/>
      </cpu>
      <clock offset='utc'>
        <timer name='hpet' present='no'/>
        <timer name='hypervclock' present='no'/>
        <timer name='pit' tickpolicy='delay'/>
        <timer name='rtc' tickpolicy='catchup'/>
      </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/ESXi v8/vdisk1.img'/>
          <target dev='hdc' bus='sata'/>
          <serial>vdisk1</serial>
          <boot order='1'/>
          <address type='drive' controller='0' bus='0' target='0' unit='2'/>
        </disk>
        <disk type='file' device='cdrom'>
          <driver name='qemu' type='raw'/>
          <source file='/mnt/user/isos/VMWare/VMware-VMvisor-Installer-8.0U3-24022510.x86_64.iso'/>
          <target dev='hda' bus='ide'/>
          <readonly/>
          <boot order='2'/>
          <address type='drive' controller='0' bus='0' target='0' unit='0'/>
        </disk>
        <controller type='usb' index='0' model='qemu-xhci' ports='15'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
        </controller>
        <controller type='ide' index='0'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
        </controller>
        <controller type='sata' index='0'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
        </controller>
        <controller type='virtio-serial' index='0'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
        </controller>
        <controller type='pci' index='0' model='pci-root'/>
        <interface type='direct' trustGuestRxFilters='yes'>
          <mac address='52:54:00:13:0f:7f'/>
          <source dev='vhost2.100' mode='bridge'/>
          <model type='vmxnet3'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
        </interface>
        <interface type='direct' trustGuestRxFilters='yes'>
          <mac address='52:54:00:1f:eb:1b'/>
          <source dev='vhost6' mode='bridge'/>
          <model type='vmxnet3'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
        </interface>
        <serial type='pty'>
          <target type='isa-serial' port='0'>
            <model name='isa-serial'/>
          </target>
        </serial>
        <console type='pty'>
          <target type='serial' port='0'/>
        </console>
        <channel type='unix'>
          <target type='virtio' name='org.qemu.guest_agent.0'/>
          <address type='virtio-serial' controller='0' bus='0' port='1'/>
        </channel>
        <input type='tablet' bus='usb'>
          <address type='usb' bus='0' port='1'/>
        </input>
        <input type='mouse' bus='ps2'/>
        <input type='keyboard' bus='ps2'/>
        <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' sharePolicy='ignore'>
          <listen type='address' address='0.0.0.0'/>
        </graphics>
        <audio id='1' type='none'/>
        <video>
          <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
        </video>
        <memballoon model='virtio'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
        </memballoon>
      </devices>
    </domain>
     

     

    Tnx




    User Feedback

    Recommended Comments

    The Log:

    -mon chardev=charmonitor,id=monitor,mode=control \
    -rtc base=utc,driftfix=slew \
    -global kvm-pit.lost_tick_policy=delay \
    -no-shutdown \
    -boot strict=on \
    -device '{"driver":"qemu-xhci","p2":15,"p3":15,"id":"usb","bus":"pci.0","addr":"0x7"}' \
    -device '{"driver":"ahci","id":"sata0","bus":"pci.0","addr":"0x5"}' \
    -device '{"driver":"virtio-serial-pci","id":"virtio-serial0","bus":"pci.0","addr":"0x6"}' \
    -blockdev '{"driver":"file","filename":"/mnt/user/domains/ESXi v8/vdisk1.img","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap","cache":{"direct":false,"no-flush":false}}' \
    -blockdev '{"node-name":"libvirt-2-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-2-storage"}' \
    -device '{"driver":"ide-hd","bus":"sata0.2","drive":"libvirt-2-format","id":"sata0-0-2","bootindex":1,"write-cache":"on","serial":"vdisk1"}' \
    -blockdev '{"driver":"file","filename":"/mnt/user/isos/VMWare/VMware-VMvisor-Installer-8.0U3-24022510.x86_64.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \
    -blockdev '{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"}' \
    -device '{"driver":"ide-cd","bus":"ide.0","unit":0,"drive":"libvirt-1-format","id":"ide0-0-0","bootindex":2}' \
    -netdev '{"type":"tap","fd":"43","id":"hostnet0"}' \
    -device '{"driver":"vmxnet3","netdev":"hostnet0","id":"net0","mac":"52:54:00:13:0f:7f","bus":"pci.0","addr":"0x3"}' \
    -netdev '{"type":"tap","fd":"46","id":"hostnet1"}' \
    -device '{"driver":"vmxnet3","netdev":"hostnet1","id":"net1","mac":"52:54:00:1f:eb:1b","bus":"pci.0","addr":"0x4"}' \
    -chardev pty,id=charserial0 \
    -device '{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}' \
    -chardev socket,id=charchannel0,fd=41,server=on,wait=off \
    -device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"org.qemu.guest_agent.0"}' \
    -device '{"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}' \
    -audiodev '{"id":"audio1","driver":"none"}' \
    -vnc 0.0.0.0:0,websocket=5700,share=ignore,audiodev=audio1 \
    -device '{"driver":"qxl-vga","id":"video0","max_outputs":1,"ram_size":67108864,"vram_size":67108864,"vram64_size_mb":0,"vgamem_mb":16,"bus":"pci.0","addr":"0x2"}' \
    -device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.0","addr":"0x8"}' \
    -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
    -msg timestamp=on
    2024-07-09 14:02:44.372+0000: Domain id=12 is tainted: high-privileges
    char device redirected to /dev/pts/0 (label charserial0)
    qxl_send_events: spice-server bug: guest stopped, ignoring
    2024-07-09 14:02:45.042+0000: shutting down, reason=failed
    2024-07-09T14:02:45.043082Z qemu-system-x86_64: terminating on signal 15 from pid 9440 (libvirtd)
    2024-07-09 15:44:18.556+0000: starting up libvirt version: 10.0.0, qemu version: 8.2.2, kernel: 6.8.12-Unraid, hostname: Prod-NAS
    LC_ALL=C \
    PATH=/bin:/sbin:/usr/bin:/usr/sbin \
    HOME='/var/lib/libvirt/qemu/domain-1-ESXi v8' \
    XDG_DATA_HOME='/var/lib/libvirt/qemu/domain-1-ESXi v8/.local/share' \
    XDG_CACHE_HOME='/var/lib/libvirt/qemu/domain-1-ESXi v8/.cache' \
    XDG_CONFIG_HOME='/var/lib/libvirt/qemu/domain-1-ESXi v8/.config' \
    /usr/local/sbin/qemu \
    -name 'guest=ESXi v8,debug-threads=on' \
    -S \
    -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-1-ESXi v8/master-key.aes"}' \
    -machine pc-i440fx-8.2,usb=off,dump-guest-core=off,mem-merge=off,memory-backend=pc.ram,hpet=off,acpi=on \
    -accel kvm \
    -cpu host,migratable=on,host-cache-info=on,l3-cache=off \
    -m size=33554432k \
    -object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":34359738368}' \
    -overcommit mem-lock=off \
    -smp 8,sockets=1,dies=1,cores=4,threads=2 \
    -uuid 19ad75d8-8e47-cd22-87fb-1da58de7fdd8 \
    -no-user-config \
    -nodefaults \
    -chardev socket,id=charmonitor,fd=35,server=on,wait=off \
    -mon chardev=charmonitor,id=monitor,mode=control \
    -rtc base=utc,driftfix=slew \
    -global kvm-pit.lost_tick_policy=delay \
    -no-shutdown \
    -boot strict=on \
    -device '{"driver":"qemu-xhci","p2":15,"p3":15,"id":"usb","bus":"pci.0","addr":"0x7"}' \
    -device '{"driver":"ahci","id":"sata0","bus":"pci.0","addr":"0x5"}' \
    -device '{"driver":"virtio-serial-pci","id":"virtio-serial0","bus":"pci.0","addr":"0x6"}' \
    -blockdev '{"driver":"file","filename":"/mnt/user/domains/ESXi v8/vdisk1.img","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap","cache":{"direct":false,"no-flush":false}}' \
    -blockdev '{"node-name":"libvirt-2-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-2-storage"}' \
    -device '{"driver":"ide-hd","bus":"sata0.2","drive":"libvirt-2-format","id":"sata0-0-2","bootindex":1,"write-cache":"on","serial":"vdisk1"}' \
    -blockdev '{"driver":"file","filename":"/mnt/user/isos/VMWare/VMware-VMvisor-Installer-8.0U3-24022510.x86_64.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \
    -blockdev '{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"}' \
    -device '{"driver":"ide-cd","bus":"ide.0","unit":0,"drive":"libvirt-1-format","id":"ide0-0-0","bootindex":2}' \
    -netdev '{"type":"tap","fd":"36","id":"hostnet0"}' \
    -device '{"driver":"vmxnet3","netdev":"hostnet0","id":"net0","mac":"52:54:00:8d:af:75","bus":"pci.0","addr":"0x3"}' \
    -netdev '{"type":"tap","fd":"38","id":"hostnet1"}' \
    -device '{"driver":"vmxnet3","netdev":"hostnet1","id":"net1","mac":"52:54:00:26:2f:dd","bus":"pci.0","addr":"0x4"}' \
    -chardev pty,id=charserial0 \
    -device '{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}' \
    -chardev socket,id=charchannel0,fd=34,server=on,wait=off \
    -device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"org.qemu.guest_agent.0"}' \
    -device '{"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}' \
    -audiodev '{"id":"audio1","driver":"none"}' \
    -vnc 0.0.0.0:0,websocket=5700,share=ignore,audiodev=audio1 \
    -device '{"driver":"qxl-vga","id":"video0","max_outputs":1,"ram_size":67108864,"vram_size":67108864,"vram64_size_mb":0,"vgamem_mb":16,"bus":"pci.0","addr":"0x2"}' \
    -device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.0","addr":"0x8"}' \
    -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
    -msg timestamp=on
    2024-07-09 15:44:18.556+0000: Domain id=1 is tainted: high-privileges
    char device redirected to /dev/pts/1 (label charserial0)
    qxl_send_events: spice-server bug: guest stopped, ignoring
    2024-07-09 15:44:19.221+0000: shutting down, reason=failed
    2024-07-09T15:44:19.221847Z qemu-system-x86_64: terminating on signal 15 from pid 569700 (libvirtd)
     

    Link to comment

    Looks like you having bridging turned off. 

     

    Does the nic work if you edit XML for this line. from yes to no

     

        <interface type='direct' trustGuestRxFilters='no'>

    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
    Add a comment...

    ×   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.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.

×
×
  • Create New...