lkml.org 
[lkml]   [2006]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Bad interaction between uhci_hcd and de2104x
On Sat, 4 Feb 2006, Martin Michlmayr wrote:

> > For some reason, the de2104x driver isn't listed as a handler for
> > IRQ 10. That's probably the cause of the problem. Did you have any
> > full- or low-speed USB devices plugged in at the time this occurred?
> > If you didn't then the UHCI hardware would not have generated any
> > interrupt requests.
>
> No, I don't think I ever used USB on this machine. I did some more
> tests based on what you said and have the following data points:
> - Having a USB device (USB stick) plugged in when booting doesn't
> make a difference.
> - When I load the de2104x driver _before_ uhci_hcd, both USB and
> Ethernet work fine.
> - Both modules load fine. USB also works. The problem only occurs
> when I actually try to use the Ethernet device (i.e. run DHCP).
> Then I get that traceback, and USB also stops working.

It sure looks as though the ethernet interface is generating an interrupt
request before the de2104x driver has registered its interrupt handler.
When uhci-hcd isn't already loaded the IRQ is unused, hence disabled, and
so nothing bad happens. If uhci-hcd is already loaded then the IRQ is
enabled (because uhci-hcd is using it), so you get the problem -- an
interrupt occurs with no registered handler.

Alan Stern

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

\
 
 \ /
  Last update: 2006-02-04 17:12    [W:0.038 / U:1.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site