From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755093AbZHYRtm (ORCPT ); Tue, 25 Aug 2009 13:49:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755468AbZHYRtl (ORCPT ); Tue, 25 Aug 2009 13:49:41 -0400 Received: from slowhand.arndnet.de ([88.198.19.76]:56575 "EHLO mail.unitix.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755492AbZHYRtk (ORCPT ); Tue, 25 Aug 2009 13:49:40 -0400 Message-ID: <4A94242E.30309@nets.rwth-aachen.de> Date: Tue, 25 Aug 2009 19:49:34 +0200 From: Arnd Hannemann User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Pekka Enberg CC: Arnd Hannemann , LKML , "hannes@cmpxchg.org" , "torvalds@linux-foundation.org" , Jeremy Fitzhardinge , "xen-devel@lists.xensource.com" , Ingo Molnar Subject: Re: [bisected] 2.6.31 regression: fails to boot as xen guest References: <4A9407B1.6020400@nets.rwth-aachen.de> <84144f020908250929t7d4a74f1n4827de04e5c4c56a@mail.gmail.com> <4A94161A.2020609@nets.rwth-aachen.de> <1251219129.4852.1.camel@penberg-laptop> In-Reply-To: <1251219129.4852.1.camel@penberg-laptop> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(); > >