Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 1998 03:50:01 -0800 (PST)
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: kern/9211: Fix for "kernel trap 25 with interrupts disabled"
Message-ID:  <199812281150.DAA20641@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/9211; it has been noted by GNATS.

From: Bruce Evans <bde@zeta.org.au>
To: FreeBSD-gnats-submit@FreeBSD.ORG, parag@codegen.com
Cc:  Subject: Re: kern/9211: Fix for "kernel trap 25 with interrupts disabled"
Date: Mon, 28 Dec 1998 22:42:14 +1100

 >>Fix:
 >	
 >	Here is the patch to /sys/i386/i386/trap.c to ignore this
 >	specific trap.  I don't know if it is the right solution, but it
 >	turns off the error message and doscmd seems happy.  The code in
 >	trap.c already has an "if" for a couple of other traps - I just
 >	added the third trap (25).
 
 The existing "if" is a mistake.  It's dangerous to run code that is
 designed to run with interrupts disabled under a debugger, and the
 warning is a good way to tell you that you shouldn't do it.
 
 Bruce

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



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