Sebastien Douche | 23 May 2013 18:24
Picon
Gravatar

hardware error 0x80000021 on Ubuntu 12.10, need advice

Hi,
On a DELL r610 (Intel Xeon L5520) and a Windows guest I have an
hardware error. The bug is well known[1][2] and seems fixed with the
package 3.5.0-16-generic. But I use 3.5.0-30-generic.  Do I need to
upgrade to 13.10? Or just the kernel ? Or modify the options of the
kvm module?

Thanks.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=854983
[2] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1045027

logs:

2013-05-23 15:54:02.306+0000: starting up
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
QEMU_AUDIO_DRV=none /usr/bin/kvm-spice -name windows1 -S -M pc-1.2
-enable-kvm -m 3500 -smp 2,sockets=2,cores=1,threads=1 -uuid
d170225e-7367-4ece-4338-6b1811c10c0c -no-user-config -nodefaults
-chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/windows1.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime
-no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2
-drive file=/srv/kvm/windows1.img,if=none,id=drive-ide0-0-0,format=qcow2
-device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1
-drive file=/srv/iso/windows7ultimate.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw
-device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0
-netdev tap,fd=18,id=hostnet0,vhost=on,vhostfd=19 -device
virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:49:32:cc,bus=pci.0,addr=0x3
-chardev pty,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -device usb-tablet,id=input0
(Continue reading)

Thomas Manninger | 23 May 2013 10:53
Picon
Picon

cpu passthrough

Hello,
i am using debian6 with libvirt and kvm. I have a windows 7 as a guest machine, and this machine needs more then 2 cpu threads.
If i only set vcpu in the xml configuration of the machine, i only see 2 cpus in the windows task manager (because of the windows cpu limitation).

I found a tutorial, to passtrough cpu cores/threads as a socket.
 
virsh capabilities -> copy cpu socket section, and insert it into the virtual machine.
 
On one machine it works for ~1-2 days, then the machine crash and i must restart the machine.
On a other hypervizor machine, the virtual windows 7 machine gets a blue screen by starting up.
 
dom0:
<cpu>
<arch>x86_64</arch>
<model>Westmere</model>
<vendor>Intel</vendor>
<topology sockets='1' cores='4' threads='2'/>
<feature name='rdtscp'/>
<feature name='pdpe1gb'/>
<feature name='dca'/>
<feature name='pdcm'/>
<feature name='xtpr'/>
<feature name='tm2'/>
<feature name='est'/>
<feature name='smx'/>
<feature name='vmx'/>
<feature name='ds_cpl'/>
<feature name='monitor'/>
<feature name='dtes64'/>
<feature name='pclmuldq'/>
<feature name='pbe'/>
<feature name='tm'/>
<feature name='ht'/>
<feature name='ss'/>
<feature name='acpi'/>
<feature name='ds'/>
<feature name='vme'/>
</cpu>
 
cat /proc/cpuinfo
processor : 15
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Intel(R) Xeon(R) CPU E5630 <at> 2.53GHz
stepping : 2
cpu MHz : 2533.489
cache size : 12288 KB
physical id : 1
..
...
 
When i starting the virtual machine with " <model>Westmere</model>", the machine is running with core2duo (i see it with ps aux | grep kvm | grep windows7).
Must i enable Westmere support??

Or is there an other solution?
libvirt version: 0.9.12-5.123.201303061845

Thanks!
_______________________________________________
libvirt-users mailing list
libvirt-users@...
https://www.redhat.com/mailman/listinfo/libvirt-users
Matteo Bernardini | 22 May 2013 11:01
Picon
Gravatar

cgroup error starting domains

Hi,

I've got a small problem using libvirt-1.0.5.1 (with the latest patch in the v1.0.5-maint branch on git added).
I'm using slackware64-14.0 but the situation is exactly the same described on a debian bug

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707201

When trying to start a domain I got

error: Failed to start domain debian-wheezy-xfce
error: Unable to initialize /machine cgroup: Invalid argument

with this in libvirtd.log

virCgroupDetect:373 : Failed to detect mounts for /machine
qemuInitCgroup:425 : Unable to initialize /machine cgroup: Invalid argument

and the error goes away if I unmount /sys/fs/cgroup.

Reverting to 1.0.4 fixes this, but this exposes another thing that I report even if I'm not sure it's an error: if I create a domain with 1.0.5.1 (I use the latest virt-manager to do this), in the xml of the domain there's a line that doesn't seem to have the close tag

<controller type='pci' index='0' model='pci-root'/>

If I revert to 1.0.4 the domain with this line in the xml doesn't even get listed between the available domains and I got this in libvirtd.log

virDomainControllerDefParseXML:4838 : internal error Unknown controller type 'pci'

deleting the interested line make it available again.

Please let me know if you need further informations on the matters.

Matteo
_______________________________________________
libvirt-users mailing list
libvirt-users@...
https://www.redhat.com/mailman/listinfo/libvirt-users
Dale Amon | 21 May 2013 04:20
Gravatar

USB passthrough not working

I just updated an Ubuntu Oneiric to Raring and the VM that works fine on one
fails to start a VM with this passthrough:

   <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x055f'/>
        <product id='0x040b'/>
        <address bus='3' device='8'/>
      </source>
    </hostdev>

It just dies at boot time.
Jon Taylor | 20 May 2013 01:01
Picon

How to see the console output of an EXE session?

Hi,

I am having trouble with a libvirt lxc EXE container which is starting another EXE container itself, and I need to see the console output of (hopefully) both containers.  How do I do this?  I have searched the net a lot, but the answers I found were either out of date, wrong or didn't work.  Has anyone else here done this?

