Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 2010 11:52:54 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r205444 - head/sys/i386/i386
Message-ID:  <201003221152.o2MBqs9M012769@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003221152.o2MBqs9M012769>