From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Ceuleers Subject: Re: [PATCH 0/2][concept RFC] x86: BIOS-save kernel log to disk upon panic Date: Fri, 28 Jan 2011 08:59:31 +0100 Message-ID: <4D427763.7080301@computer.org> References: <20110125134748.GA10051@laptop> <20110125144905.GC27510@htj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailrelay007.isp.belgacom.be ([195.238.6.173]:7997 "EHLO mailrelay007.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753472Ab1A1IAH (ORCPT ); Fri, 28 Jan 2011 03:00:07 -0500 In-Reply-To: <20110125144905.GC27510@htj.dyndns.org> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Tejun Heo Cc: "Ahmed S. Darwish" , "H. Peter Anvin" , 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 On 25/01/11 15:49, Tejun Heo wrote: > I'm afraid this is gonna be something which works sometimes (or even > more times than not) but can't ever be made reliable. I think it > would be better to head toward usb or other kind of early console. Apologies in advance if this is a stupid idea, but would it be possible and safer to dedicate a whole device (such as a USB thumb drive or a memory card) to this? You could initialise the media in a certain way to let the kernel know that it is OK to trample on the device. You'd have a mkpoops command (make persistent oops :-). Perhaps this could be a new partition table type. The kernel could either auto-detect such a device or be told which-one to use. It could then, upon crash and prior to writing to it, re-verify that the device bears the hallmarks of being a poops device. Thanks, Jan