From owner-freebsd-hackers Wed Jul 1 13:01:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA11519 for freebsd-hackers-outgoing; Wed, 1 Jul 1998 13:01:33 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from heathers2.stdio.com (lile@heathers2.stdio.com [199.89.192.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA11492 for ; Wed, 1 Jul 1998 13:01:29 -0700 (PDT) (envelope-from lile@stdio.com) Received: (from lile@localhost) by heathers2.stdio.com (8.8.8/8.8.8) id PAA21654; Wed, 1 Jul 1998 15:58:28 -0400 (EDT) Date: Wed, 1 Jul 1998 15:58:26 -0400 (EDT) From: "Larry S. Lile" To: Mike Smith cc: hackers@FreeBSD.ORG Subject: Re: Problems with irq 9(2)? In-Reply-To: <199807011910.MAA00908@dingo.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 1 Jul 1998, Mike Smith wrote: > > > > Does anybody know if there are problems with interrupt blocking > > when using interrupt 9(2)? I am having problems with my token > > ring card getting into a user blocked interrupt state and cannot > > figure out what to do. This is really screwing up my token > > ring driver development. > > Larry; I meant to get back to you on this earlier, but your previous > message is still buried. > > The short answer is that you can't "block" ISA interupts, so the > problem you're seeing has to be related to how you're talking to the > card. The only confirmation of interrupt delivery that the card will > ever get has to come from your code. I thought that was the entire purpose behind splxxx(), It held off the 8259's until the kernel could process the next interrupt. *confused* Anyway, the card has a register (isrp) that has a bit that shows whether or not the card can interrrupt the 8259 on its irq line. This works for the first interrupt but as soon as I enter an spl loop that bit goes high, saying he can't interrupt, and never drops even after exiting the spl loop. Maybe I am confused about how 8259's work, it has been a long time since I played with that level of the machine, and then it was only for college class under dos. Larry Lile lile@stdio.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message