From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755129AbeARSC3 (ORCPT ); Thu, 18 Jan 2018 13:02:29 -0500 Received: from mga07.intel.com ([134.134.136.100]:6464 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752746AbeARSC1 (ORCPT ); Thu, 18 Jan 2018 13:02:27 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,378,1511856000"; d="scan'208";a="11435420" From: Andi Kleen To: Dave Young Cc: pmladek@suse.com, sergey.senozhatsky@gmail.com, rostedt@goodmis.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, kexec@lists.infradead.org Subject: Re: [PATCH] print kdump kernel loaded status in stack dump References: <20180117045057.GA4994@dhcp-128-65.nay.redhat.com> Date: Thu, 18 Jan 2018 10:02:17 -0800 In-Reply-To: <20180117045057.GA4994@dhcp-128-65.nay.redhat.com> (Dave Young's message of "Wed, 17 Jan 2018 12:50:57 +0800") Message-ID: <878tcvt592.fsf@linux.intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dave Young writes: > printk("%sHardware name: %s\n", > log_lvl, dump_stack_arch_desc_str); > + if (kexec_crash_loaded()) > + printk("%skdump kernel loaded\n", log_lvl); Oops/warnings are getting longer and longer, often scrolling away from the screen, and if the kernel crashes backscroll does not work anymore, so precious information is lost. Can you merge it with some other line? Just a [KDUMP] or so somewhere should be good enough. -Andi From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mga14.intel.com ([192.55.52.115]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ecEWM-0002xI-Ej for kexec@lists.infradead.org; Thu, 18 Jan 2018 18:02:39 +0000 From: Andi Kleen Subject: Re: [PATCH] print kdump kernel loaded status in stack dump References: <20180117045057.GA4994@dhcp-128-65.nay.redhat.com> Date: Thu, 18 Jan 2018 10:02:17 -0800 In-Reply-To: <20180117045057.GA4994@dhcp-128-65.nay.redhat.com> (Dave Young's message of "Wed, 17 Jan 2018 12:50:57 +0800") Message-ID: <878tcvt592.fsf@linux.intel.com> MIME-Version: 1.0 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: Dave Young Cc: pmladek@suse.com, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, rostedt@goodmis.org, sergey.senozhatsky@gmail.com, akpm@linux-foundation.org Dave Young writes: > printk("%sHardware name: %s\n", > log_lvl, dump_stack_arch_desc_str); > + if (kexec_crash_loaded()) > + printk("%skdump kernel loaded\n", log_lvl); Oops/warnings are getting longer and longer, often scrolling away from the screen, and if the kernel crashes backscroll does not work anymore, so precious information is lost. Can you merge it with some other line? Just a [KDUMP] or so somewhere should be good enough. -Andi _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec