From: Philipp Hahn <hahn@univention.de>
To: kvm <kvm@vger.kernel.org>
Subject: Re: [SOLVED] 2.6.32 stuck in flush_tlb_others_ipi()
Date: Thu, 19 Apr 2012 15:42:31 +0200 [thread overview]
Message-ID: <201204191542.37295.hahn@univention.de> (raw)
In-Reply-To: <201203301944.55376.hahn@univention.de>
[-- Attachment #1: Type: text/plain, Size: 1780 bytes --]
Hello,
good news:
On Friday 30 March 2012 19:44:50 you wrote:
> 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".
It'a guest kernel bug already fixed in v2.6.38 [1], but not (yet) back-ported
to 2.6.32-longterm. [2] fixed a bug with TLB flushing when using PAE, which
made the hidden bug trigger a lot more often. It only happens when using a
PAE enabled guest kernel with >=2 CPUs.
Full details are in our German Bugzilla [3].
[1]
<http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;h=a79e53d85683c6dd9f99c90511028adc2043031f>
[2]
<http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;h=4981d01eada5354d81c8929d5b2836829ba3df7b>
[3] <https://forge.univention.org/bugzilla/show_bug.cgi?id=26661>
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 --]
prev parent reply other threads:[~2012-04-19 13:42 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 ` RFH: kvm-1.0+git on 3.3.0 " Philipp Hahn
2012-04-19 13:42 ` Philipp Hahn [this message]
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=201204191542.37295.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