Re: APIC problem or 3com 3c590 driver problem in smp kernel 2.4.x

From: Feng Xian (fxian@fxian.jukie.net)
Date: Fri Jun 01 2001 - 23:08:03 EST


It's our own's card. so it could be the card's problem. does the pci
device have to do some special thing to support APIC? my card won't work
properly on uni-processor with APIC enable kernel or smp kernel when the
card is sharing IRQ with some other pci devices.

Alex

On Fri, 1 Jun 2001, Ingo Oeser wrote:

> On Thu, May 31, 2001 at 12:27:07PM -0400, Feng Xian wrote:
> > The driver for my pci device, I have the SA_SHIRQ set.
>
> What kind of PCI device do you have? I had this problem once with
> an PCI-Matchmaker[1] based board (for which we still have the wrong
> PCI-ID btw, but my patch was rejected twice...).
>
> > Actually what I am thinking it may be APIC support problem. I rebuild my
> > kernel to use single cpu without APIC support, my device and 3c905 both
> > work fine. they don't work for SMP kernel (APIC is by default enabled)
> > Then I configured my uni-processor kernel to enable the APIC support, my
> > device won't work with the 3c905, just exactly same as it behaves in the
> > SMP kernel.
>
> With 2.2 I also had this without APIC.
>
> I have been flooded with interrupts which have been intended for
> the Cyclone card (3c905B 100BaseTX), and exited the ISR quickly
> after querying the interrupt register of my Matchmaker board
> without any ACKing, but the Cyclone never got these interrupts
> anymore.
>
> But is doesn't seem to be a 3c905 based problem, as I have
>
> 11: 95772726 XT-PIC es1371, eth0, eth1
>
> in /proc/interrupts where eth0 and eth1 are both Cyclones.
> Even the vga card has IRQ 11 assigned.
>
> So this is not really unknown ;-)
>
> Regards
>
> Ingo Oeser
>
> [1] class 0b40, vendor id: 10e8, device id: 807d
>

-- 
        Feng Xian
   _o)     .~.      (o_
   /\\     /V\      //\
  _\_V    // \\     V_/_
         /(   )\
          ^^-^^
           ALEX

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 07 2001 - 21:00:18 EST