Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Dec 1999 15:22:29 -0600
From:      Chris Csanady <cc@137.org>
To:        Luoqi Chen <luoqi@watermarkgroup.com>
Cc:        msmith@FreeBSD.ORG, smp@FreeBSD.ORG
Subject:   Re: incorrect irqs with pci devices
Message-ID:  <384C2915.4E13A3D8@ameslab.gov>
References:  <199912062101.QAA08375@lor.watermarkgroup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Luoqi Chen wrote:
> 
> > > > > They are on my box, where incorrect is defined as the interrupts not
> > > reaching
> > > > > their supposed destination.  I would really like to fix this, but I don't
> > > > > know enough about exactly what is wrong.  Any ideas would really be
> > > > > appreciated, as I would like to remove my disgusting hack. :)
> > > > >
> > > > > I have an AMI raid controller that the system reports that it is on irq 11.
> > > > > The problem is that the interrupts actually go to irq 17.  If I hard wire
> > > > > them with
> >
> > The irq 11 you saw in the system report (care to share with us what kind of
> > report that was) must be for the PIC compatible mode. When the IO APIC is
> > in the symmetric I/O mode, the interrupt should be routed through pin #17
> > of the IO APIC (that is if mptable is correct). If the interrupt was still
> > routed to pin #11, then your mptable (BIOS) must be broken. Try to find out
> > if there is a BIOS update available for your motherboard. As far as I can
> > tell, our code is correct.

I unfortunately have not been able to update the bios.  However, this board is
one
of the few that is "Whitelisted" by the linux kernel--so I assume it is correct.

> > -lq
> >
> Sorry, I have to correct my own diagnosis, I didn't read your report carefully
> enough. It looked as if your AMI raid controller comes with a PCI-to-PCI
> bridge, is that right? It is interesting to see the controller was probed
> as on pci0, not behind the bridge on pci1. I recall there're problems with
> SMP motherboards and PCI-to-PCI bridges, but I don't know enough to say
> anything about it.
> 
> -lq

Yes, the device is bridged--I should have probably mentioned that.  I don't
really
understand how this works either.  I had thought that the problems with PCI-PCI
bridges were cleared up a while ago, but I'm not sure.  I would have thought it
should be probed as being on bus 1 though.

The mptable matches (bus ?, device 9, irq 11) which is the adaptec, but does not
match (bus ?, device 15, irq 11) which is the megaraid.  I don't recall the ?,
but
I'm pretty sure the bus matched.  I don't understand how this relates to the
output
of mptable, which does not mention device #. :\

Chris


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?384C2915.4E13A3D8>