From owner-freebsd-bugs Sun Dec 27 15:00:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA13614 for freebsd-bugs-outgoing; Sun, 27 Dec 1998 15:00:11 -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 PAA13606 for ; Sun, 27 Dec 1998 15:00:10 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id PAA28399; Sun, 27 Dec 1998 15:00:01 -0800 (PST) Received: from pinhead.parag.codegen.com (ppp-sfx201--041.sirius.net [205.134.235.41]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA13526 for ; Sun, 27 Dec 1998 14:59:53 -0800 (PST) (envelope-from parag@cgt.com) Received: (from parag@localhost) by pinhead.parag.codegen.com (8.9.1/8.8.8) id OAA01521; Sun, 27 Dec 1998 14:59:41 -0800 (PST) (envelope-from parag) Message-Id: <199812272259.OAA01521@pinhead.parag.codegen.com> Date: Sun, 27 Dec 1998 14:59:41 -0800 (PST) From: parag@codegen.com Reply-To: parag@cgt.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/9211: Fix for "kernel trap 25 with interrupts disabled" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 9211 >Category: kern >Synopsis: doscmd triggers endless "kernel trap 25" messages >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Dec 27 15:00:01 PST 1998 >Last-Modified: >Originator: Parag Patel >Organization: CodeGen, Inc. >Release: FreeBSD 3.0-CURRENT i386 >Environment: dual PII-300 SMP system, 256Mb RAM, 256Mb swap >Description: Running "doscmd" under the latest 3.0-CURRENT kernel triggers endless "kernel trap 25 with interrupts disabled" messages in the console and dmesg buffer (which rapidly fills up). >How-To-Repeat: Run "doscmd -x -b" and watch the output of xconsole. >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). Index: trap.c =================================================================== RCS file: /src/freebsd/src/sys/i386/i386/trap.c,v retrieving revision 1.131 diff -c -r1.131 trap.c *** trap.c 1998/12/16 15:21:50 1.131 --- trap.c 1998/12/27 18:52:09 *************** *** 230,236 **** printf( "pid %ld (%s): trap %d with interrupts disabled\n", (long)curproc->p_pid, curproc->p_comm, type); ! else if (type != T_BPTFLT && type != T_TRCTRAP) /* * XXX not quite right, since this may be for a * multiple fault in user mode. --- 230,237 ---- printf( "pid %ld (%s): trap %d with interrupts disabled\n", (long)curproc->p_pid, curproc->p_comm, type); ! else if (type != T_BPTFLT && type != T_TRCTRAP && ! type != T_TSSFLT) /* * XXX not quite right, since this may be for a * multiple fault in user mode. >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message