From: Ben Hutchings <ben@decadent.org.uk>
To: linux-ide@vger.kernel.org
Cc: 590327@bugs.debian.org, Jan Echternach <jan@goneko.de>
Subject: Re: Bug#590327: linux-image-2.6.32-5-amd64: Unbalanced enable for IRQ 19
Date: Wed, 07 Sep 2011 05:16:01 +0100 [thread overview]
Message-ID: <1315368967.3092.430.camel@deadeye> (raw)
In-Reply-To: <20110731184933.GA2442@goneko.de>
[-- Attachment #1: Type: text/plain, Size: 1796 bytes --]
Jan Echternach reported that on his system it8213 provokes the warning
"Unbalanced enable for IRQ 19" when probed at boot time.
The previous messages are logged at <http://bugs.debian.org/590327>.
On Sun, 2011-07-31 at 20:49 +0200, Jan Echternach wrote:
> On Fri, Jul 29, 2011 at 05:18:48PM +0200, Moritz Mühlenhoff wrote:
> > Does this still occur with current kernels?
>
> Yes. Here's a warning from kernel version 3.0.0-1:
>
> [ 1.984004] ------------[ cut here ]------------
> [ 1.984009] WARNING: at /build/buildd-linux-2.6_3.0.0-1-i386-ML66CU/linux-2.6-3.0.0/debian/build/source_i386_none/kernel/irq/manage.c:421 enable_irq+0x50/0x69()
> [ 1.984011] Hardware name: EP45T-EXTREME
> [ 1.984012] Unbalanced enable for IRQ 19
[...]
In the the list of PCI devices in the original report, I see:
> 00:1d.1 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2 [8086:3a35] (prog-if 00 [UHCI])
[...]
> Interrupt: pin B routed to IRQ 19
[...]
> 05:07.0 IDE interface [0101]: Integrated Technology Express, Inc. IT8213 IDE Controller [1283:8213] (prog-if 85 [Master SecO PriO])
[...]
> Interrupt: pin A routed to IRQ 19
This is somewhat unusual in that the IDE controller will be sharing its
IRQ, but that's supposed to work.
However, the IDE core attempts to disable and enable the IRQ *before* it
allocates it. If the UHCI driver then allocates the IRQ in the middle
of this, the IRQ manager will reset the disable count since the IRQ is
not yet shared!
This might be fixable by changing the IDE core to allocate the IRQ with
a dummy interrupt handler while probing.
Aside from that, maybe pata_it8213 is ready as a replacement for it8213
now? (Kconfig still labels it as EXPERIMENTAL.)
Ben.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
next parent reply other threads:[~2011-09-07 4:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20100725223004.5262.16774.reportbug@localhost>
[not found] ` <1280422961.13192.287.camel@localhost>
[not found] ` <20100730000715.GA6666@goneko.de>
[not found] ` <20110729151848.GA24689@pisco.westfalen.local>
[not found] ` <20110731184933.GA2442@goneko.de>
2011-09-07 4:16 ` Ben Hutchings [this message]
2011-09-07 4:39 ` Bug#590327: linux-image-2.6.32-5-amd64: Unbalanced enable for IRQ 19 David Miller
2011-09-07 4:58 ` Ben Hutchings
2011-09-07 5:16 ` David Miller
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=1315368967.3092.430.camel@deadeye \
--to=ben@decadent.org.uk \
--cc=590327@bugs.debian.org \
--cc=jan@goneko.de \
--cc=linux-ide@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox