* [PATCH 0/2] Allow crash dumps with crash_kexec_post_notifiers
@ 2016-07-13 12:19 Petr Tesarik
0 siblings, 0 replies; 6+ messages in thread
From: Petr Tesarik @ 2016-07-13 12:19 UTC (permalink / raw)
To: Juergen Gross, Josh Triplett, Ingo Molnar, Thomas Gleixner,
Eric Biederman, H. Peter Anvin, Boris Ostrovsky,
Paul E. McKenney, Dave Young, Andrew Morton, David Vrabel
Cc: moderated list:XEN HYPERVISOR INTERFACE,
maintainer:X86 ARCHITECTURE 32-BIT AND 64-BIT, open list:KEXEC,
open list
Hello all,
this patch series makes it possible to save a kernel crash dump when the
kernel command line includes "crash_kexec_post_notifiers". 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
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/2] Allow crash dumps with crash_kexec_post_notifiers
2016-07-13 12:19 ` Petr Tesarik
@ 2016-07-13 12:27 ` Petr Tesarik
-1 siblings, 0 replies; 6+ messages in thread
From: Petr Tesarik @ 2016-07-13 12:27 UTC (permalink / raw)
To: Juergen Gross, Josh Triplett, Ingo Molnar, Thomas Gleixner,
Eric Biederman, H. Peter Anvin, Boris Ostrovsky,
Paul E. McKenney, Dave Young, Andrew Morton, David Vrabel
Cc: moderated list:XEN HYPERVISOR INTERFACE,
maintainer:X86 ARCHITECTURE 32-BIT AND 64-BIT, open list:KEXEC,
open list
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/2] Allow crash dumps with crash_kexec_post_notifiers
2016-07-13 12:19 ` Petr Tesarik
(?)
(?)
@ 2016-07-13 12:27 ` Petr Tesarik
-1 siblings, 0 replies; 6+ messages in thread
From: Petr Tesarik @ 2016-07-13 12:27 UTC (permalink / raw)
To: Juergen Gross, Josh Triplett, Ingo Molnar, Thomas Gleixner,
Eric Biederman, H. Peter Anvin, Boris Ostrovsky,
Paul E. McKenney, Dave Young, Andrew Morton, David Vrabel
Cc: moderated list:XEN HYPERVISOR INTERFACE,
maintainer:X86 ARCHITECTURE 32-BIT AND 64-BIT, open list:KEXEC,
open list
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
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/2] Allow crash dumps with crash_kexec_post_notifiers
@ 2016-07-13 12:27 ` Petr Tesarik
0 siblings, 0 replies; 6+ messages in thread
From: Petr Tesarik @ 2016-07-13 12:27 UTC (permalink / raw)
To: Juergen Gross, Josh Triplett, Ingo Molnar, Thomas Gleixner,
Eric Biederman, H. Peter Anvin, Boris Ostrovsky,
Paul E. McKenney, Dave Young, Andrew Morton, David Vrabel
Cc: moderated list:XEN HYPERVISOR INTERFACE,
maintainer:X86 ARCHITECTURE 32-BIT AND 64-BIT, open list:KEXEC,
open list
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
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 0/2] Allow crash dumps with crash_kexec_post_notifiers
@ 2016-07-13 12:19 ` Petr Tesarik
0 siblings, 0 replies; 6+ messages in thread
From: Petr Tesarik @ 2016-07-13 12:19 UTC (permalink / raw)
To: Juergen Gross, Josh Triplett, Ingo Molnar, Thomas Gleixner,
Eric Biederman, H. Peter Anvin, Boris Ostrovsky,
Paul E. McKenney, Dave Young, Andrew Morton, David Vrabel
Cc: moderated list:XEN HYPERVISOR INTERFACE,
maintainer:X86 ARCHITECTURE 32-BIT AND 64-BIT, open list:KEXEC,
open list
Hello all,
this patch series makes it possible to save a kernel crash dump when the
kernel command line includes "crash_kexec_post_notifiers". 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 0/2] Allow crash dumps with crash_kexec_post_notifiers
@ 2016-07-13 12:19 ` Petr Tesarik
0 siblings, 0 replies; 6+ messages in thread
From: Petr Tesarik @ 2016-07-13 12:19 UTC (permalink / raw)
To: Juergen Gross, Josh Triplett, Ingo Molnar, Thomas Gleixner,
Eric Biederman, H. Peter Anvin, Boris Ostrovsky,
Paul E. McKenney, Dave Young, Andrew Morton, David Vrabel
Cc: moderated list:XEN HYPERVISOR INTERFACE,
maintainer:X86 ARCHITECTURE 32-BIT AND 64-BIT, open list:KEXEC,
open list
Hello all,
this patch series makes it possible to save a kernel crash dump when the
kernel command line includes "crash_kexec_post_notifiers". 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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-07-13 12:27 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-13 12:19 [PATCH 0/2] Allow crash dumps with crash_kexec_post_notifiers Petr Tesarik
-- strict thread matches above, loose matches on Subject: below --
2016-07-13 12:19 Petr Tesarik
2016-07-13 12:19 ` Petr Tesarik
2016-07-13 12:27 ` Petr Tesarik
2016-07-13 12:27 ` Petr Tesarik
2016-07-13 12:27 ` Petr Tesarik
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.