From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ahmed S. Darwish" Subject: Re: [PATCH 0/2][concept RFC] x86: BIOS-save kernel log to disk upon panic Date: Thu, 27 Jan 2011 07:26:39 +0200 Message-ID: <20110127052639.GA16289@laptop> References: <20110125134748.GA10051@laptop> <20110126124954.GC24527@laptop> <20110127021338.GA20334@redhat.com> <4D40F81E.1030009@zytor.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <4D40F81E.1030009-YMNOUZJC4hwAvxtiuMwx3w@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: "H. Peter Anvin" Cc: Willy Tarreau , Dirk Hohndel , =?iso-8859-1?Q?Fr=E9d=E9ric?= Weisbecker , FBDEV-ML , IDE-ML , Randy Dunlap , James Bottomley , X86-ML , Ingo Molnar , Ingo Molnar , Jeff Garzik , Vivek Goyal , 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 , Tejun List-Id: linux-ide@vger.kernel.org On Wed, Jan 26, 2011 at 08:44:14PM -0800, H. Peter Anvin wrote: > 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. > Nice, I'll try prototyping this using syslinux and kexec: this seems the safest path so far. Further details are in my first reply to Vivek. > -hpa thanks, -- Darwish http://darwish.07.googlepages.com