From owner-freebsd-current Sun Sep 10 19:18:45 2000 Delivered-To: freebsd-current@freebsd.org Received: from gidora.zeta.org.au (gidora.zeta.org.au [203.26.10.25]) by hub.freebsd.org (Postfix) with SMTP id 704BC37B43C for ; Sun, 10 Sep 2000 19:18:42 -0700 (PDT) Received: (qmail 12742 invoked from network); 11 Sep 2000 02:18:39 -0000 Received: from unknown (HELO bde.zeta.org.au) (203.2.228.102) by gidora.zeta.org.au with SMTP; 11 Sep 2000 02:18:39 -0000 Date: Mon, 11 Sep 2000 13:18:37 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Ben Smithurst Cc: current@FreeBSD.ORG Subject: Re: page fault in sched_ithd In-Reply-To: <20000909210619.F77593@strontium.scientia.demon.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 9 Sep 2000, Ben Smithurst wrote: > After poking around a bit with remote GDB, this seems to be caused by a > stray IRQ 7, since irq == 7, ir == ithds[irq] == NULL, ir->foo == BOOM. > > The attached rather crude patch has "fixed" the problem for now, but > does anyone have any suggestions for a real fix? The stray interrupt handler needs to have a thread, or stray interrupts need to be handled as traps. Stray interrupts are more like NMIs than normal interrupts, and NMIs are already (mis)handled as traps. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message