All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Aurelien Jarno <aurelien-rXXEIb44qovR7s880joybQ@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: KVM 29: Page fault in kernel mode while booting	GNU/kFreeBSD
Date: Sun, 15 Jul 2007 09:23:31 +0300	[thread overview]
Message-ID: <4699BD63.8010904@qumranet.com> (raw)
In-Reply-To: <20070714170618.GB6527-OqXK5JiLQY5aJl8KAwiEcA@public.gmane.org>

Aurelien Jarno wrote:
> Hi,
>
> I have just updated my system from kvm 28 to kvm 29, and a GNU/kFreeBSD
> amd64 system fails to boot with the following error:
>
>   Fatal trap 12 with interrupts disabled
>
>
>   Fatal trap 12: page fault while in kernel mode
>   fault virtual address   = 0x7aa93e0
>   fault code              = supervisor read, page not present
>   instruction pointer     = 0x8:0xffffffff80598b36
>   stack pointer           = 0x10:0xffffffff87c556b0
>   frame pointer           = 0x10:0xffffff0007aa9260
>   code segment            = base 0x00, lmit 0xfffff, type 0x1b
>                           = DPL 0, pres 1, long 1, def32 0, gran 1
>   processor eflags        = resume, IOPL = 0
>   current process         = 1 (init)
>   trap number             = 12
>   panic: page fault
>
>
> This is on an machine with an Athlon64 X2 CPU.
>
> As it was running fine with kvm 28, I tried to mix kvm 28 and kvm 29. It
> fails when using modules from kvm 29, whatever the version of the
> userland part. This looks like a problem in the kernel modules.
>
> Please also note that GNU/kFreeBSD i386 is working fine with kvm 29 on
> the same machine.
>
> Please tell me what I can do to help debugging this problem. 
> Alternatively I have uploaded an image to reproduce the problem here:
> http://temp.aurel32.net/kfreebsd-amd64.img.gz
>
>   

Can you bisect kvm to find the offending commit?  Basically, you do a

  git clone git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm.git
  cd kvm
  git bisect start drivers/kvm/
  bit bisect bad kvm-29
  git bisect good kvm-28

git will check out a test candidate; go to your kvm userspace directory 
and do

  make -C kernel sync LINUX=/path/to/the/kvm/git/directory
  make -C kernel
  sudo make -C kernel install

reload the module, test, and issue 'git bisect good' or 'git bisect bad' 
according to the result.  As there are only 25 commits you should be 
done in 5 cycles.

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


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

  parent reply	other threads:[~2007-07-15  6:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-14 17:06 KVM 29: Page fault in kernel mode while booting GNU/kFreeBSD Aurelien Jarno
     [not found] ` <20070714170618.GB6527-OqXK5JiLQY5aJl8KAwiEcA@public.gmane.org>
2007-07-15  6:23   ` Avi Kivity [this message]
     [not found]     ` <4699BD63.8010904-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-07-15 12:11       ` Aurelien Jarno
     [not found]         ` <20070715121159.GO3941-OqXK5JiLQY5aJl8KAwiEcA@public.gmane.org>
2007-07-15 12:30           ` Avi Kivity
     [not found]             ` <469A1373.5090904-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-07-15 13:11               ` Aurelien Jarno
2007-07-18  7:46   ` Aurelien Jarno
2007-07-20  6:50   ` Avi Kivity
     [not found]     ` <46A05B23.50409-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-07-20  6:57       ` Avi Kivity
     [not found]         ` <46A05CF3.1070900-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-07-20 22:20           ` Aurelien Jarno
2007-07-24 23:17           ` Aurelien Jarno
     [not found]             ` <20070724231700.GD28101-OqXK5JiLQY5aJl8KAwiEcA@public.gmane.org>
2007-07-25  3:14               ` Avi Kivity
     [not found]                 ` <46A6C00C.8030609-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-07-25  8:19                   ` Aurelien Jarno
     [not found]                     ` <20070725081954.GA14103-OqXK5JiLQY5aJl8KAwiEcA@public.gmane.org>
2007-07-25  8:27                       ` 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=4699BD63.8010904@qumranet.com \
    --to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
    --cc=aurelien-rXXEIb44qovR7s880joybQ@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.