NetBSD Problem Report #736
From gnats Tue Jan 17 23:06:27 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id XAA05142 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Tue, 17 Jan 1995 23:06:25 -0800
Message-Id: <199501180705.QAA00501@cotton.fs.telcom.oki.co.jp>
Date: Wed, 18 Jan 1995 16:05:33 +0900
From: Masaru Oki <oki@fs.telcom.oki.co.jp>
Reply-To: oki@fs.telcom.oki.co.jp
To: gnats-bugs@NetBSD.ORG
Subject: cannot detect 'kernel coprocessor exception'
X-Send-Pr-Version: 3.2
>Number: 736
>Category: port-hp300
>Synopsis: cannot detect 'kernel coprocessor exception'
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Jan 17 23:20:03 +0000 1995
>Closed-Date: Wed Jan 18 07:37:26 +0000 1995
>Last-Modified:
>Originator: Masaru Oki
>Release: unknown-1.0
>Organization:
>Environment:
NetBSD-current 1/5 tar balls
>Description:
NetBSD/hp300 always displayed 'kernel format exception' when trapped
by kernel copprocessor exception.
>How-To-Repeat:
>Fix:
diff -ur sys.orig/arch/hp300/hp300/trap.c sys/arch/hp300/hp300/trap.c
--- sys.orig/arch/hp300/hp300/trap.c Tue Nov 22 06:57:17 1994
+++ sys/arch/hp300/hp300/trap.c Wed Jan 18 15:38:54 1995
@@ -280,9 +280,9 @@
* The user has most likely trashed the RTE or FP state info
* in the stack frame of a signal handler.
*/
- type |= T_USER;
printf("pid %d: kernel %s exception\n", p->p_pid,
type==T_COPERR ? "coprocessor" : "format");
+ type |= T_USER;
p->p_sigacts->ps_sigact[SIGILL] = SIG_DFL;
i = sigmask(SIGILL);
p->p_sigignore &= ~i;
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: mycroft
State-Changed-When: Tue Jan 17 23:37:26 PST 1995
State-Changed-Why:
Patch applied.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.