From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 6 10:46:11 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8DD637B401 for ; Fri, 6 Jun 2003 10:46:11 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id A35EF43FBD for ; Fri, 6 Jun 2003 10:46:09 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h56HjnkA040654; Fri, 6 Jun 2003 11:45:50 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 06 Jun 2003 11:45:48 -0600 (MDT) Message-Id: <20030606.114548.66168059.imp@bsdimp.com> To: dmlb@dmlb.org From: "M. Warner Losh" In-Reply-To: References: <20030605.170134.132933173.imp@bsdimp.com> X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: interrupt handlers in -current X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2003 17:46:12 -0000 In message: Duncan Barclay writes: : : On 05-Jun-2003 M. Warner Losh wrote: : > In message: : > Duncan Barclay writes: : > : > It may also be the case that the interrupt for this isn't being : > properly routed. 5.1-BETA has a bug that, for some laptop machines, : > interrupts aren't properly routed. 5.1-RELEASE has fixed this. : : I think that this must be it. I had the blindingly obvious idea of looking : at the chips interrupt mask in the watchdog (which is getting called). The : chip has posted a TX complete interrupt. The kernel hasn't done anything : with it so I assume it isn't routed. : : Until I get back from travelling and can install 5.1R, this at least gives me a : hook to continue driver development - fairly icky though using the : watchdog to trigger the interrupt handler! If you have sources, you can rebuild a kernel. Remove the ifdef __ia64__ from pci.c near line 815. Warner