From mboxrd@z Thu Jan 1 00:00:00 1970 From: ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org (Eric W. Biederman) Subject: Re: [PATCH 0/2][concept RFC] x86: BIOS-save kernel log to disk upon panic Date: Thu, 27 Jan 2011 07:47:54 -0800 Message-ID: References: <20110125134748.GA10051@laptop> <20110126124954.GC24527@laptop> <20110126125813.GA26952@elte.hu> <20110126133400.GA3399@laptop> <20110126140030.GB30064@elte.hu> <4D40F5FD.6090507@zytor.com> <20110127114113.GB20279@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110127114113.GB20279-X9Un+BFzKDI@public.gmane.org> (Ingo Molnar's message of "Thu, 27 Jan 2011 12:41:13 +0100") 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: Ingo Molnar Cc: Willy Tarreau , Dirk Hohndel , =?utf-8?B?RnLDqWTDqXJpYw==?= Weisbecker , FBDEV-ML , IDE-ML , Randy Dunlap , James Bottomley , "H. Peter Anvin" , 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 , Mark Lord , Arjan van de Ven , Tony Luck , KEXEC-ML , LKML , Haren Myneni , Tej List-Id: linux-ide@vger.kernel.org Ingo Molnar writes: > * 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 ... As I recall that was how you went from 32bit mode to 16bit real mode. The issue is that mode never reset the hardware it simply changed the cpu mode. Eric