2.6.36-git4 -- BUG: looking up invalid subclass: 31 -- turning off the locking correctness validator.

Previous thread: [PATCH 4/4] Coccinelle: Add contextual message by Nicolas Palix on Sunday, October 24, 2010 - 2:37 pm. (1 message)

Next thread: Weird sound issue on 2.6.36 by Felipe Contreras on Sunday, October 24, 2010 - 3:07 pm. (1 message)
From: Miles Lane
Date: Sunday, October 24, 2010 - 3:00 pm

BUG: looking up invalid subclass: 31
turning off the locking correctness validator.
Pid: 1, comm: swapper Not tainted 2.6.36-git4 #3
Call Trace:
 [<ffffffff810634a7>] look_up_lock_class+0x66/0xe6
 [<ffffffff81063940>] register_lock_class+0x1e/0x30e
 [<ffffffff81062d07>] ? trace_hardirqs_on+0xd/0xf
 [<ffffffff81064f70>] lockdep_init_map+0xf9/0x10c
 [<ffffffff812a949b>] mousedev_create+0xb3/0x1e7
 [<ffffffff816a2afe>] ? mousedev_init+0x0/0x62
 [<ffffffff816a2b1a>] mousedev_init+0x1c/0x62
 [<ffffffff81000336>] do_one_initcall+0x7a/0x130
 [<ffffffff8167ad1e>] kernel_init+0x148/0x1d2
 [<ffffffff81003854>] kernel_thread_helper+0x4/0x10
 [<ffffffff8102ea4f>] ? finish_task_switch+0x3f/0x9a
 [<ffffffff813619c0>] ? restore_args+0x0/0x30
 [<ffffffff8167abd6>] ? kernel_init+0x0/0x1d2
 [<ffffffff81003850>] ? kernel_thread_helper+0x0/0x10

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.36-git4
# Sat Oct 23 18:02:05 2010
#
CONFIG_64BIT=y
# CONFIG_X86_32 is not set
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_MMU=y
CONFIG_ZONE_DMA=y
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_NEED_SG_DMA_LENGTH=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not ...
From: Dmitry Torokhov
Date: Monday, October 25, 2010 - 12:56 am

Hi Miles,


This should be fixed by:

commit f74eef95e33a07379aa2b950c7f313cbfd55ebbe
Author: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Date:   Wed Oct 13 11:35:40 2010 -0700

    Input: mousedev - correct lockdep annotation
    
    When annotating mutex to avoid false lockdep reports we should not
    be using MOUSEDEV_MIX as lock subclass but rather SINGLE_DEPTH_NESTING.
    
    Signed-off-by: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
    Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

once Linus pulls from my tree.

Thanks.

-- 
Dmitry
--

Previous thread: [PATCH 4/4] Coccinelle: Add contextual message by Nicolas Palix on Sunday, October 24, 2010 - 2:37 pm. (1 message)

Next thread: Weird sound issue on 2.6.36 by Felipe Contreras on Sunday, October 24, 2010 - 3:07 pm. (1 message)