Bug#590327: linux-image-2.6.32-5-amd64: Unbalanced enable for IRQ 19
Package: linux-2.6
Version: 2.6.32-18
Severity: minor
I'm getting this warning for quite a while now, but not on every boot.
Stack traces below ide_pci_init_two differ slightly. I've also tried
the current experimental kernel, but the warning is still there (although
the stack trace is somewhat different).
-- Package-specific info:
** Version:
Linux version 2.6.32-5-amd64 (Debian 2.6.32-18) (ben@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-2) ) #1 SMP Sat Jul 24 03:54:06 UTC 2010
** Command line:
auto BOOT_IMAGE=debian root=/dev/mapper/vg--ogar--2009-root
05:07.0 IDE interface [0101]: Integrated Technology Express, Inc. IT8213 IDE Controller [1283:8213] (prog-if 85 [Master SecO PriO])
Subsystem: Giga-byte Technology Device [1458:b000]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0 (2000ns min, 2000ns max)
Interrupt: pin A routed to IRQ 19
Region 0: I/O ports at d200 [size=8]
Region 1: I/O ports at d300 [size=4]
Region 2: I/O ports at d400 [size=8]
Region 3: I/O ports at d500 [size=4]
Region 4: I/O ports at d600 [size=16]
Capabilities: <access denied>
Kernel driver in use: ITE8213_IDE
** USB devices:
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 046d:c025 Logitech, Inc. MX500 Optical Mouse
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages linux-image-2.6.32-5-amd64 depends on:
ii debconf [deb 1.5.24 Debian configuration management sy
ii initramfs-to 0.97.2 tools for generating an initramfs
ii linux-base 2.6.35~rc5-1~experimental.1 Linux image base package
ii module-init- 3.12-1 tools for managing Linux kernel mo
Versions of packages linux-image-2.6.32-5-amd64 recommends:
ii firmware-linux-free 2.6.32-18 Binary firmware for various driver
ii libc6-i686 2.11.2-2 GNU C Library: Shared libraries [i
Versions of packages linux-image-2.6.32-5-amd64 suggests:
ii lilo 1:22.8-8.1 LInux LOader - The Classic OS load
pn linux-doc-2.6.32 <none> (no description available)
Versions of packages linux-image-2.6.32-5-amd64 is related to:
pn firmware-bnx2 <none> (no description available)
pn firmware-bnx2x <none> (no description available)
pn firmware-ipw2x00 <none> (no description available)
pn firmware-ivtv <none> (no description available)
pn firmware-iwlwifi <none> (no description available)
ii firmware-linux 0.26 Binary firmware for various driver
ii firmware-linux-nonfree 0.26 Binary firmware for various driver
pn firmware-qlogic <none> (no description available)
pn firmware-ralink <none> (no description available)
pn xen-hypervisor <none> (no description available)
-- debconf information excluded
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100725223004.5262.16774.reportbug@localhost">htt p://lists.debian.org/20100725223004.5262.16774.reportbug@localhost
07-29-2010, 05:02 PM
Ben Hutchings
Bug#590327: linux-image-2.6.32-5-amd64: Unbalanced enable for IRQ 19
On Mon, 2010-07-26 at 00:30 +0200, Jan Echternach wrote:
> Package: linux-2.6
> Version: 2.6.32-18
> Severity: minor
>
> I'm getting this warning for quite a while now, but not on every boot.
> Stack traces below ide_pci_init_two differ slightly. I've also tried
> the current experimental kernel, but the warning is still there (although
> the stack trace is somewhat different).
[...]
Please report this bug upstream at <https://bugzilla.kernel.org> under
product 'IO/Storage' component 'IDE', including the stack trace from the
experimental kernel. Let us know the bug number or URL so that we can
track it.
Ben.
--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
07-30-2010, 12:07 AM
Jan Echternach
Bug#590327: linux-image-2.6.32-5-amd64: Unbalanced enable for IRQ 19
On Thu, Jul 29, 2010 at 06:02:41PM +0100, Ben Hutchings wrote:
> Let us know the bug number or URL so that we can track it.
https://bugzilla.kernel.org/show_bug.cgi?id=16481
--
Jan
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100730000715.GA6666@goneko.de">http://lists.debian.org/20100730000715.GA6666@goneko.de
07-29-2011, 03:18 PM
Moritz Mühlenhoff
Bug#590327: linux-image-2.6.32-5-amd64: Unbalanced enable for IRQ 19
On Fri, Jul 30, 2010 at 02:07:15AM +0200, Jan Echternach wrote:
> On Thu, Jul 29, 2010 at 06:02:41PM +0100, Ben Hutchings wrote:
> > Let us know the bug number or URL so that we can track it.
>
> https://bugzilla.kernel.org/show_bug.cgi?id=16481
Does this still occur with current kernels?
Cheers,
Moritz
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110729151848.GA24689@pisco.westfalen.local">http ://lists.debian.org/20110729151848.GA24689@pisco.westfalen.local
07-31-2011, 06:49 PM
Jan Echternach
Bug#590327: linux-image-2.6.32-5-amd64: Unbalanced enable for IRQ 19
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:
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110731184933.GA2442@goneko.de">http://lists.debian.org/20110731184933.GA2442@goneko.de
08-05-2011, 04:27 PM
Jonathan Nieder
Bug#590327: linux-image-2.6.32-5-amd64: Unbalanced enable for IRQ 19
found 590327 linux-2.6/3.0.0-1
retitle 590327 [it8213] linux: WARNING: Unbalanced enable for IRQ 19
quit
Hi,
Jan Echternach wrote:
> Yes. Here's a warning from kernel version 3.0.0-1:
Thanks. Marking accordingly.
I wonder if the pata_it8213 driver (CONFIG_PATA_IT8213) works
better.
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110805162737.GA6435@elie.gateway.2wire.net">http ://lists.debian.org/20110805162737.GA6435@elie.gateway.2wire.net
09-07-2011, 04:16 AM
Ben Hutchings
Bug#590327: linux-image-2.6.32-5-amd64: Unbalanced enable for IRQ 19
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.
09-07-2011, 04:39 AM
David Miller
Bug#590327: linux-image-2.6.32-5-amd64: Unbalanced enable for 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.)
I've known about this IDE layer problem for at least a year and any
fix is too risky to consider seriously.
Use the PATA drivers on modern systems, don't use the deprecated IDE
layer.
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110907.003931.1112417911793078586.davem@davemlof t.net">http://lists.debian.org/20110907.003931.1112417911793078586.davem@davemlof t.net
09-07-2011, 04:58 AM
Ben Hutchings
Bug#590327: linux-image-2.6.32-5-amd64: Unbalanced enable for IRQ 19
On Wed, 2011-09-07 at 00:39 -0400, David Miller wrote:
> From: Ben Hutchings <ben@decadent.org.uk>
> Date: Wed, 07 Sep 2011 05:16:01 +0100
>
> > 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.)
>
> I've known about this IDE layer problem for at least a year and any
> fix is too risky to consider seriously.
I had a suspicion that was the case.
> Use the PATA drivers on modern systems, don't use the deprecated IDE
> layer.
Well, I'm concerned with what to do in distro configurations which
aren't just for 'modern systems'. We already swapped over all the
drivers not labelled as experimental. With the rest, I worry that we'd
be exchanging obscure IDE drivers that mostly work for obscure libata
drivers that have had little if any testing. That strikes me as being
even more risky for the users with the old controllers.
I suppose that for those controllers where the libata driver is
experimental we could build both drivers, blacklist the IDE drivers and
let people override that if necessary. (And hope that most of the bugs
get shaken out of the libata drivers before we do a stable release,
because that is too ugly to keep doing for long.)
Ben.
09-07-2011, 05:16 AM
David Miller
Bug#590327: linux-image-2.6.32-5-amd64: Unbalanced enable for IRQ 19
> Well, I'm concerned with what to do in distro configurations which
> aren't just for 'modern systems'. We already swapped over all the
> drivers not labelled as experimental. With the rest, I worry that we'd
> be exchanging obscure IDE drivers that mostly work for obscure libata
> drivers that have had little if any testing. That strikes me as being
> even more risky for the users with the old controllers.
>
> I suppose that for those controllers where the libata driver is
> experimental we could build both drivers, blacklist the IDE drivers and
> let people override that if necessary. (And hope that most of the bugs
> get shaken out of the libata drivers before we do a stable release,
> because that is too ugly to keep doing for long.)
But for the cases these bugs are hitting these are systems the old
drivers never could have worked on, because of the IRQ sharing issue
with things like USB controllers.
I think your blacklisting idea probably makes the most sense.
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110907.011613.391683420146319494.davem@davemloft .net">http://lists.debian.org/20110907.011613.391683420146319494.davem@davemloft .net