--On Son, 2. Mai 1999 19:32 Uhr +0200 Stefan Bethke
<stefan.bet...@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.


Stefan

--
Stefan Bethke
Muehlendamm 12            Phone: +49-40-256848, +49-177-3504009
D-22087 Hamburg           <stefan.bet...@hanse.de>
Hamburg, Germany          <s...@freebsd.org>



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

Reply via email to