public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Ryan Harper <ryanh-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: BUG_ON in mmu.c:436
Date: Tue, 25 Sep 2007 10:00:24 +0200	[thread overview]
Message-ID: <46F8C018.6000907@qumranet.com> (raw)
In-Reply-To: <20070924212649.GS7519-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>

Ryan Harper wrote:
> * Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org> [2007-09-24 02:57]:
>   
>> Ryan Harper wrote:
>>     
>>> I've run into a nasty bug while trying to install a Linux guest using
>>> VMware Server inside a kvm guest (full dmesg attached and recreate
>>> instructions below bug).
>>>
>>>  
>>>       
>> Can you reproduce this with AUDIT turned on (top of mmu.c)? AUDIT is 
>> very slow, so it's recommended to reduce guest memory as much as possible.
>>     
>
> Working on it -- running for the better part of today with 256MB and I'm
> still booting up the guest.  I'll let you know how things go tomorrow.
> Any thoughts on how to speed audit runs up other than lower guest
> memory?
>   

Hmm.  Reduce the number of shadow page tables (KVM_NUM_MMU_PAGES).  You
can also turn a few passes off in the main audit function, but that of
course reduces its effectiveness.

btw, the error may occur before the guest fails, so keep an eye on
dmesg.  Once it hits things will slow down even more due to a flood of
printks.

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

      parent reply	other threads:[~2007-09-25  8:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-23 21:55 BUG_ON in mmu.c:436 Ryan Harper
     [not found] ` <20070923215548.GP7519-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2007-09-24  2:39   ` Scott Serr
2007-09-24  7:54   ` Avi Kivity
     [not found]     ` <46F76D46.7040502-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-24 21:26       ` Ryan Harper
     [not found]         ` <20070924212649.GS7519-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2007-09-24 21:37           ` Anthony Liguori
     [not found]             ` <46F82E36.7000402-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-09-28 18:19               ` Ryan Harper
     [not found]                 ` <20070928181915.GH7519-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2007-09-30  7:32                   ` Avi Kivity
2007-09-25  8:00           ` Avi Kivity [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=46F8C018.6000907@qumranet.com \
    --to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=ryanh-r/Jw6+rmf7HQT0dZR+AlfA@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