<div dir="ltr">Update 4? last I checked, CentOS had only Update 3..<div><br></div><div>Hetz<br><br><div class="gmail_quote">On Tue, Oct 20, 2009 at 5:32 PM, Ohad Levy <span dir="ltr"><<a href="mailto:ohadlevy@gmail.com">ohadlevy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
I think that you need update 4 for proper KVM support.<br>
<br>
Libvirt works with qemu and kvm by design.<br>
<br>
Cheers,<br>
<font color="#888888">Ohad<br>
</font><div><div></div><div class="h5"><br>
<br>
<br>
On 10/20/09, Ehud Karni <<a href="mailto:ehud@unix.mvs.co.il">ehud@unix.mvs.co.il</a>> wrote:<br>
> Hello all,<br>
><br>
> I've been using virtualization with Xen for quite a while.<br>
> 2 weeks ago I decided give `kvm' a try, but yesterday I went back to<br>
> Xen, after kvm caused panic and misbehaved.<br>
><br>
> The CPU is Intel Xeon E5335 @ 2.00GHz 4 cores.<br>
> The OS is CentOS 5.3/4 2.6.18-164.el5 (for kvm use),<br>
> 2.6.18-164.el5xen (for xen use).<br>
><br>
> The problems with the kvm started when I tried to install the guest.<br>
> The guest panicked immediately after I pressed enter on the 1st screen.<br>
> I overcome this problem by adding the `nmi_watchdog=0' kernel parameter<br>
> when doing the guest installation.<br>
><br>
> But than I had 3 problems on the host: It lost its network or part of<br>
> it (e.g. NFS mount) occasionally, sometimes it rebooted itself and<br>
> sometimes it panicked. It also filled the log with BUG alerts (example<br>
> is bellow).<br>
><br>
> So I added the `nmi_watchdog=0' kernel parameter to the host too.<br>
> It made thing better (no reboot or panic) but it still lost the network,<br>
> and the log filled with the same BUG reports.<br>
><br>
> I changed to the Xen kernel (dropping the nmi_watchdog=0), things<br>
> quited down and there are no errors.<br>
><br>
> BTW, I found that I can still run the guests with `qemu-kvm' (not the<br>
> qemu-dm that come with Xen) and control them with virt-manager through<br>
> the qemu connection (qemu:///system) even though the kvm and kvm-intel<br>
> modules are not loaded.<br>
><br>
> Ehud.<br>
><br>
><br>
> The BUG allert in the system log:<br>
><br>
> Oct 10 10:00:11 cvhlnx kernel: BUG: soft lockup - CPU#1 stuck for 10s!<br>
> [qemu-kvm:12659]<br>
> Oct 10 10:00:11 cvhlnx kernel: CPU 1:<br>
> Oct 10 10:00:11 cvhlnx kernel: Modules linked in: loop tun ipt_MASQUERADE<br>
> iptable_nat ip_nat xt_state ip_conntrack nfnetlink ipt_REJECT xt_tcpudp<br>
> iptable_filter ip_tables x_tables nfsd exportfs auth_rpcgss nfs fscache<br>
> nfs_acl lockd sunrpc bridge iscsi_tcp libiscsi_tcp ib_iser libiscsi2<br>
> scsi_transport_iscsi2 scsi_transport_iscsi ib_srp ib_sdp ib_ipoib<br>
> ipoib_helper ipv6 xfrm_nalgo crypto_api rdma_ucm ib_ucm ib_uverbs ib_umad<br>
> rdma_cm ib_cm iw_cm ib_addr ib_sa ib_mad ib_core ext4 jbd2 crc16 dm_mirror<br>
> dm_multipath scsi_dh video hwmon backlight sbs i2c_ec button battery<br>
> asus_acpi acpi_memhotplug ac lp kvm_intel(U) kvm(U) i2c_i801 i2c_core<br>
> parport_pc ide_cd tg3 sg pcspkr cdrom parport i5000_edac edac_mc serio_raw<br>
> dm_raid45 dm_message dm_region_hash dm_log dm_mod dm_mem_cache usb_storage<br>
> ata_piix libata shpchp aacraid sd_mod scsi_mod ext3 jbd uhci_hcd ohci_hcd<br>
> ehci_hcd<br>
> Oct 10 10:00:11 cvhlnx kernel: Pid: 12659, comm: qemu-kvm Tainted: G<br>
> 2.6.18-164.el5 #1<br>
> Oct 10 10:00:11 cvhlnx kernel: RIP: 0010:[<ffffffff8827f613>]<br>
> [<ffffffff8827f613>] :kvm:kvm_flush_remote_tlbs+0xfb/0x109<br>
> Oct 10 10:00:11 cvhlnx kernel: RSP: 0018:ffff81014f567878 EFLAGS: 00000297<br>
> Oct 10 10:00:11 cvhlnx kernel: RAX: 0000000000000000 RBX: ffff81014f5678a8<br>
> RCX: 0000000000000000<br>
> Oct 10 10:00:11 cvhlnx kernel: RDX: 000000000003e0a3 RSI: 00000000000000ff<br>
> RDI: 00000000000000c0<br>
> Oct 10 10:00:11 cvhlnx kernel: RBP: ffffffff8827e000 R08: 0000000000000004<br>
> R09: 000000000000003c<br>
> Oct 10 10:00:11 cvhlnx kernel: R10: ffff81014f567888 R11: ffffffff8828fba0<br>
> R12: 0000000000000000<br>
> Oct 10 10:00:11 cvhlnx kernel: R13: 0000000000000000 R14: 0000000000000000<br>
> R15: 000000000000000d<br>
> Oct 10 10:00:11 cvhlnx kernel: FS: 0000000042577940(0000)<br>
> GS:ffff810107f107c0(0000) knlGS:00000000f7fc46c0<br>
> Oct 10 10:00:11 cvhlnx kernel: CS: 0010 DS: 002b ES: 002b CR0:<br>
> 000000008005003b<br>
> Oct 10 10:00:11 cvhlnx kernel: CR2: 00000000080dd1a0 CR3: 00000001332da000<br>
> CR4: 00000000000026e0<br>
> Oct 10 10:00:11 cvhlnx kernel:<br>
> Oct 10 10:00:11 cvhlnx kernel: Call Trace:<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff8827f602>]<br>
> :kvm:kvm_flush_remote_tlbs+0xea/0x109<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff882833d0>]<br>
> :kvm:kvm_mmu_pte_write+0x1b0/0x295<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff88280f9e>]<br>
> :kvm:emulator_write_emulated_onepage+0xd4/0x171<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff8828740f>]<br>
> :kvm:x86_emulate_memop+0x2bd1/0x3e6a<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff88284402>]<br>
> :kvm:paging64_page_fault+0x102/0x260<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff800114ee>] do_wp_page+0x821/0x918<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff8829a3be>]<br>
> :kvm_intel:vmcs_readl+0x17/0x1c<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff8828002f>]<br>
> :kvm:emulate_instruction+0xf6/0x286<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff8829bd6f>]<br>
> :kvm_intel:handle_exception+0x138/0x21b<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff8829cba3>]<br>
> :kvm_intel:vmx_vcpu_run+0x694/0x775<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff88288d1a>]<br>
> :kvm:preempt_notifier_register+0x53/0x79<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff88280384>]<br>
> :kvm:kvm_vcpu_ioctl+0x1c5/0xd0b<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff8008a29b>]<br>
> __wake_up_common+0x3e/0x68<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff8002e2f2>] __wake_up+0x38/0x4f<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff8005121d>] wake_futex+0x45/0x4f<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff800a1f9d>] futex_wake+0x91/0xc7<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff8003e2b0>] do_futex+0x282/0xc3f<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff80008d84>]<br>
> __handle_mm_fault+0x5f2/0xf99<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff8014d83d>] __next_cpu+0x19/0x28<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff80097baf>]<br>
> __dequeue_signal+0x12d/0x193<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff8008be71>]<br>
> default_wake_function+0x0/0xe<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff80097667>]<br>
> recalc_sigpending+0xe/0x25<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff800420a5>] do_ioctl+0x21/0x6b<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff800302ce>] vfs_ioctl+0x457/0x4b9<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff800a2d1a>] sys_futex+0x10d/0x12d<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff8004c766>] sys_ioctl+0x59/0x78<br>
> Oct 10 10:00:11 cvhlnx kernel: [<ffffffff8005d116>] system_call+0x7e/0x83<br>
> Oct 10 10:00:11 cvhlnx kernel:<br>
><br>
><br>
> --<br>
> Ehud Karni Tel: +972-3-7966-561 /"\<br>
> Mivtach - Simon Fax: +972-3-7976-561 \ / ASCII Ribbon Campaign<br>
> Insurance agencies (USA) voice mail and X Against HTML Mail<br>
> <a href="http://www.mvs.co.il" target="_blank">http://www.mvs.co.il</a> FAX: 1-815-5509341 / \<br>
> GnuPG: 98EA398D <<a href="http://www.keyserver.net/" target="_blank">http://www.keyserver.net/</a>> Better Safe Than Sorry<br>
><br>
> _______________________________________________<br>
> Linux-il mailing list<br>
> <a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
> <a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
><br>
<br>
_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Skepticism is the lazy person's default position.<br>my blog (hebrew): <a href="http://benhamo.org">http://benhamo.org</a><br>
</div></div>