Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Aug 2010 14:24:12 -0700
From:      Neel Natu <neelnatu@gmail.com>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Not getting interrupts from PCI express slot
Message-ID:  <AANLkTikMUcsHZqDKBPxZVvDmkjtWYA7Zg_=npMFqpvDF@mail.gmail.com>
In-Reply-To: <201008042129.32095.hselasky@c2i.net>
References:  <201008041918.54028.hselasky@c2i.net> <AANLkTi=GTw-hH0-DqMO_7pUEL-JoB9f9UiELNQsu8v7Y@mail.gmail.com> <201008042129.32095.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Wed, Aug 4, 2010 at 12:29 PM, Hans Petter Selasky <hselasky@c2i.net> wrote:
> On Wednesday 04 August 2010 21:13:55 Neel Natu wrote:
>> Hi,
>>
>> On Wed, Aug 4, 2010 at 10:18 AM, Hans Petter Selasky <hselasky@c2i.net>
> wrote:
>> > Hi,
>> >
>> > I'm not getting any interrupts from a PCI express slot. When I insert a
>> > device, no attach event is generated. If the device is present during
>> > boot the device is fully detected, but still no IRQ's. Is there anything
>> > I can do or test?
>>
>> Is the driver using legacy INT-A style interrupt or MSI/MSI-X?
>>
>
> I don't know. How can I find out. It is a PCI driver like EHCI.
>

I looked at the ehci_pci.c driver and it looks like it only requests
legacy interrupt. It may be that the legacy interrupt routing is
screwed up by the BIOS.

You can try a few things to narrow this down a bit:

% devinfo -ru: this will tell you which irq is being assigned to the ehci device

% vmstat -i: this will tell you the number of interrupts received on
that irq. It would be especially telling if you saw any stray
interrupts as it may indicate bad interrupt routing.

Hope this helps.

best
Neel

> --HPS
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikMUcsHZqDKBPxZVvDmkjtWYA7Zg_=npMFqpvDF>