Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 1997 18:01:30 +0900
From:      Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To:        Bruce Evans <bde@zeta.org.au>
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 
Message-ID:  <199705210901.SAA10254@zodiac.mech.utsunomiya-u.ac.jp>
In-Reply-To: Your message of "Tue, 20 May 1997 15:55:00 %2B1000." <199705200555.PAA19649@godzilla.zeta.org.au> 
References:  <199705200555.PAA19649@godzilla.zeta.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help

>>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);



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