svn commit: r197455 - head/sys/amd64/amd64
Ed Maste
emaste at FreeBSD.org
Thu Sep 24 14:26:43 UTC 2009
Author: emaste
Date: Thu Sep 24 14:26:42 2009
New Revision: 197455
URL: http://svn.freebsd.org/changeset/base/197455
Log:
Add a backtrace to the "fpudna in kernel mode!" case, to help track down
where this comes from.
Reviewed by: bde
Modified:
head/sys/amd64/amd64/trap.c
Modified: head/sys/amd64/amd64/trap.c
==============================================================================
--- head/sys/amd64/amd64/trap.c Thu Sep 24 11:11:00 2009 (r197454)
+++ head/sys/amd64/amd64/trap.c Thu Sep 24 14:26:42 2009 (r197455)
@@ -505,8 +505,11 @@ trap(struct trapframe *frame)
* XXX this should be fatal unless the kernel has
* registered such use.
*/
- fpudna();
printf("fpudna in kernel mode!\n");
+#ifdef KDB
+ kdb_backtrace();
+#endif
+ fpudna();
goto out;
case T_STKFLT: /* stack fault */
More information about the svn-src-head
mailing list