Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261963AbVBAJJk (ORCPT ); Tue, 1 Feb 2005 04:09:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261864AbVBAJJj (ORCPT ); Tue, 1 Feb 2005 04:09:39 -0500 Received: from ebiederm.dsl.xmission.com ([166.70.28.69]:35816 "EHLO ebiederm.dsl.xmission.com") by vger.kernel.org with ESMTP id S261948AbVBAJIr (ORCPT ); Tue, 1 Feb 2005 04:08:47 -0500 To: Koichi Suzuki Cc: Vivek Goyal , Andrew Morton , fastboot , lkml , Maneesh Soni , Hariprasad Nellitheertha , suparna bhattacharya Subject: Re: [Fastboot] [PATCH] Reserving backup region for kexec based crashdumps. References: <1106294155.26219.26.camel@2fwv946.in.ibm.com> <1106305073.26219.46.camel@2fwv946.in.ibm.com> <1106475280.26219.125.camel@2fwv946.in.ibm.com> <1106833527.15652.146.camel@2fwv946.in.ibm.com> <41FF381B.4080904@intellilink.co.jp> From: ebiederm@xmission.com (Eric W. Biederman) Date: 01 Feb 2005 02:06:42 -0700 In-Reply-To: <41FF381B.4080904@intellilink.co.jp> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1105 Lines: 20 Koichi Suzuki writes: > Hook in panic code is very good idea and is useful in various scenes. It could > be used to kick RAM dump code, obviously, and also kick the code to initiate > failover, etc. Various use could be possible so I believe that this hook > should be prepared for wider use. It is. Basically it is the normal kexec interface that allows you to boot another kernel. With a few restrictions that should keep it as reliable as possible when the kernel has not shut itself down cleanly. The hardest case is to do a useful system core dump. As that requires looking at what has gone before. For the rest if you can do it with a kernel and a initramfs you are in good shape. There seems to be a significant amount of interest in the full system core dump case so that is what the work is concentrating on. Eric - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/