From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from e28smtp07.in.ibm.com ([59.145.155.7] helo=e28esmtp07.in.ibm.com) by bombadil.infradead.org with esmtps (Exim 4.68 #1 (Red Hat Linux)) id 1J9R9Z-0002Y6-Mz for kexec@lists.infradead.org; Mon, 31 Dec 2007 20:22:38 +0000 Received: from d28relay04.in.ibm.com (d28relay04.in.ibm.com [9.184.220.61]) by e28esmtp07.in.ibm.com (8.13.1/8.13.1) with ESMTP id lBVKMM6S018366 for ; Tue, 1 Jan 2008 01:52:22 +0530 Received: from d28av01.in.ibm.com (d28av01.in.ibm.com [9.184.220.63]) by d28relay04.in.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id lBVKMMgI872614 for ; Tue, 1 Jan 2008 01:52:22 +0530 Received: from d28av01.in.ibm.com (loopback [127.0.0.1]) by d28av01.in.ibm.com (8.13.1/8.13.3) with ESMTP id lBVKMOlO002238 for ; Mon, 31 Dec 2007 20:22:24 GMT Date: Tue, 1 Jan 2008 01:52:12 +0530 From: Dhaval Giani Subject: Re: kexec refuses to boot latest -mm Message-ID: <20071231202212.GA27601@linux.vnet.ibm.com> References: <20071228124532.GB32643@linux.vnet.ibm.com> <20071228142739.GA4560@redhat.com> <20071229054113.GB17426@linux.vnet.ibm.com> <20071231150658.GA27060@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20071231150658.GA27060@redhat.com> Reply-To: Dhaval Giani List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org+dwmw2=infradead.org@lists.infradead.org To: Vivek Goyal Cc: hbabu@us.ibm.com, kexec@lists.infradead.org, lkml On Mon, Dec 31, 2007 at 10:06:58AM -0500, Vivek Goyal wrote: > On Sat, Dec 29, 2007 at 11:11:13AM +0530, Dhaval Giani wrote: > > On Fri, Dec 28, 2007 at 09:27:39AM -0500, Vivek Goyal wrote: > > > On Fri, Dec 28, 2007 at 06:15:32PM +0530, Dhaval Giani wrote: > > > > Hi Vivek, > > > > > > > > I can't seem to get the latest -mm (2.6.24-rc6-mm1) to boot with > > > > kexec. It just gets stuck at "Starting new kernel". > > > > > > > > It does boot normally when booted as the first kernel. > > > > > > > > Any hints debugging? (x86 architecture) > > > > > > I generally try few things. > > > > > > - Specify earlyprintk= parameter for second kernel and see if control > > > is reaching to second kernel. > > > > > > - Otherwise specify --console-serial parameter on "kexec -l" commandline > > > and it should display a message "I am in purgatory" on serial console. > > > This will just mean that control has reached at least till purgatory. > > > > > > > Ok, so it reaches till here. I get "I'm in purgatory" on the console. > > > > Ok. So it atleast reaches till purgatory. My hunch is that it also reaches > the second kernel but dies early in that kernel before any message can > be printed on screen. > > Can you put some "outb()" messages on serial console in start_kernel() in > second kernel and see up to what point do you reach. > > My 2.6.24-rc6-mm1 kernel panics during boot on 32bit box. Let me try it on > 64 bit box. > Apply the hotfixes :-) -- regards, Dhaval _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752327AbXLaUWq (ORCPT ); Mon, 31 Dec 2007 15:22:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752671AbXLaUW3 (ORCPT ); Mon, 31 Dec 2007 15:22:29 -0500 Received: from e28smtp02.in.ibm.com ([59.145.155.2]:40584 "EHLO e28esmtp02.in.ibm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752519AbXLaUW2 (ORCPT ); Mon, 31 Dec 2007 15:22:28 -0500 Date: Tue, 1 Jan 2008 01:52:12 +0530 From: Dhaval Giani To: Vivek Goyal Cc: hbabu@us.ibm.com, lkml , kexec@lists.infradead.org Subject: Re: kexec refuses to boot latest -mm Message-ID: <20071231202212.GA27601@linux.vnet.ibm.com> Reply-To: Dhaval Giani References: <20071228124532.GB32643@linux.vnet.ibm.com> <20071228142739.GA4560@redhat.com> <20071229054113.GB17426@linux.vnet.ibm.com> <20071231150658.GA27060@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071231150658.GA27060@redhat.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 31, 2007 at 10:06:58AM -0500, Vivek Goyal wrote: > On Sat, Dec 29, 2007 at 11:11:13AM +0530, Dhaval Giani wrote: > > On Fri, Dec 28, 2007 at 09:27:39AM -0500, Vivek Goyal wrote: > > > On Fri, Dec 28, 2007 at 06:15:32PM +0530, Dhaval Giani wrote: > > > > Hi Vivek, > > > > > > > > I can't seem to get the latest -mm (2.6.24-rc6-mm1) to boot with > > > > kexec. It just gets stuck at "Starting new kernel". > > > > > > > > It does boot normally when booted as the first kernel. > > > > > > > > Any hints debugging? (x86 architecture) > > > > > > I generally try few things. > > > > > > - Specify earlyprintk= parameter for second kernel and see if control > > > is reaching to second kernel. > > > > > > - Otherwise specify --console-serial parameter on "kexec -l" commandline > > > and it should display a message "I am in purgatory" on serial console. > > > This will just mean that control has reached at least till purgatory. > > > > > > > Ok, so it reaches till here. I get "I'm in purgatory" on the console. > > > > Ok. So it atleast reaches till purgatory. My hunch is that it also reaches > the second kernel but dies early in that kernel before any message can > be printed on screen. > > Can you put some "outb()" messages on serial console in start_kernel() in > second kernel and see up to what point do you reach. > > My 2.6.24-rc6-mm1 kernel panics during boot on 32bit box. Let me try it on > 64 bit box. > Apply the hotfixes :-) -- regards, Dhaval