Re: 3.4.4: disabling irq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 15 Jul 2012, Udo van den Heuvel wrote:

> > The conclusion is that ohci-hcd is the only driver using IRQ 18.  If 
> > you build a kernel with CONFIG_USB_DEBUG enabled, it will be possible 
> > to see if the OHCI hardware is responsible for the IRQ problem.
> > 
> > When the IRQ line gets disabled again, make a copy of the
> > 
> > 	/sys/kernel/debug/usb/ohci/*/registers
> > 
> > files and post them, along with a copy of 
> > /sys/kernel/debug/usb/devices.

> After disabling:

This indicates the controller at 0000:00:13.1 has an outstanding 
interrupt request:

> bus pci, device 0000:00:13.1
> OHCI Host Controller
> ohci_hcd
> OHCI 1.0, NO legacy support registers, rh state running
> control 0x08f HCFS=operational IE PLE CBSR=3
> cmdstatus 0x00000 SOC=0
> intrstatus 0x00000026 FNO SF WDH
> intrenable 0x8000005a MIE RHSC UE RD WDH

The WDH bit is set in both intrstatus and intrenable.  None of the 
other controllers show anything similar.  Therefore, in the absence of 
hardware bugs, this controller must be the one causing your problem.

You can test this by unbinding that controller from the ohci-hcd 
driver:

	echo 0000:00:13.1 >/sys/bus/pci/drivers/ohci_hcd/unbind

Do this before the IRQ error occurs, and see if you get another error.
If you do, get another copy of those "register" files as quickly
afterwards as you can.

That's the controller for bus 4, which has one of the webcams.  If you 
prefer, you could simply unplug the webcam from bus 4 instead; the end 
result should be the same.  (Or even unplug both webcams...)

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux