You are not logged in.
After updating the system libvirt seems to fail to run with physical disks attached. It occurs on windows 7 and kali VM, ran as root or as normal user through virt-manager. In my case I used /dev/disk/by-id/wwn-0x50014ee262301602. If I edit the domain manualy and use /dev/sda, it boots fine but does not show up in windows.
Few notes about system:
I updated recently all the packages. I run linux-grsec modified to not have uderef and other things to make nvidia work.
It says 'the cause is unknown', the trace:
Error starting domain: An error occurred, but the cause is unknown
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 88, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 124, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 83, in newfn
ret = fn(self, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/domain.py", line 1404, in startup
self._backend.create()
File "/usr/lib/python2.7/site-packages/libvirt.py", line 1035, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: An error occurred, but the cause is unknown
journalctl -f
Feb 12 12:48:03 archsys sudo[3119]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 12 12:48:19 archsys NetworkManager[643]: <info> [1486896499.6756] manager: (vnet0): new Tun device (/org/freedesktop/NetworkManager/Devices/12)
Feb 12 12:48:19 archsys NetworkManager[643]: <error> [1486896499.7527] device (virbr0): Generated connection does not verify: bridge.forward-delay: value '1' is out of range <2-30>
Feb 12 12:48:19 archsys kernel: virbr0: port 2(vnet0) entered blocking state
Feb 12 12:48:19 archsys kernel: virbr0: port 2(vnet0) entered disabled state
Feb 12 12:48:19 archsys kernel: device vnet0 entered promiscuous mode
Feb 12 12:48:19 archsys NetworkManager[643]: <info> [1486896499.7722] device (vnet0): state change: unmanaged -> unavailable (reason 'connection-assumed') [10 20 41]
Feb 12 12:48:19 archsys NetworkManager[643]: <error> [1486896499.7738] device (virbr0): Generated connection does not verify: bridge.forward-delay: value '1' is out of range <2-30>
Feb 12 12:48:19 archsys NetworkManager[643]: <info> [1486896499.7741] device (vnet0): state change: unavailable -> disconnected (reason 'none') [20 30 0]
Feb 12 12:48:19 archsys kernel: virbr0: port 2(vnet0) entered blocking state
Feb 12 12:48:19 archsys kernel: virbr0: port 2(vnet0) entered listening state
Feb 12 12:48:19 archsys NetworkManager[643]: <error> [1486896499.7764] device (virbr0): Generated connection does not verify: bridge.forward-delay: value '1' is out of range <2-30>
Feb 12 12:48:19 archsys NetworkManager[643]: <info> [1486896499.8140] manager: (vnet1): new Tun device (/org/freedesktop/NetworkManager/Devices/13)
Feb 12 12:48:19 archsys NetworkManager[643]: <error> [1486896499.8893] device (virbr0): Generated connection does not verify: bridge.forward-delay: value '1' is out of range <2-30>
Feb 12 12:48:19 archsys kernel: virbr0: port 3(vnet1) entered blocking state
Feb 12 12:48:19 archsys kernel: virbr0: port 3(vnet1) entered disabled state
Feb 12 12:48:19 archsys kernel: device vnet1 entered promiscuous mode
Feb 12 12:48:19 archsys NetworkManager[643]: <info> [1486896499.9089] device (vnet1): state change: unmanaged -> unavailable (reason 'connection-assumed') [10 20 41]
Feb 12 12:48:19 archsys NetworkManager[643]: <error> [1486896499.9104] device (virbr0): Generated connection does not verify: bridge.forward-delay: value '1' is out of range <2-30>
Feb 12 12:48:19 archsys NetworkManager[643]: <info> [1486896499.9110] device (vnet1): state change: unavailable -> disconnected (reason 'none') [20 30 0]
Feb 12 12:48:19 archsys kernel: virbr0: port 3(vnet1) entered blocking state
Feb 12 12:48:19 archsys kernel: virbr0: port 3(vnet1) entered listening state
Feb 12 12:48:19 archsys NetworkManager[643]: <error> [1486896499.9127] device (virbr0): Generated connection does not verify: bridge.forward-delay: value '1' is out of range <2-30>
Feb 12 12:48:19 archsys NetworkManager[643]: <info> [1486896499.9672] manager: (vnet2): new Tun device (/org/freedesktop/NetworkManager/Devices/14)
Feb 12 12:48:20 archsys NetworkManager[643]: <error> [1486896500.0361] device (virbr0): Generated connection does not verify: bridge.forward-delay: value '1' is out of range <2-30>
Feb 12 12:48:20 archsys kernel: virbr0: port 4(vnet2) entered blocking state
Feb 12 12:48:20 archsys kernel: virbr0: port 4(vnet2) entered disabled state
Feb 12 12:48:20 archsys kernel: device vnet2 entered promiscuous mode
Feb 12 12:48:20 archsys NetworkManager[643]: <info> [1486896500.0655] device (vnet2): state change: unmanaged -> unavailable (reason 'connection-assumed') [10 20 41]
Feb 12 12:48:20 archsys NetworkManager[643]: <error> [1486896500.0669] device (virbr0): Generated connection does not verify: bridge.forward-delay: value '1' is out of range <2-30>
Feb 12 12:48:20 archsys NetworkManager[643]: <info> [1486896500.0675] device (vnet2): state change: unavailable -> disconnected (reason 'none') [20 30 0]
Feb 12 12:48:20 archsys kernel: virbr0: port 4(vnet2) entered blocking state
Feb 12 12:48:20 archsys kernel: virbr0: port 4(vnet2) entered listening state
Feb 12 12:48:20 archsys NetworkManager[643]: <error> [1486896500.0693] device (virbr0): Generated connection does not verify: bridge.forward-delay: value '1' is out of range <2-30>
Feb 12 12:48:20 archsys libvirtd[894]: 2017-02-12 10:48:20.169+0000: 917: warning : virGetHostnameImpl:707 : getaddrinfo failed for 'archsys': Name or service not known
Feb 12 12:48:20 archsys libvirtd[894]: 2017-02-12 10:48:20.170+0000: 917: warning : qemuDomainObjTaint:4011 : Domain id=4 name='Windows7' uuid=9906797f-b10b-496f-9d5a-abb8340ec48f is tainted: custom-argv
Feb 12 12:48:20 archsys systemd-machined[1827]: New machine qemu-4-Windows7.
Feb 12 12:48:20 archsys systemd[1]: Started Virtual Machine qemu-4-Windows7.
Feb 12 12:48:20 archsys virtlogd[1813]: 2017-02-12 10:48:20.237+0000: 1813: error : virNetSocketReadWire:1800 : End of file while reading data: Input/output error
Feb 12 12:48:20 archsys virtlogd[1813]: 2017-02-12 10:48:20.238+0000: 1813: error : virNetSocketReadWire:1800 : End of file while reading data: Input/output error
Feb 12 12:48:20 archsys kernel: virbr0: port 4(vnet2) entered disabled state
Feb 12 12:48:20 archsys kernel: device vnet2 left promiscuous mode
Feb 12 12:48:20 archsys kernel: virbr0: port 4(vnet2) entered disabled state
Feb 12 12:48:20 archsys NetworkManager[643]: <info> [1486896500.2895] device (vnet2): state change: disconnected -> unmanaged (reason 'unmanaged') [30 10 3]
Feb 12 12:48:20 archsys gnome-shell[1294]: JS LOG: Removing a network device that was not added
Feb 12 12:48:20 archsys kernel: virbr0: port 3(vnet1) entered disabled state
Feb 12 12:48:20 archsys kernel: device vnet1 left promiscuous mode
Feb 12 12:48:20 archsys kernel: virbr0: port 3(vnet1) entered disabled state
Feb 12 12:48:20 archsys NetworkManager[643]: <info> [1486896500.3293] device (vnet1): state change: disconnected -> unmanaged (reason 'unmanaged') [30 10 3]
Feb 12 12:48:20 archsys gnome-shell[1294]: JS LOG: Removing a network device that was not added
Feb 12 12:48:20 archsys kernel: virbr0: port 2(vnet0) entered disabled state
Feb 12 12:48:20 archsys kernel: device vnet0 left promiscuous mode
Feb 12 12:48:20 archsys kernel: virbr0: port 2(vnet0) entered disabled state
Feb 12 12:48:20 archsys NetworkManager[643]: <info> [1486896500.3960] device (vnet0): state change: disconnected -> unmanaged (reason 'unmanaged') [30 10 3]
Feb 12 12:48:20 archsys gnome-shell[1294]: JS LOG: Removing a network device that was not added
Feb 12 12:48:20 archsys systemd-machined[1827]: Machine qemu-4-Windows7 terminated.
Domain
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<name>Windows7</name>
<uuid>9906797f-b10b-496f-9d5a-abb8340ec48f</uuid>
<memory unit='KiB'>12582912</memory>
<currentMemory unit='KiB'>12582912</currentMemory>
<vcpu placement='static' current='4'>8</vcpu>
<cputune>
<vcpupin vcpu='0' cpuset='4'/>
<vcpupin vcpu='1' cpuset='5'/>
<vcpupin vcpu='2' cpuset='6'/>
<vcpupin vcpu='3' cpuset='7'/>
<vcpupin vcpu='4' cpuset='12'/>
<vcpupin vcpu='5' cpuset='13'/>
<vcpupin vcpu='6' cpuset='14'/>
<vcpupin vcpu='7' cpuset='15'/>
</cputune>
<os>
<type arch='x86_64' machine='pc-q35-2.8'>hvm</type>
</os>
<features>
<acpi/>
<apic/>
<hyperv>
<vendor_id state='on' value='whatever'/>
</hyperv>
<kvm>
<hidden state='on'/>
</kvm>
<vmport state='off'/>
</features>
<cpu mode='custom' match='exact'>
<model fallback='allow'>Haswell-noTSX</model>
<topology sockets='1' cores='4' threads='2'/>
</cpu>
<clock offset='localtime'>
<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>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/sbin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/mnt/nfs/VMs/Win7Dev.qcow2'/>
<target dev='vda' bus='virtio'/>
<boot order='1'/>
<address type='pci' domain='0x0000' bus='0x02' slot='0x04' function='0x0'/>
</disk>
<disk type='file' device='disk'>
<driver name='qemu' type='raw'/>
<source file='/dev/disk/by-id/wwn-0x50014ee262301602'/>
<target dev='vdb' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</disk>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<target dev='sda' bus='sata'/>
<readonly/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<target dev='sdb' bus='sata'/>
<readonly/>
<address type='drive' controller='0' bus='0' target='0' unit='1'/>
</disk>
<controller type='pci' index='0' model='pcie-root'/>
<controller type='pci' index='1' model='pci-bridge'>
<model name='pci-bridge'/>
<target chassisNr='1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</controller>
<controller type='pci' index='2' model='pci-bridge'>
<model name='pci-bridge'/>
<target chassisNr='2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</controller>
<controller type='pci' index='3' model='pci-bridge'>
<model name='pci-bridge'/>
<target chassisNr='3'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/>
</controller>
<controller type='pci' index='4' model='pcie-root-port'>
<model name='ioh3420'/>
<target chassis='4' port='0x20'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='5' model='pcie-root-port'>
<model name='ioh3420'/>
<target chassis='5' port='0x21'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x1'/>
</controller>
<controller type='pci' index='6' model='pcie-root-port'>
<model name='ioh3420'/>
<target chassis='6' port='0x22'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x2'/>
</controller>
<controller type='virtio-serial' index='0'>
<address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/>
</controller>
<controller type='sata' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
</controller>
<controller type='usb' index='0' model='ich9-ehci1'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x7'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci1'>
<master startport='0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x0' multifunction='on'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci2'>
<master startport='2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x1'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci3'>
<master startport='4'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x2'/>
</controller>
<controller type='scsi' index='0'>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</controller>
<interface type='network'>
<mac address='52:54:00:49:d7:a0'/>
<source network='default'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x03' function='0x0'/>
</interface>
<interface type='network'>
<mac address='52:54:00:79:ff:ba'/>
<source network='default'/>
<model type='rtl8139'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x07' function='0x0'/>
</interface>
<interface type='network'>
<mac address='52:54:00:22:ec:72'/>
<source network='default'/>
<model type='e1000'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x08' function='0x0'/>
</interface>
<serial type='pty'>
<target port='0'/>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<channel type='spicevmc'>
<target type='virtio' name='com.redhat.spice.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='spice' autoport='yes'>
<listen type='address'/>
</graphics>
<sound model='ac97'>
<address type='pci' domain='0x0000' bus='0x01' slot='0x04' function='0x0'/>
</sound>
<sound model='ich6'>
<address type='pci' domain='0x0000' bus='0x01' slot='0x05' function='0x0'/>
</sound>
<sound model='ich9'>
<address type='pci' domain='0x0000' bus='0x01' slot='0x06' function='0x0'/>
</sound>
<video>
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
<address type='pci' domain='0x0000' bus='0x03' slot='0x01' function='0x0'/>
</video>
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
<address domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</source>
<address type='pci' domain='0x0000' bus='0x01' slot='0x02' function='0x0'/>
</hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
<address domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
</source>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
</hostdev>
<redirdev bus='usb' type='spicevmc'>
<address type='usb' bus='0' port='1'/>
</redirdev>
<redirdev bus='usb' type='spicevmc'>
<address type='usb' bus='0' port='2'/>
</redirdev>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x02' slot='0x05' function='0x0'/>
</memballoon>
</devices>
<qemu:commandline>
<qemu:arg value='-set'/>
<qemu:arg value='device.hostdev0.x-vga=on'/>
</qemu:commandline>
</domain>
Is there any workaround for this?
Last edited by thediamondgames (2017-02-15 13:59:28)
Offline
This is a known problem with several existing threads.
Please search the forums before posting.
Offline
This is a known problem with several existing threads.
Please search the forums before posting.
Thanks, I thought that was an entirely different problem.
Offline