kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: BuraphaLinux Server <buraphalinuxserver@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: random crash in post_kvm_run()
Date: Thu, 01 Jul 2010 14:44:29 +0300	[thread overview]
Message-ID: <4C2C7F9D.3010002@redhat.com> (raw)
In-Reply-To: <AANLkTilALQoboPBMH7eFqJIiDiZWRBMBrRDNnRbrYb1X@mail.gmail.com>

On 06/30/2010 09:25 PM, BuraphaLinux Server wrote:
>>
>> Can you downgrade the kernel to a known good one to see which component
>> causes the failure?
>>
>>      
> Thank you for your suggestion.  Changing only the kernel back to
> 2.6.32.14 and changing nothing else, the qemu/kvm works well.
> However, I want to run the newer kernel to get all the fixes in newer
> kernels.  But for the short term, at least I can run my KVMs.
>    

Sure.  This looks like a regression, and we want to fix it.

> Since I want to move to the newer kernel, I would like to keep working
> to resolve my problem.  Should I send the two kernel configs, or
> bootup logs, or put them somewhere for download, or... ?
>    

The surest way to find out the cause is to bisect.  To do that, install 
git, and clone the Linux repository:

   $ git clone 
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
   $ cd linux-2.6

Start by verifying that 2.6.32 (not 2.6.32.14) still works:

   $ git checkout v2.6.32
   # prune unnecessary modules
   $ make localmodconfig
   $ make && sudo make install
   # do your normal tests

If that fails, it means the fix is somewhere in v2.6.32.y, which should 
be easy to find.  If it works, start your bisect

   $ git bisect start v.2.6.34 v2.6.32 virt/kvm arch/x86/kvm

Git will choose a commit, build it and test it.  If it works, do a

   $ git bisect good

otherwise,

   $ git bisect bad

Git will then choose another test point; build, test, and repeat.  
Eventually it will spit out the commit which caused the problem.

The process is time consuming, but has a high probability of pinpointing 
the cause of the bug accurately.

-- 
error compiling committee.c: too many arguments to function


  reply	other threads:[~2010-07-01 11:44 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-28 17:28 random crash in post_kvm_run() BuraphaLinux Server
2010-06-28 18:38 ` Brian Jackson
2010-06-30 17:57   ` BuraphaLinux Server
2010-06-29 12:16 ` Avi Kivity
2010-06-30 18:25   ` BuraphaLinux Server
2010-07-01 11:44     ` Avi Kivity [this message]
2010-07-02 19:08       ` BuraphaLinux Server
2010-07-03 10:28         ` Avi Kivity
2010-07-03 14:23           ` BuraphaLinux Server
2010-07-05  7:42             ` Avi Kivity
2010-07-05  8:52               ` BuraphaLinux Server
2010-07-05 10:15                 ` Avi Kivity
2010-07-06  7:46               ` Avi Kivity
2010-07-06  8:37                 ` Avi Kivity
2010-07-06 15:58                   ` BuraphaLinux Server
2010-07-07  9:12                     ` Avi Kivity
2010-06-30 18:06 ` Anthony Liguori
2010-06-30 18:32   ` BuraphaLinux Server

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=4C2C7F9D.3010002@redhat.com \
    --to=avi@redhat.com \
    --cc=buraphalinuxserver@gmail.com \
    --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;
as well as URLs for NNTP newsgroup(s).