From: Ingo Molnar Subject: Re: [PATCH 0/2][concept RFC] x86: BIOS-save kernel log to disk upon panic Date: Thu, 27 Jan 2011 12:41:13 +0100 Message-ID: <20110127114113.GB20279@elte.hu> References: <20110125134748.GA10051@laptop> <20110126124954.GC24527@laptop> <20110126125813.GA26952@elte.hu> <20110126133400.GA3399@laptop> <20110126140030.GB30064@elte.hu> <4D40F5FD.6090507@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: <4D40F5FD.6090507-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 , "Ahmed S. Darwish" , Ingo Molnar , Jeff Garzik , Vivek Goyal , Peter Zijlstra , Dirk.Hohndel-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org, Borislav Petkov , Dave Jones , Thomas Gleixner , Andrew Morton , Arjan van de Ven , Tony Luck , KEXEC-ML , LKML , Haren Myneni , Eric Biederman List-Id: linux-ide@vger.kernel.org * H. Peter Anvin wrote: > On 01/26/2011 06:00 AM, Ingo Molnar wrote: > > > >I mean, use the warm reset vector to truly reset the box. > > > >Then, once a stable known-good kernel boots, *that* kernel can then recover all the > >log data which is sitting in a well-known place in RAM, automatically and > >transparently. > > > >Basically a bit like kexec, just more convenient and it also goes through the BIOS > >warm reset, so it might work better than kexec ... > > > > The problem is that the BIOS will often wipe memory. Yes - but at least a long time ago there used to be modi of reboot when the BIOS did not do this. Whether that's possible at all with modern BIOSen is a big question ... Thanks, Ingo