Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1442389 > unrolled thread

Re: [PATCH 0/2] Allow crash dumps with crash_kexec_post_notifiers

Started byPetr Tesarik <ptesarik@suse.cz>
First post2016-07-13 14:30 +0200
Last post2016-07-13 14:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 0/2] Allow crash dumps with crash_kexec_post_notifiers Petr Tesarik <ptesarik@suse.cz> - 2016-07-13 14:30 +0200

#1442389 — Re: [PATCH 0/2] Allow crash dumps with crash_kexec_post_notifiers

FromPetr Tesarik <ptesarik@suse.cz>
Date2016-07-13 14:30 +0200
SubjectRe: [PATCH 0/2] Allow crash dumps with crash_kexec_post_notifiers
Message-ID<rUrsB-30I-5@gated-at.bofh.it>
On Wed, 13 Jul 2016 14:19:50 +0200
Petr Tesarik <ptesarik@suse.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@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web