From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764749AbXGZQOk (ORCPT ); Thu, 26 Jul 2007 12:14:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759186AbXGZQOe (ORCPT ); Thu, 26 Jul 2007 12:14:34 -0400 Received: from mx2.suse.de ([195.135.220.15]:45185 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758615AbXGZQOd (ORCPT ); Thu, 26 Jul 2007 12:14:33 -0400 Date: Thu, 26 Jul 2007 18:14:31 +0200 From: Bernhard Walle To: kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Andrew Morton Subject: Re: [patch] add kdump_after_notifier Message-ID: <20070726161431.GA32008@suse.de> Mail-Followup-To: kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Andrew Morton References: <469F55D0.4050203@ah.jp.nec.com> <20070726140702.GA8949@suse.de> <20070726153240.GA15969@in.ibm.com> <20070726153440.GA19095@suse.de> <20070726154415.GB15969@in.ibm.com> <20070726154718.GA25561@suse.de> <20070726155444.GC15969@in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070726155444.GC15969@in.ibm.com> Organization: SUSE LINUX Products GmbH User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org * Vivek Goyal [2007-07-26 17:54]: > > That's true. Its not mainline. We had similar discussion in the past > also. I think we should allow only audited code to be run after panic(). > Leaving it open to modules or unaudited code makes this solution > something like LKCD where whole lot of code used to run after the crash, > hence was unreliable. > > If KDB goes mainline, then I think it is not a bad idea to call debugger > first (if it is enabled) and then one can trigger crash dump from inside > the debugger. Well, after thinking again about this, I think the best solution would to call kdump from KDB with a command as it was done by LKCD. The new sysctl is too specific ... Thanks, Bernhard