On Thu, 7 Dec 2006, Dominik Brodowski wrote:
> > Or perhaps not. I can't think of any reason why the EHCI controller
> > should have generated the unhandled IRQ, and it seems very suspicious that
> > it occurred just as the cs port probing was going on. So maybe
> > yenta_socket is at fault, and the USB stuff just sets up the right
> > timing conditions for the problem to show up.
>
> Unfortunately, that's not the case; USB isn't that soon off the hook: if no
> USB device is connected, no interrupt is received on that line at all; and
> even if I block yenta_socket from being loaded on startup, the problem
> persists. So it's not PCMCIA.
>
> Oh, and it doesn't seem to be usb-storage-specific. Accidentally, I had my
> usb-audio device connected to the other ehci port (usb4-2) once, and the
> same message appeared. With 20000 interrupts instead of 10000, though, but
> anyways...
Okay. Here's a patch that will print out some information for each of the
first 100 interrupts received by ehci-hcd. Block yenta-socket from being
loaded, so as to reduce the number of extraneous interrupts, and see what
you get.
By the way, what happens if you also block snd-intel8x0 (you might have
to rebuild it as a module)?
Alan Stern
Index: usb-2.6/drivers/usb/host/ehci-hcd.c
===================================================================
--- usb-2.6.orig/drivers/usb/host/ehci-hcd.c
+++ usb-2.6/drivers/usb/host/ehci-hcd.c
@@ -574,6 +574,14 @@ static irqreturn_t ehci_irq (struct usb_
spin_lock (&ehci->lock);
status = readl (&ehci->regs->status);
+ {
+ static int cnt;
+
+ if (cnt < 100) {
+ ++cnt;
+ ehci_info(ehci, "IRQ status %x\n", status);
+ }
+ }
/* e.g. cardbus physical eject */
if (status == ~(u32) 0) {
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel