svn commit: r205444 - head/sys/i386/i386

Ed Maste emaste at FreeBSD.org
Mon Mar 22 11:52:54 UTC 2010


Author: emaste
Date: Mon Mar 22 11:52:53 2010
New Revision: 205444
URL: http://svn.freebsd.org/changeset/base/205444

Log:
  Merge r197455 from amd64:
  
    Add a backtrace to the "fpudna in kernel mode!" case, to help track down
    where this comes from.
  
    Reviewed by:	bde

Modified:
  head/sys/i386/i386/trap.c

Modified: head/sys/i386/i386/trap.c
==============================================================================
--- head/sys/i386/i386/trap.c	Mon Mar 22 11:32:19 2010	(r205443)
+++ head/sys/i386/i386/trap.c	Mon Mar 22 11:52:53 2010	(r205444)
@@ -540,6 +540,10 @@ trap(struct trapframe *frame)
 			 * XXX this should be fatal unless the kernel has
 			 * registered such use.
 			 */
+			printf("npxdna in kernel mode!\n");
+#ifdef KDB
+			kdb_backtrace();
+#endif
 			if (npxdna())
 				goto out;
 #endif


More information about the svn-src-head mailing list