Re: enable_irq() unbalanced from 00000005

Andrea Arcangeli (andrea@e-mind.com)
Tue, 2 Feb 1999 22:38:21 +0100 (CET)


On Tue, 2 Feb 1999, Michael Lausch wrote:

> >>>>> "vd" == Vladimir Dergachev <vdergach@sas.upenn.edu>
> >>>>> wrote the following on Tue, 2 Feb 1999 14:24:29 -0500 (EST)
>
> vd> What does it mean :
> vd> enable_irq() unbalanced from 00000005
> vd> ?
>
> vd> (non-SMP , 2.2.1, TX chipset, K6-233 )
>
> perhaps a enable_irq() call from a module which has been loaded?

No a module it would be seen as an address of 0xc???????

Which is your .config? Or can you show me a cat /proc/interrupts ?

Index: irq.c
===================================================================
RCS file: /var/cvs/linux/arch/i386/kernel/irq.c,v
retrieving revision 1.1.2.3
diff -u -r1.1.2.3 irq.c
--- irq.c 1999/02/01 17:20:31 1.1.2.3
+++ linux/arch/i386/kernel/irq.c 1999/02/02 21:36:22
@@ -747,7 +747,7 @@
irq_desc[irq].depth--;
break;
case 0:
- printk("enable_irq() unbalanced from %p\n",
+ printk("enable_irq(%d) unbalanced from %p\n", irq,
__builtin_return_address(0));
}
spin_unlock_irqrestore(&irq_controller_lock, flags);

Can you apply this patch and try to reproduce. This way you should see
which driver is doing that...

Andrea Arcangeli

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/