From: Arnd Hannemann <hannemann@nets.rwth-aachen.de>
To: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Arnd Hannemann <Arnd.Hannemann@nets.rwth-aachen.de>,
LKML <linux-kernel@vger.kernel.org>,
"hannes@cmpxchg.org" <hannes@cmpxchg.org>,
"torvalds@linux-foundation.org" <torvalds@linux-foundation.org>,
Jeremy Fitzhardinge <jeremy@goop.org>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Ingo Molnar <mingo@elte.hu>
Subject: Re: [bisected] 2.6.31 regression: fails to boot as xen guest
Date: Tue, 25 Aug 2009 19:49:34 +0200 [thread overview]
Message-ID: <4A94242E.30309@nets.rwth-aachen.de> (raw)
In-Reply-To: <1251219129.4852.1.camel@penberg-laptop>
Hi Pekka,
Pekka Enberg wrote:
> On Tue, 2009-08-25 at 18:49 +0200, Arnd Hannemann wrote:
>>> Thanks for doing the bisect! Can we also see your .config also?
>> Config for -rc7 is attached. My bisect configs were based on that
>
> Thanks! While we wait for the Xen people, you can try the following
> patch to see if we can narrow the bug down to trap_init().
Yes seems to be trap_init().
-rc7 with this patch applied boots up to the prompt.
Best regards, Arnd
>
> diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c index
> 3cd7711..7e8e4e4 100644 --- a/arch/x86/mm/init_32.c +++
> b/arch/x86/mm/init_32.c @@ -956,8 +956,10 @@ void __init
> mem_init(void) BUG_ON(VMALLOC_START >= VMALLOC_END);
> BUG_ON((unsigned long)high_memory > VMALLOC_START);
>
> +#if 0 if (boot_cpu_data.wp_works_ok < 0) test_wp_bit(); +#endif
>
> save_pg_dir(); zap_low_mappings(true); diff --git a/init/main.c
> b/init/main.c index 2d9d6bd..5c4dacb 100644 --- a/init/main.c +++
> b/init/main.c @@ -603,7 +603,6 @@ asmlinkage void __init
> start_kernel(void) pidhash_init(); vfs_caches_init_early();
> sort_main_extable(); - trap_init(); mm_init(); /* * Set up the
> scheduler prior starting any interrupts (such as the @@ -621,6 +620,7
> @@ asmlinkage void __init start_kernel(void) "enabled *very* early,
> fixing it\n"); local_irq_disable(); } + trap_init(); rcu_init(); /*
> init some links before init_ISA_irqs() */ early_irq_init();
>
>
WARNING: multiple messages have this Message-ID (diff)
From: Arnd Hannemann <hannemann@nets.rwth-aachen.de>
To: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
LKML <linux-kernel@vger.kernel.org>,
"hannes@cmpxchg.org" <hannes@cmpxchg.org>,
Arnd Hannemann <Arnd.Hannemann@nets.rwth-aachen.de>,
"torvalds@linux-foundation.org" <torvalds@linux-foundation.org>,
Ingo Molnar <mingo@elte.hu>
Subject: Re: [bisected] 2.6.31 regression: fails to boot as xen guest
Date: Tue, 25 Aug 2009 19:49:34 +0200 [thread overview]
Message-ID: <4A94242E.30309@nets.rwth-aachen.de> (raw)
In-Reply-To: <1251219129.4852.1.camel@penberg-laptop>
Hi Pekka,
Pekka Enberg wrote:
> On Tue, 2009-08-25 at 18:49 +0200, Arnd Hannemann wrote:
>>> Thanks for doing the bisect! Can we also see your .config also?
>> Config for -rc7 is attached. My bisect configs were based on that
>
> Thanks! While we wait for the Xen people, you can try the following
> patch to see if we can narrow the bug down to trap_init().
Yes seems to be trap_init().
-rc7 with this patch applied boots up to the prompt.
Best regards, Arnd
>
> diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c index
> 3cd7711..7e8e4e4 100644 --- a/arch/x86/mm/init_32.c +++
> b/arch/x86/mm/init_32.c @@ -956,8 +956,10 @@ void __init
> mem_init(void) BUG_ON(VMALLOC_START >= VMALLOC_END);
> BUG_ON((unsigned long)high_memory > VMALLOC_START);
>
> +#if 0 if (boot_cpu_data.wp_works_ok < 0) test_wp_bit(); +#endif
>
> save_pg_dir(); zap_low_mappings(true); diff --git a/init/main.c
> b/init/main.c index 2d9d6bd..5c4dacb 100644 --- a/init/main.c +++
> b/init/main.c @@ -603,7 +603,6 @@ asmlinkage void __init
> start_kernel(void) pidhash_init(); vfs_caches_init_early();
> sort_main_extable(); - trap_init(); mm_init(); /* * Set up the
> scheduler prior starting any interrupts (such as the @@ -621,6 +620,7
> @@ asmlinkage void __init start_kernel(void) "enabled *very* early,
> fixing it\n"); local_irq_disable(); } + trap_init(); rcu_init(); /*
> init some links before init_ISA_irqs() */ early_irq_init();
>
>
next prev parent reply other threads:[~2009-08-25 17:49 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-25 15:48 [bisected] 2.6.31 regression: fails to boot as xen guest Arnd Hannemann
2009-08-25 16:29 ` Pekka Enberg
2009-08-25 16:29 ` Pekka Enberg
2009-08-25 16:49 ` Arnd Hannemann
2009-08-25 16:49 ` Arnd Hannemann
2009-08-25 16:52 ` Pekka Enberg
2009-08-25 16:52 ` Pekka Enberg
2009-08-25 17:49 ` Arnd Hannemann [this message]
2009-08-25 17:49 ` Arnd Hannemann
2009-08-25 18:03 ` Pekka Enberg
2009-08-25 18:03 ` Pekka Enberg
2009-08-25 18:08 ` Jeremy Fitzhardinge
2009-08-25 18:08 ` Jeremy Fitzhardinge
2009-08-25 18:22 ` Arnd Hannemann
2009-08-25 18:22 ` Arnd Hannemann
2009-08-25 18:25 ` Ingo Molnar
2009-08-25 18:25 ` Ingo Molnar
2009-08-25 18:30 ` Jeremy Fitzhardinge
2009-08-25 18:38 ` Arnd Hannemann
2009-08-25 18:38 ` Arnd Hannemann
2009-08-25 18:43 ` Pekka Enberg
2009-08-25 18:43 ` Pekka Enberg
2009-08-25 19:31 ` Jeremy Fitzhardinge
2009-08-25 19:31 ` Jeremy Fitzhardinge
2009-08-25 19:30 ` Jeremy Fitzhardinge
2009-08-25 19:30 ` Jeremy Fitzhardinge
2009-08-25 18:58 ` Pekka Enberg
2009-08-25 19:07 ` Pekka Enberg
2009-08-25 19:07 ` Pekka Enberg
2009-08-25 19:13 ` Arnd Hannemann
2009-08-25 19:13 ` Arnd Hannemann
2009-08-26 9:59 ` Benjamin Herrenschmidt
2009-08-25 18:06 ` Jeremy Fitzhardinge
2009-08-25 18:06 ` Jeremy Fitzhardinge
2009-08-25 18:14 ` Pekka Enberg
2009-08-25 18:14 ` Pekka Enberg
2009-08-26 11:54 ` Pasi Kärkkäinen
2009-08-26 12:00 ` Pekka Enberg
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=4A94242E.30309@nets.rwth-aachen.de \
--to=hannemann@nets.rwth-aachen.de \
--cc=Arnd.Hannemann@nets.rwth-aachen.de \
--cc=hannes@cmpxchg.org \
--cc=jeremy@goop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=penberg@cs.helsinki.fi \
--cc=torvalds@linux-foundation.org \
--cc=xen-devel@lists.xensource.com \
/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.