[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160713142724.18f2f638@hananiah.suse.cz>
Date: Wed, 13 Jul 2016 14:27:24 +0200
From: Petr Tesarik <ptesarik@...e.cz>
To: Juergen Gross <jgross@...e.com>,
Josh Triplett <josh@...htriplett.org>,
Ingo Molnar <mingo@...hat.com>,
Thomas Gleixner <tglx@...utronix.de>,
Eric Biederman <ebiederm@...ssion.com>,
"H. Peter Anvin" <hpa@...or.com>,
Boris Ostrovsky <boris.ostrovsky@...cle.com>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
Dave Young <dyoung@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
David Vrabel <david.vrabel@...rix.com>
Cc: "moderated list:XEN HYPERVISOR INTERFACE"
<xen-devel@...ts.xenproject.org>,
"maintainer:X86 ARCHITECTURE 32-BIT AND 64-BIT" <x86@...nel.org>,
"open list:KEXEC" <kexec@...ts.infradead.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 0/2] Allow crash dumps with crash_kexec_post_notifiers
On Wed, 13 Jul 2016 14:19:50 +0200
Petr Tesarik <ptesarik@...e.com> wrote:
> Hello all,
>
> this patch series makes it possible to save a kernel crash dump when the
> kernel command line includes "crash_kexec_post_notifiers".
Oh ... I forgot to add: This only applies to running Linux under Xen.
If you run on bare metal, you can always save the dump already, as you
certainly know.
Petr T
> There might
> be other approaches, but mine has the advantage that no new sysctl is
> required, and the behaviour is the same whether panic notifiers are run
> or not: If you load a crash kernel with kexec, it will be used, otherwise
> the hypervisor facility is used (using a hypercall).
>
> Feedback welcome!
>
> Petr T
>
> ---
>
> Petr Tesarik (2):
> Add a kexec_crash_loaded() function
> Allow kdump with crash_kexec_post_notifiers
>
>
> arch/x86/xen/enlighten.c | 3 ++-
> include/linux/kexec.h | 2 ++
> kernel/kexec_core.c | 5 +++++
> kernel/ksysfs.c | 2 +-
> 4 files changed, 10 insertions(+), 2 deletions(-)
>
> --
> Signature
>
> _______________________________________________
> kexec mailing list
> kexec@...ts.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec
Powered by blists - more mailing lists