Re: 2.6.23-git8: Lock dependency engine debugging failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Peter,

On 10/16/07, Peter Zijlstra <[email protected]> wrote:
> On Mon, 2007-10-15 at 20:28 -0700, David Hubbard wrote:
> > I am not subscribed to LKML, so please CC me in replies. I am
> > reporting a regression when CONFIG_DEBUG_LOCKDEP is enabled in
> > 2.6.23-git8. The error occurs immediately before loading init.
> > Complete dmesg and kernel config are attached.
> >
> > [   28.528074] VFS: Mounted root (ext3 filesystem) readonly.
> > [   28.528090] Freeing unused kernel memory: 212k freed
> > [   28.537431] Write protecting the kernel read-only data: 1036k
> > [   28.622874] WARNING: at kernel/lockdep.c:2658 check_flags()
>
> Could you try if the below patch works for you?
>
> --
> Subject: lockdep: fix fault vs irq tracing
>
> Ensure we fixup the IRQ state before we hit any locking code.
>
> Signed-off-by: Peter Zijlstra <[email protected]>
> Signed-off-by: Ingo Molnar <[email protected]>
> ---
>  arch/x86/mm/fault_32.c |   10 ++++++++++
>  arch/x86/mm/fault_64.c |   10 ++++++++++
>  2 files changed, 20 insertions(+)

That fixed the problem.

Cheers!
David
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux