From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [PATCH 0/2][concept RFC] x86: BIOS-save kernel log to disk upon panic Date: Wed, 26 Jan 2011 20:44:14 -0800 Message-ID: <4D40F81E.1030009@zytor.com> References: <20110125134748.GA10051@laptop> <20110126124954.GC24527@laptop> <20110127021338.GA20334@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110127021338.GA20334-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kexec-bounces-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Errors-To: kexec-bounces+glkk-kexec=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Vivek Goyal Cc: Willy Tarreau , Dirk Hohndel , =?ISO-8859-1?Q?Fr=E9d=E9ric_W?= =?ISO-8859-1?Q?eisbecker?= , FBDEV-ML , IDE-ML , Randy Dunlap , James Bottomley , X86-ML , "Ahmed S. Darwish" , Ingo Molnar , Ingo Molnar , Jeff Garzik , Peter Zijlstra , Dirk.Hohndel-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org, Borislav Petkov , Dave Jones , Thomas Gleixner , Mark Lord , Arjan van de Ven , Tony Luck , KEXEC-ML , LKML , Haren Myneni , Eric Biederman List-Id: linux-ide@vger.kernel.org On 01/26/2011 06:13 PM, Vivek Goyal wrote: >> >> - Use kexec/kdump. I wonder though, can kexec work on early panics? The >> kind where the disk itself might not yet be initialized? > > As of today kexec/kdump does not work with early panics as kdump kernel > needs to be loaded in reserved memory and that action happens once the > first kernel has booted. > > There is so much to it that I really don't think that modifying bootloaders to > do all that might not trivial and more importantly I think it probably is not > worth the effort. > It's really not all that hard, actually. -hpa From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from terminus.zytor.com ([198.137.202.10] helo=mail.zytor.com) by canuck.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1PiJks-0006jM-R0 for kexec@lists.infradead.org; Thu, 27 Jan 2011 04:46:47 +0000 Message-ID: <4D40F81E.1030009@zytor.com> Date: Wed, 26 Jan 2011 20:44:14 -0800 From: "H. Peter Anvin" MIME-Version: 1.0 Subject: Re: [PATCH 0/2][concept RFC] x86: BIOS-save kernel log to disk upon panic References: <20110125134748.GA10051@laptop> <20110126124954.GC24527@laptop> <20110127021338.GA20334@redhat.com> In-Reply-To: <20110127021338.GA20334@redhat.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=twosheds.infradead.org@lists.infradead.org To: Vivek Goyal Cc: Willy Tarreau , Dirk Hohndel , =?ISO-8859-1?Q?Fr=E9d=E9ric_W?= =?ISO-8859-1?Q?eisbecker?= , FBDEV-ML , IDE-ML , Randy Dunlap , James Bottomley , X86-ML , "Ahmed S. Darwish" , Ingo Molnar , Ingo Molnar , Jeff Garzik , Peter Zijlstra , Dirk.Hohndel@intel.com, Borislav Petkov , Dave Jones , Thomas Gleixner , Mark Lord , Arjan van de Ven , Tony Luck , KEXEC-ML , LKML , Haren Myneni , Eric Biederman , Tejun Heo , Andrew Morton , Linus Torvalds , Willy Tarreau On 01/26/2011 06:13 PM, Vivek Goyal wrote: >> >> - Use kexec/kdump. I wonder though, can kexec work on early panics? The >> kind where the disk itself might not yet be initialized? > > As of today kexec/kdump does not work with early panics as kdump kernel > needs to be loaded in reserved memory and that action happens once the > first kernel has booted. > > There is so much to it that I really don't think that modifying bootloaders to > do all that might not trivial and more importantly I think it probably is not > worth the effort. > It's really not all that hard, actually. -hpa _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec