From owner-freebsd-bugs Wed May 21 02:08:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA29292 for bugs-outgoing; Wed, 21 May 1997 02:08:53 -0700 (PDT) Received: from nasu.utsunomiya-u.ac.jp (nasu.utsunomiya-u.ac.jp [160.12.128.3]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA29287 for ; Wed, 21 May 1997 02:08:48 -0700 (PDT) Received: from outmail.utsunomiya-u.ac.jp (outmail.utsunomiya-u.ac.jp [160.12.196.3]) by nasu.utsunomiya-u.ac.jp (8.8.4+2.7Wbeta4/3.5Wpl3) with ESMTP id RAA15215; Wed, 21 May 1997 17:56:28 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (GcRF4SGAp4p3lhpA3doa9b6R5kIF6nhN@zodiac.mech.utsunomiya-u.ac.jp [160.12.33.1]) by outmail.utsunomiya-u.ac.jp (8.8.4+2.7Wbeta4/3.5Wpl3) with ESMTP id RAA30469; Wed, 21 May 1997 17:56:27 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (zenith.mech.utsunomiya-u.ac.jp [160.12.33.60]) by zodiac.mech.utsunomiya-u.ac.jp (8.7.6+2.6Wbeta7/3.4W/zodiac-May96) with ESMTP id SAA10254; Wed, 21 May 1997 18:01:31 +0900 (JST) Message-Id: <199705210901.SAA10254@zodiac.mech.utsunomiya-u.ac.jp> To: Bruce Evans cc: dg@root.com, peter@spinner.DIALix.COM, freebsd-bugs@freebsd.org, thorpej@nas.nasa.gov, imp@village.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: trap type 29 on P6 In-reply-to: Your message of "Tue, 20 May 1997 15:55:00 +1000." <199705200555.PAA19649@godzilla.zeta.org.au> References: <199705200555.PAA19649@godzilla.zeta.org.au> Date: Wed, 21 May 1997 18:01:30 +0900 From: Kazutaka YOKOTA Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >>Hmm.. But what I want to know is why the local APIC is doing this when >>it's not active? And why does it coincide with IO instructions? >> >>Anyway, assuming that's the case, how does this look: >>Index: trap.c > >I don't like ignoring unexpected exceptions. I would only ignore >exception 15 on P6's (it's sort of expected there). How about this then? Alternatively, should we filter this exception at the lower level in exception.s? Kazu --- trap.c-dist Sun May 4 18:58:18 1997 +++ trap.c Wed May 21 17:48:10 1997 @@ -431,6 +431,7 @@ } return; } + break; #else /* !POWERFAIL_NMI */ #ifdef DDB /* NMI can be hooked up to a pushbutton for debugging */ @@ -439,10 +440,17 @@ return; #endif /* DDB */ /* machine/parity/power fail/"kitchen sink" faults */ - if (isa_nmi(code) == 0) return; - /* FALL THROUGH */ + if (isa_nmi(code) == 0) + return; + break; #endif /* POWERFAIL_NMI */ #endif /* NISA > 0 */ + case T_RESERVED: + if (cpu == CPU_686) { + printf("stray T_RESERVED trap (ignored)\n"); + return; + } + break; } trap_fatal(&frame);