Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932300Ab0HDJgv (ORCPT ); Wed, 4 Aug 2010 05:36:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52241 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932075Ab0HDJgt (ORCPT ); Wed, 4 Aug 2010 05:36:49 -0400 Date: Wed, 4 Aug 2010 12:36:23 +0300 From: Gleb Natapov To: Tvrtko Ursulin Cc: Yinghai Lu , Avi Kivity , "linux-kernel@vger.kernel.org" , KVM list , "Eric W. Biederman" Subject: Re: 2.6.35 hangs on early boot in KVM Message-ID: <20100804093623.GE10499@redhat.com> References: <201008031028.57263.tvrtko.ursulin@sophos.com> <201008040918.58318.tvrtko.ursulin@sophos.com> <4C592D60.5050309@kernel.org> <201008041016.09176.tvrtko.ursulin@sophos.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201008041016.09176.tvrtko.ursulin@sophos.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2878 Lines: 65 On Wed, Aug 04, 2010 at 10:16:08AM +0100, Tvrtko Ursulin wrote: > On Wednesday 04 Aug 2010 10:05:36 Yinghai Lu wrote: > > On 08/04/2010 01:18 AM, Tvrtko Ursulin wrote: > > > On Tuesday 03 Aug 2010 21:57:48 Yinghai Lu wrote: > > >> On Tue, Aug 3, 2010 at 8:59 AM, Tvrtko Ursulin > > >> > > >> wrote: > > >>> On Tuesday 03 Aug 2010 16:17:20 Tvrtko Ursulin wrote: > > >>>> On Tuesday 03 Aug 2010 15:57:03 Tvrtko Ursulin wrote: > > >>>>> On Tuesday 03 Aug 2010 15:51:08 Avi Kivity wrote: > > >>>>>> On 08/03/2010 12:28 PM, Tvrtko Ursulin wrote: > > >>>>>>> I have basically built 2.6.35 with make oldconfig from a working > > >>>>>>> 2.6.34. Latter works fine in kvm while 2.6.35 hangs very early. I > > >>>>>>> see nothing after grub (have early printk and verbose bootup > > >>>>>>> enabled), just a blinking VGA cursor and CPU at 100%. > > >>>>>> > > >>>>>> Please copy kvm@vger.kernel.org on kvm issues. > > >>>>>> > > >>>>>>> CONFIG_PRINTK_TIME=y > > >>>>>> > > >>>>>> Try disabling this as a workaround. > > >>>>> > > >>>>> I am in the middle of a bisect run with five builds left to go, > > >>>>> currently I have: > > >>>>> > > >>>>> bad 537b60d17894b7c19a6060feae40299d7109d6e7 > > >>>>> good 93c9d7f60c0cb7715890b1f9e159da6f4d1f5a65 > > >>>> > > >>>> Bisect is looking good, narrowed it to ten revisions, but I am not > > >>>> sure to make it to the end today: > > >>>> > > >>>> bad cb41838bbc4403f7270a94b93a9a0d9fc9c2e7ea > > >>>> good 41d59102e146a4423a490b8eca68a5860af4fe1c > > >>> > > >>> Bisect points the finger to "x86, ioapic: In mpparse use > > >>> mp_register_ioapic" (cf7500c0ea133d66f8449d86392d83f840102632), so I am > > >>> copying Eric. No idea whether this commit is solely to blame or it is a > > >>> combined interaction with KVM, but I am sure you guys will know. > > >>> > > >>> If you want me to test something else please shout. > > >> > > >> please try attached patch, to see if it help. > > > > > > No luck (no visible difference, no output on VGA or serial console). (Btw > > > there is a typo in pin_2_irq_leagcy so that you do not push it directly). > > > > can you try current tip with > > earlyprintk=ttyS0,115200 or console=uart8250,io,0x3f8,115200? > > Not the tip but 2.6.35 with earlyprintk=ttyS0,115200: > > [ 0.000000] Processor #0 (Bootup-CPU) > [ 0.000000] I/O APIC #1 Version 17 at 0xFEC00000. > [ 0.000000] BUG: unable to handle kernel paging request at ffffb030 > [ 0.000000] IP: [] native_apic_mem_read+0x16/0x20 > [ 0.000000] *pde = 00832067 *pte = 00000000 Accessing APIC version register before APIC is mapped. -- Gleb. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/