From owner-freebsd-current Mon May 17 6:40: 9 1999 Delivered-To: freebsd-current@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id D58731500E for ; Mon, 17 May 1999 06:40:06 -0700 (PDT) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.1/8.9.1) id PAA25213; Mon, 17 May 1999 15:40:00 +0200 (CEST) (envelope-from sos) From: Soren Schmidt Message-Id: <199905171340.PAA25213@freebsd.dk> Subject: Re: xl0: couldn't map interrupt ? In-Reply-To: <14144.6406.402515.478941@grasshopper.cs.duke.edu> from Andrew Gallatin at "May 17, 1999 9:34:20 am" To: gallatin@cs.duke.edu (Andrew Gallatin) Date: Mon, 17 May 1999 15:40:00 +0200 (CEST) Cc: erwan@netvalue.fr, freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It seems Andrew Gallatin wrote: > > Erwan Arzur writes: > > Recently cvsupped (as of today, and since around may 10) -current > > kernels fail to attach my 3C905-TX nic. > <...> > > ata-pci1: irq 10 at device 5.0 on pci1 > > ata-pci1: Busmastering DMA supported > > <..> > > xl0: <3Com 3c905-TX Fast Etherlink XL> irq 10 at device 8.0 on pci1 > > pci_map_int: can't allocate interrupt > > xl0: couldn't map interrupt > > The problem has nothing to do with the xl driver, actually the ata > driver is to blame. The ata driver doesn't want to place nice & share > IRQs, and by the time the xl driver gets a chance to alloc irq10 the > ata driver has reserved it totally. The following should fix it > (beware, its against a slightly less-than-current version of > ata-all.c; should it fail to apply, just replace the RF_SHAREABLE > arguments to bus_alloc_resource with RF_SHAREABLE | RF_ACTIVE in > ata_pciattach(). > > Søren's told me that he'll be fixing this in his next commit. Yep, I just have to find the bug that causes LS120 drives to fail, then I have the next update ready, hopefully I get a few hours tonight... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message