Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756959AbZKDQM0 (ORCPT ); Wed, 4 Nov 2009 11:12:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756451AbZKDQMZ (ORCPT ); Wed, 4 Nov 2009 11:12:25 -0500 Received: from lennier.cc.vt.edu ([198.82.162.213]:37442 "EHLO lennier.cc.vt.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756199AbZKDQMY (ORCPT ); Wed, 4 Nov 2009 11:12:24 -0500 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Andrew Morton , Thomas Gleixner Cc: linux-kernel@vger.kernel.org Subject: 2.6.32-rc5-mmotm1101 - lockdep whinge during early boot From: Valdis.Kletnieks@vt.edu Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1257351084_3622P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Wed, 04 Nov 2009 11:11:24 -0500 Message-ID: <6417.1257351084@turing-police.cc.vt.edu> X-Mirapoint-Received-SPF: 128.173.14.107 turing-police.cc.vt.edu Valdis.Kletnieks@vt.edu 2 pass X-Mirapoint-IP-Reputation: reputation=neutral-1, source=Fixed, refid=n/a, actions=MAILHURDLE SPF TAG X-Junkmail-Info: (0) X-Junkmail-Status: score=10/50, host=vivi.cc.vt.edu X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A020207.4AF1A7AD.0115,ss=1,fgs=0, ip=0.0.0.0, so=2009-07-29 21:33:33, dmn=2009-09-10 00:05:08, mode=multiengine X-Junkmail-IWF: false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 7458 Lines: 138 --==_Exmh_1257351084_3622P Content-Type: text/plain; charset=us-ascii Am seeing this at boot: [ 0.344028] Switching to clocksource hpet [ 0.344114] [ 0.344115] ======================================================= [ 0.344125] [ INFO: possible circular locking dependency detected ] [ 0.344133] 2.6.32-rc5-mmotm1101 #2 [ 0.344139] ------------------------------------------------------- [ 0.344147] swapper/1 is trying to acquire lock: [ 0.344154] (cpu_add_remove_lock){+.+.+.}, at: [] cpu_maps_update_begin+0x12/0x14 [ 0.344174] [ 0.344175] but task is already holding lock: [ 0.344183] (setup_lock){+.+.+.}, at: [] stop_machine_create+0x12/0x9b [ 0.344200] [ 0.344201] which lock already depends on the new lock. [ 0.344202] [ 0.344212] [ 0.344213] the existing dependency chain (in reverse order) is: [ 0.344222] [ 0.344223] -> #3 (setup_lock){+.+.+.}: [ 0.344235] [] __lock_acquire+0xb31/0xcd9 [ 0.344246] [] lock_acquire+0xcb/0xe8 [ 0.344255] [] __mutex_lock_common+0x5c/0x5aa [ 0.344268] [] mutex_lock_nested+0x34/0x39 [ 0.344278] [] stop_machine_create+0x12/0x9b [ 0.344289] [] stop_machine+0x1b/0x4e [ 0.344298] [] timekeeping_notify+0x1e/0x25 [ 0.344310] [] clocksource_select+0xbd/0xc5 [ 0.344320] [] clocksource_done_booting+0x28/0x38 [ 0.344333] [] do_one_initcall+0x59/0x14e [ 0.344344] [] kernel_init+0x15f/0x1b5 [ 0.344355] [] child_rip+0xa/0x20 [ 0.344366] [ 0.344366] -> #2 (clocksource_mutex){+.+.+.}: [ 0.344378] [] __lock_acquire+0xb31/0xcd9 [ 0.344388] [] lock_acquire+0xcb/0xe8 [ 0.344398] [] __mutex_lock_common+0x5c/0x5aa [ 0.344408] [] mutex_lock_nested+0x34/0x39 [ 0.344419] [] clocksource_change_rating+0x1b/0x37 [ 0.344430] [] mark_tsc_unstable+0x3f/0x4d [ 0.344440] [] check_tsc_sync_source+0xc8/0x10d [ 0.344451] [] native_cpu_up+0xfb/0x13e [ 0.344461] [] _cpu_up+0xa8/0x14a [ 0.344471] [] cpu_up+0x5b/0x68 [ 0.344480] [] kernel_init+0xc5/0x1b5 [ 0.344490] [] child_rip+0xa/0x20 [ 0.344499] [ 0.344500] -> #1 (cpu_hotplug.lock){+.+.+.}: [ 0.344512] [] __lock_acquire+0xb31/0xcd9 [ 0.344522] [] lock_acquire+0xcb/0xe8 [ 0.344531] [] __mutex_lock_common+0x5c/0x5aa [ 0.344542] [] mutex_lock_nested+0x34/0x39 [ 0.344552] [] cpu_hotplug_begin+0x27/0x68 [ 0.344562] [] _cpu_up+0x58/0x14a [ 0.344572] [] cpu_up+0x5b/0x68 [ 0.344581] [] kernel_init+0xc5/0x1b5 [ 0.344591] [] child_rip+0xa/0x20 [ 0.344600] [ 0.344601] -> #0 (cpu_add_remove_lock){+.+.+.}: [ 0.344613] [] __lock_acquire+0x9db/0xcd9 [ 0.344623] [] lock_acquire+0xcb/0xe8 [ 0.344632] [] __mutex_lock_common+0x5c/0x5aa [ 0.344643] [] mutex_lock_nested+0x34/0x39 [ 0.344653] [] cpu_maps_update_begin+0x12/0x14 [ 0.344664] [] __create_workqueue_key+0x146/0x1f4 [ 0.344675] [] stop_machine_create+0x3a/0x9b [ 0.344686] [] stop_machine+0x1b/0x4e [ 0.344696] [] timekeeping_notify+0x1e/0x25 [ 0.344706] [] clocksource_select+0xbd/0xc5 [ 0.344716] [] clocksource_done_booting+0x28/0x38 [ 0.344727] [] do_one_initcall+0x59/0x14e [ 0.344737] [] kernel_init+0x15f/0x1b5 [ 0.344747] [] child_rip+0xa/0x20 [ 0.344756] [ 0.344757] other info that might help us debug this: [ 0.344758] [ 0.344769] 2 locks held by swapper/1: [ 0.344774] #0: (clocksource_mutex){+.+.+.}, at: [] clocksource_done_booting+0x23/0x38 [ 0.344792] #1: (setup_lock){+.+.+.}, at: [] stop_machine_create+0x12/0x9b [ 0.344809] [ 0.344810] stack backtrace: [ 0.344820] Pid: 1, comm: swapper Not tainted 2.6.32-rc5-mmotm1101 #2 [ 0.344829] Call Trace: [ 0.344837] [] print_circular_bug+0xa8/0xb7 [ 0.344847] [] __lock_acquire+0x9db/0xcd9 [ 0.344857] [] ? cpu_maps_update_begin+0x12/0x14 [ 0.344867] [] lock_acquire+0xcb/0xe8 [ 0.344876] [] ? cpu_maps_update_begin+0x12/0x14 [ 0.344887] [] __mutex_lock_common+0x5c/0x5aa [ 0.344896] [] ? cpu_maps_update_begin+0x12/0x14 [ 0.344906] [] ? mutex_unlock+0x9/0xb [ 0.344916] [] ? pcpu_alloc+0x80c/0x826 [ 0.344926] [] ? cpu_maps_update_begin+0x12/0x14 [ 0.344936] [] ? kmem_cache_alloc+0xbb/0x183 [ 0.344946] [] ? trace_hardirqs_on_caller+0x118/0x13c [ 0.344956] [] mutex_lock_nested+0x34/0x39 [ 0.344966] [] cpu_maps_update_begin+0x12/0x14 [ 0.344976] [] __create_workqueue_key+0x146/0x1f4 [ 0.344986] [] ? change_clocksource+0x0/0x5b [ 0.344996] [] stop_machine_create+0x3a/0x9b [ 0.344999] [] stop_machine+0x1b/0x4e [ 0.344999] [] timekeeping_notify+0x1e/0x25 [ 0.344999] [] clocksource_select+0xbd/0xc5 [ 0.344999] [] ? clocksource_done_booting+0x0/0x38 [ 0.344999] [] clocksource_done_booting+0x28/0x38 [ 0.344999] [] do_one_initcall+0x59/0x14e [ 0.344999] [] kernel_init+0x15f/0x1b5 [ 0.344999] [] child_rip+0xa/0x20 [ 0.344999] [] ? restore_args+0x0/0x30 [ 0.344999] [] ? kernel_init+0x0/0x1b5 [ 0.344999] [] ? child_rip+0x0/0x20 [ 0.345393] Warning: could not register annotated branches stats [ 0.349818] pnp: PnP ACPI init [ 0.349843] ACPI: bus type pnp registered --==_Exmh_1257351084_3622P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Exmh version 2.5 07/13/2001 iD8DBQFK8aescC3lWbTT17ARAgVpAJ49foKwpoxQwkrLtl/Pw6nRH3kK9ACfTxxK iuIhdcXDW/1fyDr4TCBwGaM= =8Txj -----END PGP SIGNATURE----- --==_Exmh_1257351084_3622P-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/