Laurent Vivier wrote:
> Hi Levente,
> 
> Le mardi 13 novembre 2007 à 10:07 +0100, Farkas Levente a écrit :
>> Avi Kivity wrote:
>>> Farkas Levente wrote:
>>>> Avi Kivity wrote:
>>>>   
>>>>> Farkas Levente wrote:
>>>>>     
>>>>>> first of all fully update your centos (a bit newer kernel), then i use
>>>>>> these packages:
>>>>>> http://www.lfarkas.org/linux/packages/centos/5/x86_64/
>>>>>> use libvirtd and virt-manager too and start the guests from there. and
>>>>>> start them manually paralell (i used to reboot the host when i update
>>>>>> kvm, the start virt-manager and start each guests). 
>>>>>>       
>>>>> IIRC virt-manager uses /usr/bin/kvm as its qemu launcher.  Maybe it is
>>>>> running the old userspace.  Can you ensure that you are using the new
>>>>> userspace and new kernel modules at all times?
>>>>>     
>>>> yes, it's sure. i always run rpm -Uvh kvm... kmod-kvm... and the reboot
>>>> the host (just to be sure).
>>>>
>>>>   
>>> Installing the files means nothing.  You also need to make sure all your
>>> tools use the right binaries (or use the command line directly).
>> ohh come on. i use linux since 94 and i use redhat/rpm since redhat 3.0
>> (not rhel3) i do know how to install and use packages and which files
>> are called. there is no any other kvm in the given machine. ok i
>> understand that you try to find some kind of reason why it's works for
>> you and not for me but that's not the reason.
>> anyway it'd be useful to if i can see which version of the userspace
>> running ie. give a short message into the stslog on the host about the
>> userspace version may be even a warning in case of the kmod and the
>> userspace version are different, but currently that's all:
>> ------------------------------------
>> [EMAIL PROTECTED] ~]# rpm -qa|grep kvm
>> kmod-kvm-52-1.2.6.18_8.1.15.el5
>> kvm-52-1
>> [EMAIL PROTECTED] ~]# rpm -qf /usr/bin/qemu-kvm
>> kvm-52-1
>> [EMAIL PROTECTED] ~]# rpm -V kvm-52-1
>> [EMAIL PROTECTED] ~]# modinfo kvm_intel
>> filename:       /lib/modules/2.6.18-8.1.15.el5/extra/kvm/kvm-intel.ko
>> license:        GPL
>> author:         Qumranet
>> version:        kvm-52
>> srcversion:     F7E80D6C3124584F75EDAAF
>> depends:        kvm
>> vermagic:       2.6.18-8.1.15.el5 SMP mod_unload gcc-4.1
>> parm:           bypass_guest_pf:bool
> [snip]
> 
> perhaps you can try:
> 
> - "rpm -ql kvm-52-1"
> - "rpm -qf /lib/modules/2.6.18-8.1.15.el5/extra/kvm/kvm-intel.ko"
> - "find /lib/modules -name kvm.ko"
> - "find /lib/modules -name kvm-intel.ko"
> - "type qemu-kvm"
> 
> Just to be sure there is no garbage on your system...

[EMAIL PROTECTED] ~]# rpm -ql kvm-52-1
/etc/sysconfig/modules/kvm.modules
/usr/bin/qemu-kvm
/usr/share/man/man1/qemu-kvm.1.gz
/usr/share/qemu
/usr/share/qemu/bios.bin
/usr/share/qemu/keymaps
/usr/share/qemu/keymaps/ar
/usr/share/qemu/keymaps/common
/usr/share/qemu/keymaps/da
/usr/share/qemu/keymaps/de
/usr/share/qemu/keymaps/de-ch
/usr/share/qemu/keymaps/en-gb
/usr/share/qemu/keymaps/en-us
/usr/share/qemu/keymaps/es
/usr/share/qemu/keymaps/et
/usr/share/qemu/keymaps/fi
/usr/share/qemu/keymaps/fo
/usr/share/qemu/keymaps/fr
/usr/share/qemu/keymaps/fr-be
/usr/share/qemu/keymaps/fr-ca
/usr/share/qemu/keymaps/fr-ch
/usr/share/qemu/keymaps/hr
/usr/share/qemu/keymaps/hu
/usr/share/qemu/keymaps/is
/usr/share/qemu/keymaps/it
/usr/share/qemu/keymaps/ja
/usr/share/qemu/keymaps/lt
/usr/share/qemu/keymaps/lv
/usr/share/qemu/keymaps/mk
/usr/share/qemu/keymaps/modifiers
/usr/share/qemu/keymaps/nl
/usr/share/qemu/keymaps/nl-be
/usr/share/qemu/keymaps/no
/usr/share/qemu/keymaps/pl
/usr/share/qemu/keymaps/pt
/usr/share/qemu/keymaps/pt-br
/usr/share/qemu/keymaps/ru
/usr/share/qemu/keymaps/sl
/usr/share/qemu/keymaps/sv
/usr/share/qemu/keymaps/th
/usr/share/qemu/keymaps/tr
/usr/share/qemu/openbios-sparc32
/usr/share/qemu/ppc_rom.bin
/usr/share/qemu/pxe-ne2k_pci.bin
/usr/share/qemu/pxe-pcnet.bin
/usr/share/qemu/pxe-rtl8139.bin
/usr/share/qemu/vgabios-cirrus.bin
/usr/share/qemu/vgabios.bin
/usr/share/qemu/video.x
[EMAIL PROTECTED] ~]# rpm -qf 
/lib/modules/2.6.18-8.1.15.el5/extra/kvm/kvm-intel.ko
kmod-kvm-52-1.2.6.18_8.1.15.el5
[EMAIL PROTECTED] ~]# find /lib/modules -name kvm.ko
/lib/modules/2.6.18-8.1.15.el5/extra/kvm/kvm.ko
[EMAIL PROTECTED] ~]# find /lib/modules -name kvm-intel.ko
/lib/modules/2.6.18-8.1.15.el5/extra/kvm/kvm-intel.ko
[EMAIL PROTECTED] ~]# type qemu-kvm
qemu-kvm is /usr/bin/qemu-kvm


-- 
  Levente                               "Si vis pacem para bellum!"

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to