From owner-freebsd-bugs Mon Dec 28 03:50:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA21803 for freebsd-bugs-outgoing; Mon, 28 Dec 1998 03:50:13 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA21795 for ; Mon, 28 Dec 1998 03:50:10 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id DAA20641; Mon, 28 Dec 1998 03:50:01 -0800 (PST) Date: Mon, 28 Dec 1998 03:50:01 -0800 (PST) Message-Id: <199812281150.DAA20641@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Bruce Evans Subject: Re: kern/9211: Fix for "kernel trap 25 with interrupts disabled" Reply-To: Bruce Evans Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/9211; it has been noted by GNATS. From: Bruce Evans 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