From: Farkas Levente <lfarkas-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org>
To: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: kvm-devel <kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: [ANNOUNCE] kvm-46 release
Date: Wed, 10 Oct 2007 14:49:37 +0200 [thread overview]
Message-ID: <470CCA61.3080007@bppiac.hu> (raw)
In-Reply-To: <470CBE58.3040807-atKUWr5tajBWk0Htik3J/w@public.gmane.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:
<IRQ> [<ffffffff800b2c30>] softlockup_tick+0xdb/0xed
[<ffffffff800933ec>] update_process_times+0x42/0x68
[<ffffffff80073d61>] smp_local_timer_interrupt+0x23/0x47
[<ffffffff80074423>] smp_apic_timer_interrupt+0x41/0x47
[<ffffffff8005bcc2>] apic_timer_interrupt+0x66/0x6c
<EOI> [<ffffffff88208aa6>] :kvm:kvm_flush_remote_tlbs+0xfb/0x109
[<ffffffff88208a95>] :kvm:kvm_flush_remote_tlbs+0xea/0x109
[<ffffffff8820e0a7>] :kvm:kvm_mmu_pte_write+0x1fc/0x330
[<ffffffff88207657>] :kvm:kvm_write_guest_page+0x98/0xa3
[<ffffffff882093fd>] :kvm:emulator_write_emulated_onepage+0x6e/0xce
[<ffffffff88211a91>] :kvm:x86_emulate_insn+0x2b99/0x3e58
[<ffffffff8005fc15>] __memset+0x39/0xc0
[<ffffffff88229404>] :kvm_intel:vmcs_readl+0x17/0x1c
[<ffffffff88209251>] :kvm:emulate_instruction+0x152/0x290
[<ffffffff8822bb85>] :kvm_intel:handle_exception+0x170/0x250
[<ffffffff88209945>] :kvm:kvm_vcpu_ioctl+0x34b/0x10ba
[<ffffffff88213082>] :kvm:kvm_vcpu_kick+0x34/0x8e
[<ffffffff8820ae33>] :kvm:kvm_vm_ioctl+0x48a/0x6af
[<ffffffff800bea1e>] zone_statistics+0x3e/0x6d
[<ffffffff8000a778>] get_page_from_freelist+0x35d/0x3cf
[<ffffffff800bea1e>] zone_statistics+0x3e/0x6d
[<ffffffff8000a778>] get_page_from_freelist+0x35d/0x3cf
[<ffffffff8000ee4e>] __alloc_pages+0x65/0x2b2
[<ffffffff8013b1b2>] __next_cpu+0x19/0x28
[<ffffffff800857cf>] find_busiest_group+0x20d/0x621
[<ffffffff8013b1b2>] __next_cpu+0x19/0x28
[<ffffffff80072a51>] smp_send_reschedule+0x4e/0x53
[<ffffffff80086458>] enqueue_task+0x41/0x56
[<ffffffff80086494>] __activate_task+0x27/0x39
[<ffffffff80044d32>] try_to_wake_up+0x407/0x418
[<ffffffff800850b5>] __wake_up_common+0x3e/0x68
[<ffffffff8002dd9c>] __wake_up+0x38/0x4f
[<ffffffff80021b8a>] __up_read+0x19/0x7f
[<ffffffff8011735a>] avc_has_perm+0x43/0x55
[<ffffffff80117e91>] inode_has_perm+0x56/0x63
[<ffffffff80086c37>] default_wake_function+0x0/0xe
[<ffffffff80117f32>] file_has_perm+0x94/0xa3
[<ffffffff8003fc5b>] do_ioctl+0x21/0x6b
[<ffffffff8002fa61>] vfs_ioctl+0x248/0x261
[<ffffffff8004a267>] sys_ioctl+0x59/0x78
[<ffffffff8005b2c1>] 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/
next prev parent reply other threads:[~2007-10-10 12:49 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-10 8:28 [ANNOUNCE] kvm-46 release Avi Kivity
[not found] ` <470C8D28.2060408-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-10 8:39 ` Jun Koi
[not found] ` <fdaac4d50710100139v204e0e1du21efc51df95f77e7-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-10-10 8:41 ` Avi Kivity
[not found] ` <470C9034.2000206-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-10 9:04 ` Jun Koi
[not found] ` <fdaac4d50710100204n23a3486bk3012fa995b14455d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-10-10 9:07 ` Avi Kivity
[not found] ` <470C9660.8090700-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-11 1:02 ` Jun Koi
[not found] ` <fdaac4d50710101802u27013e48l8c88641a904f6ef8-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-10-11 1:13 ` Anthony Liguori
2007-10-10 9:52 ` Farkas Levente
[not found] ` <470CA0DB.8020303-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org>
2007-10-10 10:08 ` Avi Kivity
[not found] ` <470CA4AA.6020909-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-10 10:18 ` Farkas Levente
2007-10-10 10:16 ` Farkas Levente
2007-10-10 11:24 ` Farkas Levente
[not found] ` <470CB672.4070209-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org>
2007-10-10 11:28 ` Avi Kivity
[not found] ` <470CB75E.4000404-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-10 11:35 ` Farkas Levente
[not found] ` <470CB91A.1020508-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org>
2007-10-10 11:58 ` Avi Kivity
[not found] ` <470CBE58.3040807-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-10 12:49 ` Farkas Levente [this message]
[not found] ` <470CCA61.3080007-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org>
2007-10-13 7:18 ` Avi Kivity
[not found] ` <47107150.3000106-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-15 14:22 ` Farkas Levente
2007-10-10 13:39 ` Daniel P. Berrange
[not found] ` <20071010133912.GB1894-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-10-10 13:39 ` Avi Kivity
[not found] ` <470CD61A.4090103-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-10 13:49 ` Haydn Solomon
[not found] ` <b75785ba0710100649y3903f0ccma8c687d033fffec7-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-10-10 14:59 ` Dor Laor
[not found] ` <470CE8E7.7010001-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-10 15:22 ` Haydn Solomon
2007-10-12 7:53 ` Gerd Hoffmann
[not found] ` <470F2806.8090902-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-10-13 7:13 ` Avi Kivity
[not found] ` <4710701C.2040200-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-15 10:44 ` Gerd Hoffmann
[not found] ` <47134476.1050609-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-10-15 11:00 ` Gerd Hoffmann
[not found] ` <47134857.9030102-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-10-15 11:06 ` Izik Eidus
[not found] ` <1192446374.6578.0.camel-siXIhNkUrCXckEVJwWePHtCfPAL7FxvL@public.gmane.org>
2007-10-15 11:15 ` Gerd Hoffmann
[not found] ` <47134BC0.1000008-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-10-15 11:24 ` Izik Eidus
[not found] ` <1192447442.6911.5.camel-siXIhNkUrCXckEVJwWePHtCfPAL7FxvL@public.gmane.org>
2007-10-15 11:44 ` Gerd Hoffmann
[not found] ` <47135284.1060106-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-10-17 10:07 ` [patch] kvmctl.c: allow custom memory setup Gerd Hoffmann
[not found] ` <4715DEFC.8010507-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-10-17 22:46 ` Izik Eidus
[not found] ` <471690D2.2060204-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-17 22:56 ` Izik Eidus
2007-10-18 7:39 ` Gerd Hoffmann
[not found] ` <47170D95.1050603-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-10-18 8:10 ` Dor Laor
[not found] ` <471714FC.6050703-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-18 10:18 ` Gerd Hoffmann
[not found] ` <47173300.70907-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-10-18 10:30 ` Izik Eidus
[not found] ` <1192703432.3175.18.camel-siXIhNkUrCXckEVJwWePHtCfPAL7FxvL@public.gmane.org>
2007-10-18 10:39 ` Avi Kivity
[not found] ` <471737E8.6000708-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-18 11:06 ` Gerd Hoffmann
[not found] ` <47173E21.3010502-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-10-18 11:21 ` Avi Kivity
[not found] ` <471741D1.7000500-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-18 12:24 ` Gerd Hoffmann
[not found] ` <47175088.7000507-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-10-18 12:34 ` Avi Kivity
[not found] ` <471752BC.90600-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-18 15:29 ` Gerd Hoffmann
[not found] ` <47177BCF.7010309-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-10-18 16:43 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=470CCA61.3080007@bppiac.hu \
--to=lfarkas-lwvwdrzso4ghxe+lvdladg@public.gmane.org \
--cc=avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox