From owner-freebsd-arch@FreeBSD.ORG Wed Dec 31 12:25:45 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5659016A4CE; Wed, 31 Dec 2003 12:25:45 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0299B43D39; Wed, 31 Dec 2003 12:25:44 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.10/8.12.9) with ESMTP id hBVKPhAI012338; Wed, 31 Dec 2003 13:25:43 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 31 Dec 2003 13:25:36 -0700 (MST) Message-Id: <20031231.132536.38326387.imp@bsdimp.com> To: jhb@FreeBSD.org From: "M. Warner Losh" In-Reply-To: References: <20031231185358.66023.qmail@web14812.mail.yahoo.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: rosti_bsd@yahoo.com cc: freebsd-arch@FreeBSD.org Subject: Re: IRQ 2 problem X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 20:25:45 -0000 In message: John Baldwin writes: : : On 31-Dec-2003 Rostislav Krasny wrote: : > --- "M. Warner Losh" wrote: : >> In message: <20031230.190927.108191769.imp@bsdimp.com> : >> "M. Warner Losh" writes: : >> : The reason that it iasn't been committed is because it is : >> incorrect. : >> : : >> : : >> : > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=15473+0+archive/2003/freebsd-arch/20030831.freebsd-ar : > ch : >> : : >> : has the particulars. : >> : >> Does your machine have an APIC? My laptop doesn't seem to exhibit : >> the problem. : > : > No, it doesn't seem to have an APIC. This is Pentium MMX 200MHz machine : > based on Intel's 430TX chipset. : > : > What is the correct way to fix this IRQ 2 problem? I can help to test it. : : IRQ 2 in FreeBSD is spelled IRQ 9. If a PNP device wants to use IRQ 2, it : can be set to IRQ 2 in hardware, but it must use IRQ 9 when doing the : bus_alloc_resource() and bus_setup_intr(). Actually the problem appears to be that the hardware wants 9 too. '2' shouldn't be used at all, nor given out in allocation when we're using AT PIC because that's the chaining IRQ. That's the current problem. Eg, the isa bus is handing out '2' when it has no buisness doing so. Warner