Re: linux-next: WARNING: at kernel/lockdep.c:2680 check_flags+0x98/0x151()

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Kevin Winchester <kjwinchester@...>
Cc: Ingo Molnar <mingo@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Tuesday, June 3, 2008 - 4:53 am

On Mon, 2008-06-02 at 20:47 -0300, Kevin Winchester wrote:


You are correct - someone did sti but failed to call
trace_hardirqs_on(). Frequently its possible to isolate the code from
knowing the last recorded event:

[   12.886137] irq event stamp: 20
[   12.886137] hardirqs last disabled at (20): [<ffffffff80248565>] trace_hardirqs_off+0xd/0xf

However your compilation seems to have lost the caller IP:

void trace_hardirqs_off(void)
{
        trace_hardirqs_off_caller(CALLER_ADDR0);
}
EXPORT_SYMBOL(trace_hardirqs_off);

So that is of little help here. (Not sure how that happened, nor how you
could fix that - perhaps turn on some debugging knobs like build with
debug info etc..)



That is a possibility yes - if you can find the offending patch it
should be relatively straight forward to find the offending sti.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: linux-next: WARNING: at kernel/lockdep.c:2680 check_flag..., Peter Zijlstra, (Tue Jun 3, 4:53 am)