Jon
_______________________________________________
libvirt-users mailing list
libvirt-users@...
https://www.redhat.com/mailman/listinfo/libvirt-users
Dominik Mostowiec | 16 May 2013 23:45
Picon

Two VF cards

Hi,
I try to add 2 VF functions to VM via network.
Livirt networks:
vnet0:
<network>
  <name>vnet0</name>
  <forward mode='hostdev' managed='yes'>
    <pf dev='eth0'/>
  </forward>
</network>

vnet1:
<network>
  <name>vnet0</name>
  <forward mode='hostdev' managed='yes'>
    <pf dev='eth1'/>
  </forward>
</network>

In VM configuration:
 <interface type="network">
     <source network="vnet0"/>
     <mac address="52:54:0a:b1:48:07"/>
 </interface>
 <interface type="network">
     <source network="vnet1"/>
     <mac address="52:54:0a:b1:48:07"/>
 </interface>
 
VM can't start because:
 kvm: -device pci-assign,configfd=24,host=01:10.1,id=hostdev0,bus=pci.0,addr=0x4: Duplicate ID 'hostdev0' for device

libvirt version 1.0.5.

What i am doing wrong?

--
Regards
Dominik

_______________________________________________
libvirt-users mailing list
libvirt-users@...
https://www.redhat.com/mailman/listinfo/libvirt-users
arvind viswanathan | 17 May 2013 02:27
Picon

nova compute libvirt driver and libvirt compatibility

Hi,
From my reading about nova interface to libvirt, I came to know it uses a libvirt driver module to communicate with host libvirt. I was wondering if there are any compatibility matrix available between the nova libvirt driver and the libvirt installed in the host ?
Thanks
Arvind
_______________________________________________
libvirt-users mailing list
libvirt-users@...
https://www.redhat.com/mailman/listinfo/libvirt-users
vikrant verma | 16 May 2013 05:59
Picon

Does Set Block IO tune take effect in the same session.

Hello All,
 
I am using virDomainSetBlockIoTune() API to set the IO tune parameter for a running guest VM.
 
I observed that after setting the value succesfully i ned to Shutdown and start the VM inorder to take the set value in effect.
 
Is there any way with which these values come in effect in the same session of the VM without Shutting down and starting the VM.
 
Please help
 
regards,
Vikrant
_______________________________________________
libvirt-users mailing list
libvirt-users@...
https://www.redhat.com/mailman/listinfo/libvirt-users
Gao Yongwei | 16 May 2013 03:32
Picon
Gravatar

snapshot create error, unable to find cgroup for vm

Hello:
Yesterday I yum update libvirt from 0.9.10 to 0.10.2 ,after update I got some error in libvirtd.log
 like this:
2013-05-10 07:39:09.440+0000: 18824: warning : virCgroupMoveTask:885 : no vm cgroup in controller 3
2013-05-10 07:39:09.440+0000: 18824: warning : virCgroupMoveTask:885 : no vm cgroup in controller 4
2013-05-10 07:39:09.440+0000: 18824: warning : virCgroupMoveTask:885 : no vm cgroup in controller 6
so,I restarted cgconfig and libvirtd daemon :

service cgconfig restart ;
service libvirtd restart

after that ,I cannot create snapshot for vm anymore.and error log message below:
2013-05-16 01:13:23.638+0000: 28848: error : qemuDomainSnapshotCreateDiskActive:11299 : internal error Unable to find cgroup for vm1

my version info :
# rpm -q libvirt
libvirt-0.10.2-18.el6_4.4.x86_64
# rpm -q qemu-kvm
qemu-kvm-0.12.1.2-2.295.el6_3.1.x86_64

in /cgroup dir I cannot find anything about vm1.how can I recover the missing cgroup for vm ?
thanks ! 
_______________________________________________
libvirt-users mailing list
libvirt-users@...
https://www.redhat.com/mailman/listinfo/libvirt-users
Clark Laughlin | 15 May 2013 19:21

libvir: QEMU Driver error : internal error Cannot find suitable emulator for armv7l

Hello,

I am trying to run OpenStack (via devstack) on an Arndale board using Linaro's 13.04 release.  I am getting a
libvirt error that I was hoping someone could provide some more detail about:

libvir: QEMU Driver error : internal error Cannot find suitable emulator for armv7l

If this is coming from libvirt, what is it looking for for a suitable emulator?  Or, is this something I need to
search starting with QEMU?

Thank you in advance,
Clark L
Dimitri Nilsen | 15 May 2013 09:24
Favicon

connect to esx: Could not find HostSystem with name '(null)'

Hi all,

I am trying to connect to esx vi libvirt 0.10.2.

virsh # connect esx://hostname?no_verify=1&auto_answer=1
error: Failed to connect to the hypervisor
error: internal error Could not find HostSystem with name '(null)'

could you give me a hint, what could be a reason for that problem

in a debug log of libvirt I see:
14447: debug : virAuthGetConfigFilePath:77 : Checking for readability of 
'/root/.libvirt/auth.conf'
14447: debug : virAuthGetConfigFilePath:86 : Checking for readability of 
'/etc/libvirt/auth.conf'
14447: debug : virAuthGetConfigFilePath:95 : Using auth file '(null)'
14447: error : esxVI_LookupManagedObjectHelper:4854 : internal error 
Could not find HostSystem with name '(null)'
14447: debug : do_open:1180 : driver 1 ESX returned ERROR

Regards
Dimitri

Gmane