From owner-freebsd-current@FreeBSD.ORG Mon Jun 7 12:10:13 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26D8616A4D0 for ; Mon, 7 Jun 2004 12:10:13 +0000 (GMT) Received: from mail4.speakeasy.net (mail4.speakeasy.net [216.254.0.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id D716B43D2F for ; Mon, 7 Jun 2004 12:10:12 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 13889 invoked from network); 7 Jun 2004 12:10:01 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 7 Jun 2004 12:10:00 -0000 Received: from slimer.baldwin.cx (slimer.baldwin.cx [192.168.0.16]) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i57C9sEg002234; Mon, 7 Jun 2004 08:09:54 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-current@FreeBSD.org Date: Mon, 7 Jun 2004 08:10:49 -0400 User-Agent: KMail/1.6 References: <200406051220.56698.msch@snafu.de> <20040605192018.GB42830@dan.emsphone.com> In-Reply-To: <20040605192018.GB42830@dan.emsphone.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406070810.49096.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Matthias Schuendehuette cc: Dan Nelson Subject: Re: IRQ-Routing Problems (ShowStopper) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 12:10:13 -0000 On Saturday 05 June 2004 03:20 pm, Dan Nelson wrote: > In the last episode (Jun 05), Matthias Schuendehuette said: > > I have still IRQ-Problems on my machine which seem to be ACPI related > > (i.e. which don't occur without ACPI) but seem to have a different > > source than the last shutdown/reboot issue. > > > > The last working kernel is from May 22, after the new ACPI-Code no > > kernel boots with ACPI enabled any more. > > > > The core problem is the handling of IRQ 10 on my machine. This IRQ is > > marked as 'Legacy/ISA' in my BIOS-Settings and is used for my ISA > > "Teles S0/16.3"-ISDN-Card. > > I'm having similar problems with IRQs. I haven't reserved any IRQs in > my BIOS (no ISA cards), but with ACPI enabled, my SCSI card doesn't > seem to be getting interrupts, and my soundcard gets probed as pcm2 > instead of pcm0. > > --- /tmp/dmesg.noacpi > +++ /tmp/dmesg.acpi > -$PIR: 0:7 INTD routed to irq 9 > -$PIR: 0:11 INTA routed to irq 3 > -$PIR: 0:13 INTA routed to irq 11 > -$PIR: 0:14 INTA routed to irq 9 > -$PIR: 1:0 INTA routed to irq 11 > +pcib0: slot 7 INTD is routed to irq 5 > +pcib0: slot 11 INTA is routed to irq 11 > +pcib0: slot 13 INTA is routed to irq 10 > +pcib0: slot 14 INTA is routed to irq 9 > +pcib0: slot 1 INTA is routed to irq 10 > +pcib1: slot 0 INTA is routed to irq 10 > > Full dmesgs attached. ACPI's pci_link driver doesn't use the same algorithm as the $PIR code (i.e., only use known-good IRQs that the BIOS has already used). I am working on updating the pci_link code to do that which should fix problems with ACPI IRQ routing when not using APIC. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org