All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alan Stern <stern@rowland.harvard.edu>
To: Clemens Ladisch <clemens@ladisch.de>
Cc: linux-usb@vger.kernel.org, Udo van den Heuvel <udovdh@xs4all.nl>,
	Simon Jones <sijones2010@gmail.com>,
	<linux-kernel@vger.kernel.org>
Subject: Re: 3.4.4: disabling irq
Date: Mon, 9 Jul 2012 14:58:20 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.44L0.1207091451490.1954-100000@iolanthe.rowland.org> (raw)
In-Reply-To: <4FFAE2A5.2070701@ladisch.de>

On Mon, 9 Jul 2012, Clemens Ladisch wrote:

> (forwarded to linux-usb)
> 
> Udo van den Heuvel wrote:
> > Hello,
> >
> > One moment the box is runing OK.
> > One moment the 3.4.4 kernel decides to disable an interrupt.
> > Why?

The kernel disables IRQs when too many interrupts arrive too quickly.  
In general that means some device is generating an interrupt request
and it isn't getting handled by any driver.

> > Jul  8 07:43:49 box3 ntpd[5067]: parse: convert_rawdcf: INCOMPLETE DATA - time code only has 1 bits
> > Jul  8 07:44:53 box3 kernel: irq 18: nobody cared (try booting with the "irqpoll" option)
> > Jul  8 07:44:53 box3 kernel: Pid: 1501, comm: irq/18-ohci_hcd Tainted: G        W    3.4.4 #1

> ... and, with apparently the same mainboard:
> 
> Simon Jones wrote:
> > Hi,
> >
> > Am not sure where to start with getting help on an issue.
> >
> > Since buying my motherboard i have found the usb ports are pretty
> > unstable, and some devices work on usb2 some on usb3, after a while i
> > managed to work out which will work where and it's reasonably stable
> > now.
> >
> > Am on kernel 3.2.16 and tonight i thought i would try 3.4.4, it's all
> > been compiled and seemed fine until i ran mythtv and couldn't get a
> > smooth picture, then the tuner stopped responding and when looking in
> > to the logs it appears IRQ18 assigned to the usb chipset gets disabled
> > from what i can tell, it also causes a crash.
> >
> > Motherboard is Gigabyte GA-990XA-UD3
> > CPU is AMD Bulldozer 6 Core version
> >
> > I'll attach the 2 dmesg logs, one from 3.2 and other from 3.4,
> > hopefully someone can see what's wrong, there is a suggestion to boot
> > with irqpoll, but really wanted someone's opinion on this.

Simon's log shows a large of number of devices all using the same IRQ.  
A good place to start would be to unload or unbind the drivers for some
or all of the devices -- if that can be done before the IRQ is
disabled.  Maybe it will turn out that an individual device is
responsible for the problem.

Another possibility is that some other device is using that IRQ line 
without the kernel's knowledge.  That's not an easy sort of thing to 
track down, though.

In general, how easy is it to reproduce these problems?  Does the IRQ 
line always get disabled after the system has been up for a few 
seconds?

If it does, and if the problem is caused by a software change, git 
bisection might be the easiest way to track it down.

Alan Stern


  parent reply	other threads:[~2012-07-09 18:58 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-08  7:53 3.4.4: disabling irq Udo van den Heuvel
2012-07-09 13:54 ` Clemens Ladisch
2012-07-09 16:05   ` Udo van den Heuvel
2012-07-09 18:58   ` Alan Stern [this message]
2012-07-11 14:50   ` Udo van den Heuvel
2012-07-11 15:15     ` Alan Stern
2012-07-12 13:23       ` Udo van den Heuvel
2012-07-12 13:43         ` Jan Ceuleers
2012-07-12 14:02           ` Udo van den Heuvel
2012-07-12 14:54             ` Alan Stern
2012-07-15 14:28               ` Udo van den Heuvel
2012-07-15 14:36                 ` Udo van den Heuvel
2012-07-15 15:35                 ` Alan Stern
2012-07-15 15:55                   ` Udo van den Heuvel
2012-07-15 15:57                     ` Udo van den Heuvel
2012-07-15 18:28                     ` Alan Stern
2012-11-04 10:31                       ` Udo van den Heuvel
2012-11-17 12:35                       ` Udo van den Heuvel
2012-11-19 16:41                         ` Alan Stern
2012-11-19 16:47                           ` Udo van den Heuvel
2012-11-20 14:41                           ` Udo van den Heuvel
2012-11-20 16:14                             ` Alan Stern
2012-12-01  8:52                           ` Udo van den Heuvel
2012-12-01 16:54                             ` Alan Stern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.44L0.1207091451490.1954-100000@iolanthe.rowland.org \
    --to=stern@rowland.harvard.edu \
    --cc=clemens@ladisch.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=sijones2010@gmail.com \
    --cc=udovdh@xs4all.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.