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

Feng Xian (fxian@fxian.jukie.net)
Sat, 2 Jun 2001 14:00:54 -0400 (EDT)


On Sat, 2 Jun 2001, Alan Cox wrote:

> > 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
>
> Nope. APIC is invisible to a correctly built piece of hardware. It just changes
> how INTA-INTD are handled at the host end of things
>
> > properly on uni-processor with APIC enable kernel or smp kernel when the
> > card is sharing IRQ with some other pci devices.
>
> That sounds like the driver isnt testing the irq was sourced by that card. You
> also see hangups on insmod/rmmod when people do
>
> writel(ENABLE_MY_IRQ, my_card->control);
>
> before they request the IRQ and are able to clear it
>

I forget to mention. in the same hardware configuration (same slot, sharing
IRQ with other card) my card works perfect if I was using uni-processor
without APIC support kernel (i tried 2.4.5-ac6 with apic disabled
uniprocessor on a dual p3 box). If the driver did something wrong, it
should not work on that system either. Maybe what I thought was wrong.

Alex

-- 
        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/