Re: Fwd: ACPI & I4L irq confilct: bug reporting on kernel 2.4.0-test8-pre4

From: Werner Cornelius (Cornelius@isdn-development.de)
Date: Thu Sep 07 2000 - 02:58:12 EST


Guido Trentalancia schrieb:
>
> On Wed, 06 Sep 2000, you wrote:
> > Guido Trentalancia schrieb:
> >
> > Hello Guido,
> >
> > > >Hi !
> > > >This is a bug reporting, included are the output of various /proc file
> > > > on my system:
> > > >Motherboard: ASUS P2B-F with the latest bios bx2f113.awd (microcode
> > > > update) ISDN: Winbond based card (Hisax type=36)
> > > >Distribution: based on updated SuSE 6.4
> > > >
> > > >The problem is that if I compile the kernel (2.4.0-test8
> > > > pre1,pre2,pre3,pre4) with both ACPI support and ISDN support there is a
> > > > conflict in irq 9. I think ACPI first get irq 9 and then Hisax can't
> > > > get it. Consequentially Hisax doesn't work if ACPI support is enabled.
> > > >With ACPI turned off, everything works fine as with previous kernel
> > > > test6 and test5 and ....
> > > >Many thanx.
> > >
> > > after further testing the problem seems to be in IRQ SHARING.
> > > in fact, with acpi disabled, once the hisax has got irq 9 (it is not
> > > possible for card type 36 to change the irq), i can load the ethernet
> > > modules 8390 and ne2k-pci for my ethernet PCI NE2000 card, but the
> > > ne2k-pci driver also set its irq=9, so everytime i try to do:
> > >
> > > ifconfig eth0 up
> > >
> > > i get:
> > >
> > > SIOCSIFFLAGS: resource temporarily unavailable
> > >
> > > why don't add the irq parameter to the hisax winbond driver and to the
> > > ne2k-pci driver ?
> >
> > there is no need or even sense to add such parameter, as irqs are
> > assigned by the bios or OS for PCI type cards. The driver is supplied
> > with the selected irq which is normally assigned during boot by the
> > systems bios.
> > You should change the bios PCI/Pnp setup to reflect your needs.
> > I don't know if the Winbond driver supports IRQ-sharing, but other i4l
> > drivers like the HFC-PCI which I maintain allow irq sharing without any
> > problems even if 3 cards share it.
> > So please setup your bios correctly and everything will work fine.
> >
> > > p.s.
> > > my motherboard has pci slot 4 and slot 5 condivided and the isdn card is
> > > on slot 4 while ethernet on slot 5.... so one may say "change your
> > > motherboard", but everything worked fine with previous kernels (ACPI,
> > > Hisax, ethernet)....
> > >
> > > Please help me.
> > > Many thanx.
> > > Please answer only via email: guido.trentalancia@tin.it
> > > --
> > > bye,
> > > Guido Trentalancia
> >
> > Werner
>
> the problems seems to be in the winbond driver (driver/isdn/hisax/w6692.[ch])
> i tried to contact the author but the email address doen't exists anymore
> (petr.novac@i.cz) could you help me ?

I will have a look at the driver.
Petrs Mail address should be petr.novak@i.cz
Petr wrote the driver and handed them to the i4l crew.
As far as I can recognize the driver doesn't set the shareable flag for
the interrupt.
I might change this and send it to you for a test. If it works we may
take it into CVS.
 

> ACPI and NE2000 seems to be ok...
> many thanx.
> --
> --
> bye,
> Guido Trentalancia
> please reply via email
>

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



This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:29 EST