All of lore.kernel.org
 help / color / mirror / Atom feed
* - uml-dump-core-on-panic.patch removed from -mm tree
@ 2007-05-08  0:07 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2007-05-08  0:07 UTC (permalink / raw)
  To: jdike, blaisorblade, jdike, mm-commits


The patch titled
     uml: dump core on panic
has been removed from the -mm tree.  Its filename was
     uml-dump-core-on-panic.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: uml: dump core on panic
From: Jeff Dike <jdike@addtoit.com>

Dump core after a panic.  This will provide better debugging information than
is currently available.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/um/include/os.h     |    1 +
 arch/um/kernel/um_arch.c |    2 +-
 arch/um/os-Linux/util.c  |    6 ++++++
 3 files changed, 8 insertions(+), 1 deletion(-)

diff -puN arch/um/include/os.h~uml-dump-core-on-panic arch/um/include/os.h
--- a/arch/um/include/os.h~uml-dump-core-on-panic
+++ a/arch/um/include/os.h
@@ -279,6 +279,7 @@ extern int raw(int fd);
 extern void setup_machinename(char *machine_out);
 extern void setup_hostinfo(char *buf, int len);
 extern int setjmp_wrapper(void (*proc)(void *, void *), ...);
+extern void os_dump_core(void);
 
 /* time.c */
 #define BILLION (1000 * 1000 * 1000)
diff -puN arch/um/kernel/um_arch.c~uml-dump-core-on-panic arch/um/kernel/um_arch.c
--- a/arch/um/kernel/um_arch.c~uml-dump-core-on-panic
+++ a/arch/um/kernel/um_arch.c
@@ -474,7 +474,7 @@ static int panic_exit(struct notifier_bl
 	show_regs(&(current->thread.regs));
 	bust_spinlocks(0);
 	uml_exitcode = 1;
-	machine_halt();
+	os_dump_core();
 	return 0;
 }
 
diff -puN arch/um/os-Linux/util.c~uml-dump-core-on-panic arch/um/os-Linux/util.c
--- a/arch/um/os-Linux/util.c~uml-dump-core-on-panic
+++ a/arch/um/os-Linux/util.c
@@ -119,3 +119,9 @@ int setjmp_wrapper(void (*proc)(void *, 
 	va_end(args);
 	return n;
 }
+
+void os_dump_core(void)
+{
+	signal(SIGSEGV, SIG_DFL);
+	abort();
+}
_

Patches currently in -mm which might be from jdike@addtoit.com are

origin.patch
uml-hostfs-style-fixes.patch
uml-an-idle-system-should-have-zero-load-average.patch
remove-tas.patch
x86-create-asm-cmpxchgh.patch
uml-network-and-pcap-cleanup.patch
uml-pcap-devices-should-get-macs-from-command-line.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-05-08  0:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-08  0:07 - uml-dump-core-on-panic.patch removed from -mm tree akpm

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.