rpms/kernel/devel linux-2.6.11-panic-stackdump.patch, NONE, 1.1 kernel-2.6.spec, 1.1247, 1.1248

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Apr 20 02:19:02 UTC 2005


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

Modified Files:
	kernel-2.6.spec 
Added Files:
	linux-2.6.11-panic-stackdump.patch 
Log Message:
dump stack on panic.


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/devel/kernel-2.6.spec,v
retrieving revision 1.1247
retrieving revision 1.1248
diff -u -r1.1247 -r1.1248
--- kernel-2.6.spec	18 Apr 2005 23:37:45 -0000	1.1247
+++ kernel-2.6.spec	20 Apr 2005 02:18:59 -0000	1.1248
@@ -309,6 +309,7 @@
 Patch1610: linux-2.6.11-atkbd-dell-multimedia.patch
 Patch1620: linux-2.6.11-isdn-icn-nodev.patch
 Patch1630: linux-2.6.11-module-licenses.patch
+Patch1640: linux-2.6.11-panic-stackdump.patch
 Patch1700: linux-2.6.10-revert-module-invalidparam.patch
 Patch1710: linux-2.6.9-ide-cd-early-EOF.patch
 Patch1720: linux-2.6.9-module_version.patch
@@ -684,6 +685,8 @@
 %patch1620 -p1
 # Fix missing MODULE_LICENSE tags
 %patch1630 -p1
+# Print stack trace when we panic.
+%patch1640 -p1
 # Don't barf on obsolete module parameters.
 %patch1700 -p1
 # Handle early EOF on CD's.
@@ -1119,6 +1122,10 @@
 %endif
 
 %changelog
+* Tue Apr 19 2005 Dave Jones <davej at redhat.com>
+- Print stack trace when we panic.
+  Might give more clues for some of the wierd panics being seen right now.
+
 * Mon Apr 18 2005 Dave Jones <davej at redhat.com>
 - Make ISDN ICN driver not oops when probed with no hardware present.
 - Add missing MODULE_LICENSE to mac_modes.ko




More information about the fedora-cvs-commits mailing list