From mboxrd@z Thu Jan 1 00:00:00 1970 From: Farkas Levente Subject: Re: [ANNOUNCE] kvm-46 release Date: Wed, 10 Oct 2007 14:49:37 +0200 Message-ID: <470CCA61.3080007@bppiac.hu> References: <470C8D28.2060408@qumranet.com> <470CB672.4070209@bppiac.hu> <470CB75E.4000404@qumranet.com> <470CB91A.1020508@bppiac.hu> <470CBE58.3040807@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: Avi Kivity Return-path: In-Reply-To: <470CBE58.3040807-atKUWr5tajBWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Avi Kivity wrote: > Farkas Levente wrote: >>>> we did a quick test against this version and it's turn out the smp >>>> guests are still not working. even if we start only one linux guest >>>> with >>>> 4cpu on 4cpu host the guest kernel hangs at random stages of the kernel >>>> loading process (if we run more smp guests then they hang earlier, but >>>> different random stage), but it's never reach the end of the kernel so >>>> hang somewhere inside the kernel. and the cpu usage of these process >>>> goes up to until the qemu-kvm processes eat all cpus (ie. 100%). t >>>> >>> What host cpu are you using? What guest kernel version? 32-bit or >>> 64-bit? >>> >>> I have no problems running a 4-way Linux guest here. >>> >> >> - host: >> - Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz >> - Intel S3000AHV >> - 8GB RAM >> - CentOS-5 >> - kernel-2.6.18-8.1.14.el5 x86_64 64bit >> - guest-1: >> - CentOS-5 >> - kernel-2.6.18-8.1.14.el5 i386 32bit >> - guest-2: >> - CentOS-5 >> - kernel-2.6.18-8.1.14.el5 x86_64 64bit >> - guest-3: >> - Mandrake-9 >> - kernel-2.4.19.16mdk-1-1mdk 32bit >> - guest-4: >> - Windows XP Professional 32bit >> >> start the first guest-1 with 4cpu produce the above hang. (and of course >> using kvm-46:-) >> >> > > Is it the only guest that hangs with -smp 4? Or all of them? if i start this guest alone it's hang. if i start all guest-{1,2,3,4} than all linux guest hangs expect windows which runs but see only one cpu. ok now i try it for you:-) so: - host + guest-1 -> hang - host + guest-2 -> hang in this case i've got a stack trace too on the host, and the host working 2 more minutes (!?) so i see the top part of the stack (shift-pageup) but when i try to take a picture the host crash and i can only see the end:-( but next time i bale to catch it: ----------------------------------------------- BUG: soft lockup detected on CPU#0! Call Trace: [] softlockup_tick+0xdb/0xed [] update_process_times+0x42/0x68 [] smp_local_timer_interrupt+0x23/0x47 [] smp_apic_timer_interrupt+0x41/0x47 [] apic_timer_interrupt+0x66/0x6c [] :kvm:kvm_flush_remote_tlbs+0xfb/0x109 [] :kvm:kvm_flush_remote_tlbs+0xea/0x109 [] :kvm:kvm_mmu_pte_write+0x1fc/0x330 [] :kvm:kvm_write_guest_page+0x98/0xa3 [] :kvm:emulator_write_emulated_onepage+0x6e/0xce [] :kvm:x86_emulate_insn+0x2b99/0x3e58 [] __memset+0x39/0xc0 [] :kvm_intel:vmcs_readl+0x17/0x1c [] :kvm:emulate_instruction+0x152/0x290 [] :kvm_intel:handle_exception+0x170/0x250 [] :kvm:kvm_vcpu_ioctl+0x34b/0x10ba [] :kvm:kvm_vcpu_kick+0x34/0x8e [] :kvm:kvm_vm_ioctl+0x48a/0x6af [] zone_statistics+0x3e/0x6d [] get_page_from_freelist+0x35d/0x3cf [] zone_statistics+0x3e/0x6d [] get_page_from_freelist+0x35d/0x3cf [] __alloc_pages+0x65/0x2b2 [] __next_cpu+0x19/0x28 [] find_busiest_group+0x20d/0x621 [] __next_cpu+0x19/0x28 [] smp_send_reschedule+0x4e/0x53 [] enqueue_task+0x41/0x56 [] __activate_task+0x27/0x39 [] try_to_wake_up+0x407/0x418 [] __wake_up_common+0x3e/0x68 [] __wake_up+0x38/0x4f [] __up_read+0x19/0x7f [] avc_has_perm+0x43/0x55 [] inode_has_perm+0x56/0x63 [] default_wake_function+0x0/0xe [] file_has_perm+0x94/0xa3 [] do_ioctl+0x21/0x6b [] vfs_ioctl+0x248/0x261 [] sys_ioctl+0x59/0x78 [] tracesys+0xd1/0xdc ----------------------------------------------- i hope shouldn't have to test all other guests:-( but if i can help you in something more specific let me know:-) -- 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/