Re: 2.6.{26.2,27-rc} oops on virtualbox

From: Luiz Fernando N. Capitulino
Date: Fri Aug 22 2008 - 16:57:43 EST


Em Fri, 22 Aug 2008 14:20:54 -0300
"Luiz Fernando N. Capitulino" <lcapitulino@xxxxxxxxxxxxxxx> escreveu:

| Em Fri, 22 Aug 2008 12:35:20 -0400
| Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx> escreveu:
|
| | * Luiz Fernando N. Capitulino (lcapitulino@xxxxxxxxxxxxxxx) wrote:
| | > Em Fri, 22 Aug 2008 11:34:52 -0400
| | > Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx> escreveu:
| | >
| | > | * Luiz Fernando N. Capitulino (lcapitulino@xxxxxxxxxxxxxxx) wrote:
| | > | > Em Fri, 22 Aug 2008 08:50:12 +0200
| | > | > Ingo Molnar <mingo@xxxxxxx> escreveu:
| | > | >
| | > | > |
| | > | > | * H. Peter Anvin <hpa@xxxxxxxxx> wrote:
| | > | > |
| | > | > | > H. Peter Anvin wrote:
| | > | > | >>>
| | > | > | >>> Does this look like a kernel bug?
| | > | > | >>>
| | > | > | >>
| | > | > | >> No, it looks like a very common virtualizer bug. Does the attached
| | > | > | >> patch work for you?
| | > | > | >>
| | > | > | >
| | > | > | > Also, in addition to this, please try tip:master. There is a patch in
| | > | > | > tip:master which I hope should fix this problem, but the details are
| | > | > | > important.
| | > | > |
| | > | > | access coordinates would be at:
| | > | > |
| | > | > | http://people.redhat.com/mingo/tip.git/README
| | > | >
| | > | > As I already have Linus tree downloaded I have cloned it in
| | > | > the usual way.
| | > | >
| | > | > Got the same results: OOPS in virtualbox but it works on QEMU.
| | > | >
| | > | > The OOPS's output follows and I have attached the .config I'm using
| | > | > to reproduce the problem.
| | > | >
| | > |
| | > | Can you try booting with the kernel argument :
| | > | debug_alternative
| | > |
| | > | The dmesg of the kernel bootup up to the oops would be helpful.
| | > |
| | > | My guess is that there may be something wrong with irq disabling which
| | > | protects text_poke_early in apply_alternatives().
| | >
| | > I have attached two files:
| | >
| | > - normal.txt: normal boot with no debug options
| | > - debug-alternative.txt ignore_loglevel and debug-alternative boot
| | > options
| | >
| | > I had to pass ignore_loglevel otherwise it wouldn't print
| | > anything.
| | >
| |
| | Ok, now can you try booting with either of those args :
| |
| | noreplace-paravirt
| | noreplace-smp
| |
| | And see which one(s) works ?
|
| noreplace-paravirt works, the other one causes no change.

I have asked Mandriva and Ubuntu users to test this and all of
them so far are saying that noreplace-paravirt works.

It makes the system slower, but it works.

--
Luiz Fernando N. Capitulino
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/