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: Thu, 03 Feb 2011 13:07:02 -0800 Message-ID: <4D4B18F6.8090403@zytor.com> References: <20110125134748.GA10051@laptop> <20110125140948.GA26762@elte.hu> <20110125150834.GD27510@htj.dyndns.org> <20110203143644.GA4085@ucw.cz> <4D4AC996.4070307@zytor.com> <20110203175721.GB8785@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from terminus.zytor.com ([198.137.202.10]:41720 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752426Ab1BCVKN (ORCPT ); Thu, 3 Feb 2011 16:10:13 -0500 In-Reply-To: <20110203175721.GB8785@elte.hu> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Ingo Molnar Cc: Pavel Machek , Tejun Heo , "Ahmed S. Darwish" , Thomas Gleixner , Ingo Molnar , X86-ML , Tony Luck , Dave Jones , Andrew Morton , Randy Dunlap , Willy Tarreau , Willy Tarreau , Dirk Hohndel , Dirk.Hohndel@intel.com, IDE-ML , LKML , Linus Torvalds , Peter Zijlstra , Fr?d?ric Weisbecker , Borislav Petkov , Arjan van de Ven On 02/03/2011 09:57 AM, Ingo Molnar wrote: > > * H. Peter Anvin wrote: > >> On 02/03/2011 06:36 AM, Pavel Machek wrote: >>> >>> Could we read the log area, first, verify it contains signature, write >>> it back? >>> Pavel >> >> Yes, but that doesn't guarantee no data corruption caused by handing >> over from one driver to another. > > Waiting a few seconds? Is there any sufficiently high number of X where waiting X > seconds would make it safe to touch the hardware? (i.e. it would guarantee that > pending commands are flushed, etc.) > Probably not... if you have enough control over the hardware to force a device reset you should be okay, though. This kind of comes down to wanting a complete set of system drivers, i.e. kexec/kdump again. -hpa