Re: [CentOS-virt] Virt-install Error on Centos 5.4 64bit and kvm

2010-07-27 Thread Kenni Lund
2010/7/27 cris rock quenerovi...@hotmail.com:

 On the /var/log/libvirt/qemu/p3k0401.log:

 LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin HOME=/
 /usr/bin/qemu-system-x86_64 -S -M rhel5.4.0 -m 1024 -smp 1 -name p3k0401
 -uuid 7658c102-0738-724c-40eb-e1c58b2c2369 -domid 3 -nographic -monitor
 pty -pidfile /var/run/libvirt/qemu//p3k0401.pid -no-reboot -boot c
 -kernel /var/lib/libvirt/boot/virtinst-vmlinuz.O_SOVo -initrd
 /var/lib/libvirt/boot/virtinst-initrd.img.0ba0Fp -append
 method=http://10.1.4.80  -drive
 file=//dev/VolGroup01/p3k0401logvol,if=ide,index=0,cache=none -net
 nic,macaddr=54:52:00:15:c4:50,vlan=0 -net
 tap,fd=16,script=,vlan=0,ifname=vnet0 -serial pty -parallel none -usb
 Supported machines are:
 pc Standard PC (alias of pc-0.12)
 pc-0.12 Standard PC (default)
 pc-0.11 Standard PC, qemu 0.11
 pc-0.10 Standard PC, qemu 0.10
 isapc ISA-only PC
 xenpv Xen Para-virtualized PC


 And my packages installed:

 # rpm -qa | grep qemu
 qemu-0.12.4-1.el5.rf

 # rpm -qa | grep kvm
 etherboot-zroms-kvm-5.4.4-13.el5.centos
 kmod-kvm-83-164.el5_5.12
 kvm-83-164.el5_5.12

I haven't used CentOS as a KVM host yet, only Fedora, but your setup
still puzzles me...why do you have a brand new qemu-package (as in
not from the CentOS/RHEL repositories) installed? I would guess that
this package would conflict with the kvm package and mess things up.

Your error message mentions /usr/bin/qemu-system-x86_64 as the
executable. If you run
rpm -qf /usr/bin/qemu-system-x86_64
does it then tell you that this file belong to the qemu package? If
so, I believe this is your problem...you try to use qemu, which has
partial KVM support, instead of using qemu-kvm (which is the real
KVM userspace executable that originates from the kvm package). I
don't think the arguments supported by qemu-system-x86_64 and qemu-kvm
are the same, which probably could be the cause of the client not
booting and libvirt/virt-manager failing.

Best Regards
Kenni
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Virt-install Error on Centos 5.4 64bit and kvm

2010-07-27 Thread Akemi Yagi
On Tue, Jul 27, 2010 at 2:47 PM, Kenni Lund ke...@kelu.dk wrote:
 2010/7/27 cris rock quenerovi...@hotmail.com:

 And my packages installed:

 # rpm -qa | grep qemu
 qemu-0.12.4-1.el5.rf

 # rpm -qa | grep kvm
 etherboot-zroms-kvm-5.4.4-13.el5.centos
 kmod-kvm-83-164.el5_5.12
 kvm-83-164.el5_5.12

 I haven't used CentOS as a KVM host yet, only Fedora, but your setup
 still puzzles me...why do you have a brand new qemu-package (as in
 not from the CentOS/RHEL repositories) installed? I would guess that
 this package would conflict with the kvm package and mess things up.

 Your error message mentions /usr/bin/qemu-system-x86_64 as the
 executable. If you run
 rpm -qf /usr/bin/qemu-system-x86_64
 does it then tell you that this file belong to the qemu package? If
 so, I believe this is your problem...you try to use qemu, which has
 partial KVM support, instead of using qemu-kvm (which is the real
 KVM userspace executable that originates from the kvm package). I
 don't think the arguments supported by qemu-system-x86_64 and qemu-kvm
 are the same, which probably could be the cause of the client not
 booting and libvirt/virt-manager failing.

Right, and there is a bit more about kvm-qemu (correct) versus qemu
(incorrect) as explained by Fabian Arrotin in this bug report:

http://bugs.centos.org/view.php?id=4111

Remove the installed qemu and install kvm-qemu-img and try again.

Akemi
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt