Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 May 1999 09:34:48 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Stefan Bethke <stefan.bethke@hanse.de>
Cc:        freebsd-current@freebsd.org, sos@freebsd.org
Subject:   Re: ata and IRQ sharing (was: panic in nexus_setup_intr+0x13 with new ata driver)
Message-ID:  <Pine.BSF.4.05.9905030934070.555-100000@herring.nlsystems.com>
In-Reply-To: <15018945.3134674456@monster.transit-a.hanse.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2 May 1999, Stefan Bethke wrote:

> --On Son, 2. Mai 1999 19:32 Uhr +0200 Stefan Bethke
> <stefan.bethke@hanse.de> wrote:
> 
> > I'm currently trying to get a Promise Ultra/33 to work with Sørens new ata
> > drivers.
> 
> I've delved into the code a bit more.  The panic results from
> ata_pciattach() not checking whether an IRQ resource could be allocated.
> 
> Ths seems to stem from the fact that the IRQ is already taken by an ed PCI
> card. I've added RF_SHAREABLE to the bus_alloc_resource() flags, and was
> able to bring up the kernel fine.  However, ed0 reported constant device
> timeouts, and accessing wd0 resulted in an endless wait for an interrupt.
> 
> Removing the ed card makes the Promise controller work.  I'm getting about
> 7MB/s from an IBM DTTA 350840, which should be normal.
> 
> The board I'm currently trying this on is an Asus SP3, having the
> mis-feature of  only having a single INTA for all three PCI slots (IRQ 5 in
> my case).
> 
> Now, PCI does support interrupt sharing, but in this case it might be
> broken:
> - in the chipset (but it worked with both an ed and ncr card installed)
> - in the newbus stuff
> - in the Promise controller
> - somewhere in promise_intr
> 
> Would someone care to shed some light on this?
> 
> I will try to do some tests on an Asus SP3G, which does have seperate INTAs
> per PCI slot.

Are you saying that the ISA driver for the ed card is sharing an interrupt
with the pci IDE card?

--
Doug Rabson				Mail:  dfr@nlsystems.com
Nonlinear Systems Ltd.			Phone: +44 181 442 9037




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9905030934070.555-100000>