[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/kernel/FC-3 linux-2.6.11-panic-stackdump.patch, NONE, 1.1 kernel-2.6.spec, 1.808, 1.809



Update of /cvs/dist/rpms/kernel/FC-3
In directory cvs.devel.redhat.com:/tmp/cvs-serv30673

Modified Files:
	kernel-2.6.spec 
Added Files:
	linux-2.6.11-panic-stackdump.patch 
Log Message:
extra debugfu


linux-2.6.11-panic-stackdump.patch:
 panic.c |    1 +
 1 files changed, 1 insertion(+)

--- NEW FILE linux-2.6.11-panic-stackdump.patch ---
--- linux-2.6.11/kernel/panic.c~	2005-04-19 22:09:50.000000000 -0400
+++ linux-2.6.11/kernel/panic.c	2005-04-19 22:09:57.000000000 -0400
@@ -68,6 +68,7 @@ NORET_TYPE void panic(const char * fmt, 
 	vsnprintf(buf, sizeof(buf), fmt, args);
 	va_end(args);
 	printk(KERN_EMERG "Kernel panic - not syncing: %s\n",buf);
+	dump_stack();
 	if (crashdump_func())
 		BUG();
 	bust_spinlocks(0);


Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/dist/rpms/kernel/FC-3/kernel-2.6.spec,v
retrieving revision 1.808
retrieving revision 1.809
diff -u -r1.808 -r1.809
--- kernel-2.6.spec	20 Apr 2005 02:52:00 -0000	1.808
+++ kernel-2.6.spec	20 Apr 2005 06:31:21 -0000	1.809
@@ -295,6 +295,7 @@
 
 # Misc bits.
 Patch1700: linux-2.6.10-revert-module-invalidparam.patch
+Patch1710: linux-2.6.11-panic-stackdump.patch
 Patch1740: linux-2.6.11-default-elevator.patch
 Patch1760: linux-2.6.9-module_version.patch
 Patch1910: linux-2.6.9-spinlock-debug-panic.patch
@@ -578,6 +579,8 @@
 # Misc fixes
 # Don't barf on obsolete module parameters.
 %patch1700 -p1
+# Print stack trace when we panic.
+%patch1710 -p1
 # Set CFQ as default elevator
 %patch1740 -p1
 # Add missing MODULE_VERSION tags to some modules.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]