From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([209.132.183.28]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xj6Je-0005al-D0 for kexec@lists.infradead.org; Tue, 28 Oct 2014 12:56:02 +0000 Date: Tue, 28 Oct 2014 08:55:34 -0400 From: Vivek Goyal Subject: Re: [PATCH V4] kernel, add bug_on_warn Message-ID: <20141028125534.GC10632@redhat.com> References: <1414155207-29839-1-git-send-email-prarit@redhat.com> <20141028121636.GC3274@tassilo.jf.intel.com> <544F8A78.9070008@redhat.com> <20141028122900.GA10632@redhat.com> <20141028124425.GD3274@tassilo.jf.intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20141028124425.GD3274@tassilo.jf.intel.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Andi Kleen Cc: Prarit Bhargava , Jonathan Corbet , kexec@lists.infradead.org, Rusty Russell , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Fabian Frederick , isimatu.yasuaki@jp.fujitsu.com, "H. Peter Anvin" , Masami Hiramatsu , Andrew Morton , linux-api@vger.kernel.org, jason.wessel@windriver.com On Tue, Oct 28, 2014 at 05:44:25AM -0700, Andi Kleen wrote: > > > I suppose ... but that would mean I would have to explain to an end user the > > > elaborate process of enabling kdb, inserting a break point, etc. The whole > > > purpose of this is to let an end user panic on WARN() easily. > > > > > > Asking an end user to enable kdb is magnitudes worse than asking them to > > > recompile a kernel. > > > > Agreed. Asking a customer to setup and run kdb and put breakpoints is much > > more pain than simply asking to reboot kernel with a command line option. > > If you have a command line option to execute kdb commands you still > would only have a command line option, just a slightly longer one. > > kdb="on, bp warn_slowpath_common sr c, go" So does it already work or proposal is to make something like this work with kdb? What about the case of enabling it post boot and using a /sys file for that. Thanks Vivek _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec