Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754222AbYGYGU7 (ORCPT ); Fri, 25 Jul 2008 02:20:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751774AbYGYGUt (ORCPT ); Fri, 25 Jul 2008 02:20:49 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:32847 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750918AbYGYGUs (ORCPT ); Fri, 25 Jul 2008 02:20:48 -0400 Date: Fri, 25 Jul 2008 08:20:09 +0200 From: Ingo Molnar To: David Miller Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Ed L. Cashin" , Jens Axboe , Mike Miller , Peter Zijlstra , "Rafael J. Wysocki" Subject: [lockdep warning] AOE / networking: aoenet_xmit: noop_qdisc.q.lock, INFO: inconsistent lock state at 0000000000000370 Message-ID: <20080725062009.GA6476@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080721.134608.75595942.davem@davemloft.net> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3455 Lines: 81 not sure whether it got reported already, but -tip testing triggered this new ATA over Ethernet lockdep warning on latest -git: ================================= [ INFO: inconsistent lock state ] 2.6.26-tip-00346-gb4d3941-dirty #13925 --------------------------------- inconsistent {softirq-on-W} -> {in-softirq-W} usage. swapper/0 [HC0[0]:SC1[2]:HE1:SE0] takes: (noop_qdisc.q.lock){-+..}, at: [] dev_queue_xmit+0xd8/0x520 {softirq-on-W} state was registered at: [] __lock_acquire+0x3a7/0x10e0 [] lock_acquire+0x57/0x80 [] _spin_lock+0x2a/0x40 [] shutdown_scheduler_queue+0x3f/0x60 [] dev_shutdown+0x41/0x90 [] rollback_registered+0x6a/0x100 [] unregister_netdevice+0x22/0x80 [] ieee80211_register_hw+0x2ec/0x3b0 [] init_mac80211_hwsim+0x1bc/0x370 [] do_one_initcall+0x45/0x180 [] kernel_init+0x1d5/0x2f0 [] child_rip+0xa/0x11 [] 0xffffffffffffffff irq event stamp: 326488 hardirqs last enabled at (326488): [] trace_hardirqs_on+0xd/0x10 hardirqs last disabled at (326487): [] trace_hardirqs_off+0xd/0x10 softirqs last enabled at (326450): [] __do_softirq+0x102/0x120 softirqs last disabled at (326461): [] call_softirq+0x1c/0x30 other info that might help us debug this: 1 lock held by swapper/0: #0: (rcu_read_lock){..--}, at: [] dev_queue_xmit+0x5b/0x520 stack backtrace: Pid: 0, comm: swapper Not tainted 2.6.26-tip-00346-gb4d3941-dirty #13925 Call Trace: [] print_usage_bug+0x18b/0x190 [] mark_lock+0x517/0x570 [] __lock_acquire+0x35e/0x10e0 [] ? trace_hardirqs_on_caller+0x7b/0xd0 [] lock_acquire+0x57/0x80 [] ? dev_queue_xmit+0xd8/0x520 [] _spin_lock+0x2a/0x40 [] ? dev_queue_xmit+0x5b/0x520 [] dev_queue_xmit+0xd8/0x520 [] aoenet_xmit+0x2f/0x40 [] aoecmd_cfg+0x140/0x170 [] ? discover_timer+0x0/0x110 [] discover_timer+0x9a/0x110 [] run_timer_softirq+0x20b/0x250 [] __do_softirq+0x94/0x120 [] ? clockevents_program_event+0x5d/0x90 [] call_softirq+0x1c/0x30 [] do_softirq+0x6a/0xa0 [] irq_exit+0x99/0xb0 [] smp_apic_timer_interrupt+0x92/0xd0 [] apic_timer_interrupt+0x6b/0x70 [] ? mwait_idle+0x4c/0x60 [] ? mwait_idle+0x43/0x60 [] ? cpu_idle+0xa1/0x110 [] ? start_secondary+0x150/0x1a0 with this config: http://redhat.com/~mingo/misc/log-Fri_Jul_25_06_07_52_CEST_2008.bad full bootlog: http://redhat.com/~mingo/misc/config-Fri_Jul_25_06_07_52_CEST_2008.bad i suspect this too is about the changed locking dependencies. Ingo -- 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/