From owner-freebsd-hackers Wed Jul 1 20:19:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA19314 for freebsd-hackers-outgoing; Wed, 1 Jul 1998 20:19:44 -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 UAA19309 for ; Wed, 1 Jul 1998 20:19:43 -0700 (PDT) (envelope-from lile@stdio.com) Received: (from lile@localhost) by heathers2.stdio.com (8.8.8/8.8.8) id XAA25605; Wed, 1 Jul 1998 23:16:46 -0400 (EDT) Date: Wed, 1 Jul 1998 23:16:46 -0400 (EDT) From: "Larry S. Lile" To: David Greenman cc: Mike Smith , hackers@FreeBSD.ORG Subject: Re: Problems with irq 9(2)? In-Reply-To: <199807020309.UAA19925@implode.root.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, David Greenman wrote: > >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. > > Sounds to me like you aren't acking the interrupt in your ISR. Could I get you to take a peek at whats going on? The adapter spec is at (or at least the pages on the status registers) http://ppdbooks.pok.ibm.com:80/cgi-bin/bookmgr/bookmgr.cmd/BOOKS/BK8R1001 /1.4.9.4 and the code for the driver is at http://anarchy.stdio.com (or you can get to it at http://www.jurai.net/~winter/tr/tr.html). I have been working from the MACH source and I can't see what i'm doing wrong. Whats got me really confused is bit 1 in the ISRP high (even) which is called User interrupt blocked? And worst is I can't seem to reset it. Larry Lile lile@stdio.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message