From owner-freebsd-current@FreeBSD.ORG Sat Sep 25 19:26:39 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 2884016A4CE; Sat, 25 Sep 2004 19:26:39 +0000 (GMT) Received: from clever.eusc.inter.net (clever.eusc.inter.net [213.73.101.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id D456143D3F; Sat, 25 Sep 2004 19:26:38 +0000 (GMT) (envelope-from msch@snafu.de) Received: from dial-76-109.de.inter.net ([213.73.76.109] helo=current.best-eng.de) by clever.eusc.inter.net with esmtp (Exim 3.36 #4) id 1CBIBp-0005zE-00; Sat, 25 Sep 2004 21:26:37 +0200 Received: from current.best-eng.de (localhost.best-eng.de [127.0.0.1]) by current.best-eng.de (8.13.1/8.13.1) with ESMTP id i8PJQbtT001398; Sat, 25 Sep 2004 21:26:37 +0200 (CEST) (envelope-from msch@snafu.de) Received: from localhost (localhost [[UNIX: localhost]]) by current.best-eng.de (8.13.1/8.13.1/Submit) id i8PJQaSk001397; Sat, 25 Sep 2004 21:26:36 +0200 (CEST) (envelope-from msch@snafu.de) X-Authentication-Warning: current.best-eng.de: matthias set sender to msch@snafu.de using -f From: Matthias Schuendehuette Organization: Micro$oft-free Zone To: Nate Lawson Date: Sat, 25 Sep 2004 21:26:35 +0200 User-Agent: KMail/1.7 References: <200409232235.08683.msch@snafu.de> <200409251822.11019.msch@snafu.de> <4155AE43.5010704@root.org> In-Reply-To: <4155AE43.5010704@root.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200409252126.36670.msch@snafu.de> X-Mailman-Approved-At: Sun, 26 Sep 2004 15:32:32 +0000 cc: current@freebsd.org Subject: Re: IRQ-Routing for 5.3-BETA X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: msch@snafu.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Sep 2004 19:26:39 -0000 Hello Nate, On Saturday 25 September 2004 19:43, Nate Lawson wrote: > Matthias Schuendehuette wrote: > > I reconfigured my ISDN-Card to use IRQ2/9 (which was more simple > > than I remembered :-) and it works! Shame on me, sometimes it's > > really too simple... > > > > This really works for FreeBSD 5.3-BETA5 of today, but it works > > *only* with IRQ 2/9. > > I don't quite understand. Your device's hardware was not set to 9 > but the BIOS was claiming it was? Is it on the motherboard (i.e., > non-removable)? No. The device is a "TELES S0/16.3" ISA nonPnP ISDN-Card, device isic(4), which can be software configured for various IRQ lines with 'hint.isic.0.irq="%d"' in /boot/device.hints. This card was configured for IRQ 10 all the years and worked with that config since the very early days of isdn4bsd, IIRC on FreeBSD-3.x. This config worked with 5-CURRENT and ACPI as well until Aug 11, 16:00 UTC (approx.), where the new IRQ-Routing code came in. Until then, this ISA-Card had IRQ 10 exclusively (like it should be for ISA-Cards, IIRC) and the various PCI-devices shared IRQ-Lines 9, 11 and 12. With the new code, the PCI-devices got IRQ-Lines 10(!), 11 and 12, so IRQ 10 was now shared between PCI-devices and the ISA card, which should not occur (isn't it?) and I thought that was the source of my new problems with this ISA-Device (I'm not quite sure anymore, see below). After jhb's mail I patched on my head and said to me: If the new code really wants IRQ 10 for PCI devices, why not configure the ISA-Card for IRQ 9, which should be free now? This still works - if you can read this mail here... :-) > > I also tried IRQ 5, which is not used by any other device (a least > > I couldn't find any notice about irq5 in the boot -v messages but > > for isic0), and this does not work with the same messages as with > > IRQ 10. > > > > Somehow I have the uncertain feeling that the new IRQ-Routing code > > has still some deficencies, at least for ISA-style IRQs... I said this, because the isic(4)-device has IRQ 5 exclusively as well, no other PCI (or other legacy/ISA) devices have IRQ 5 on my system. But if I configured this ISA card to use IRQ 5, it doesn't work at all. So I'm not quite sure anymore if the problem (which came up when using IRQ 10) is the not-allowed IRQ sharing (in case of IRQ 10) or if the new routing code has still some other problems with IRQs for ISA devices (or whatever) because IRQ 5 *has* to work for that ISA-Card in my HW-environment. What makes IRQ 9 so special? > When the BIOS gives an initial irq, we always try to route to that > one first since some devices don't work at any other irq. I marked the appropriate IRQ in the BIOS as "ISA/nonPnP", so the marked IRQ *should* be assigned for the ISA card by the BIOS (but obviously isn't). I hope I could clear the situation a bit. I sure can switch to 6-CURRENT or at least try the new acpi_pci_link.c, but I don't believe that the problem is IRQ 9.... Thank you very much for your interest. I fear, these old ISA cards are no longer of public interest... :-) -- Ciao/BSD - Matthias Matthias Schuendehuette , Berlin (Germany) PGP-Key at and ID: 0xDDFB0A5F