From: Philipp Hahn <hahn@univention.de>
To: kvm <kvm@vger.kernel.org>
Subject: Re: RFH: kvm-1.0+git on 3.3.0 stuck in flash_tlb_others_ipi()
Date: Fri, 30 Mar 2012 19:44:50 +0200 [thread overview]
Message-ID: <201203301944.55376.hahn@univention.de> (raw)
In-Reply-To: <201201091241.45281.hahn@univention.de>
[-- Attachment #1: Type: text/plain, Size: 1766 bytes --]
Hello,
On Monday 09 January 2012 12:41:41 Philipp Hahn wrote:
> one of our VMs regularly get stuck: the VM is completely unresponsive (no
> ssh, no serial console, no VNC). Using "gdbserver" and a remote system to
> debug the running VM, I see 3 CPUs (1,3,4) stuck in
> pgd_alloc() → spin_lock_irqsave(pgd_lock)
> while the 4th CPU (2) is waiting in
> pgd_alloc() → pgd_prepopulate_pmb() →... → flush_tlb_others_ipi()
>
> 195 while
> (!cpumask_empty(to_cpumask(f->flush_cpumask))) 196
> cpu_relax();
> (gdb) print f->flush_cpumask
> $5 = {1}
>
> CPU 1 is duing a do_exec() syscall, will CPU 2-4 are doing a do_fork()
> syscall according to "thread apply all backtrace".
>
> After a "set variable f->flush_cpumask 0" from gdb the kernel continued
> dumping the trace-informations, which I attached.
I repeatet the test today with current version:
> Host: Debian linux-2.6.32-38-amd64 (=2.6.32.42), 8 Cores
3.3.0 doesn't hep either.
> Kvm: 0.14.1+dfsg
qemu-kvm-1.0-1587-ga0bc8c3 also not.
> Guest: Debian linux-2.6.32-38-i686-bigmem, 4 CPUs
I can reproduce the bug very reliable when building OpenOffice.org and/or
samba4 with -j4.
> Is this a known bug and/or is a fix available?
> I can gather more information from the VM if needd.
Any ideas where to look next?
How can I check that the IPI-handling in KVM works?
Sincerely
Philipp
--
Philipp Hahn Open Source Software Engineer hahn@univention.de
Univention GmbH be open. fon: +49 421 22 232- 0
Mary-Somerville-Str.1 D-28359 Bremen fax: +49 421 22 232-99
http://www.univention.de/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2012-03-30 17:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-09 11:41 RFH: kvm-0.14.1 on 2.6.32.42 stuck in flash_tlb_others_ipi() Philipp Hahn
2012-03-30 17:44 ` Philipp Hahn [this message]
2012-04-19 13:42 ` [SOLVED] 2.6.32 stuck in flush_tlb_others_ipi() Philipp Hahn
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=201203301944.55376.hahn@univention.de \
--to=hahn@univention.de \
--cc=kvm@vger.kernel.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