Re: enable_irq() unbalanced from 00000005

MOLNAR Ingo (mingo@chiara.csoma.elte.hu)
Tue, 2 Feb 1999 22:58:11 +0100 (CET)


On Tue, 2 Feb 1999, Andrea Arcangeli wrote:

> > vd> What does it mean :
> > vd> enable_irq() unbalanced from 00000005
> > vd> ?
>
> No a module it would be seen as an address of 0xc???????

nope, the thing is that irq.c is being compiled with -fomit-frame-pointer,
which breaks __builtin_return_address(0).

> case 0:
> - printk("enable_irq() unbalanced from %p\n",
> + printk("enable_irq(%d) unbalanced from %p\n", irq,
> __builtin_return_address(0));
> }

no, he should try something like:

printk(enable_irq() unbalanced from %p\n",
__builtin_return_address(0));
+ show("unbalanced irq");

which will show us the strack trace without crashing the process.

-- mingo

-
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/