Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753800AbZAFCf3 (ORCPT ); Mon, 5 Jan 2009 21:35:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751532AbZAFCfM (ORCPT ); Mon, 5 Jan 2009 21:35:12 -0500 Received: from cn.fujitsu.com ([222.73.24.84]:63114 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751286AbZAFCfK (ORCPT ); Mon, 5 Jan 2009 21:35:10 -0500 Message-ID: <4962C322.8000201@cn.fujitsu.com> Date: Tue, 06 Jan 2009 10:34:10 +0800 From: Li Zefan User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: David Miller CC: LKML , netdev@vger.kernel.org Subject: [BUG] INFO: inconsistent lock state Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3429 Lines: 82 I am using Linus' tree, and the top commit is: commit fe0bdec68b77020281dc814805edfe594ae89e0f Merge: 099e657... 5af75d8... Author: Linus Torvalds Date: Sun Jan 4 16:32:11 2009 -0800 Merge branch 'audit.b61' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit-current don't know how I triggered this, and not sure whom to CC, network related? ================================= [ INFO: inconsistent lock state ] 2.6.28 #483 --------------------------------- inconsistent {softirq-on-W} -> {in-softirq-W} usage. swapper/0 [HC0[0]:SC1[1]:HE1:SE0] takes: (&fbc->lock){-+..}, at: [] __percpu_counter_add+0x52/0x7a {softirq-on-W} state was registered at: [] __lock_acquire+0x539/0x700 [] lock_acquire+0x5d/0x7a [] _spin_lock+0x20/0x2f [] __percpu_counter_add+0x52/0x7a [] get_empty_filp+0x97/0x135 [] path_lookup_open+0x23/0x7a [] do_filp_open+0xa7/0x659 [] do_sys_open+0x49/0xbe [] sys_open+0x23/0x2b [] syscall_call+0x7/0xb [] 0xffffffff irq event stamp: 3606392 hardirqs last enabled at (3606392): [] _spin_unlock_irqrestore+0x3b/0x41 hardirqs last disabled at (3606391): [] _spin_lock_irqsave+0x14/0x39 softirqs last enabled at (3606338): [] __do_softirq+0x135/0x13d softirqs last disabled at (3606369): [] do_softirq+0x6a/0xc0 other info that might help us debug this: 4 locks held by swapper/0: #0: (rcu_read_lock){..--}, at: [] net_rx_action+0x57/0x194 #1: (rcu_read_lock){..--}, at: [] netif_receive_skb+0x123/0x2c3 #2: (rcu_read_lock){..--}, at: [] ip_local_deliver+0x4b/0x119 #3: (slock-AF_INET/1){-+..}, at: [] tcp_v4_rcv+0x237/0x50f stack backtrace: Pid: 0, comm: swapper Not tainted 2.6.28-mc #483 Call Trace: [] print_usage_bug+0x155/0x161 [] mark_lock+0x34b/0x905 [] __lock_acquire+0x4c1/0x700 [] lock_acquire+0x5d/0x7a [] ? __percpu_counter_add+0x52/0x7a [] _spin_lock+0x20/0x2f [] ? __percpu_counter_add+0x52/0x7a [] __percpu_counter_add+0x52/0x7a [] tcp_v4_destroy_sock+0x15d/0x165 [] inet_csk_destroy_sock+0x8c/0xbd [] tcp_done+0x5e/0x61 [] tcp_rcv_state_process+0x7b9/0x8ad [] ? tcp_v4_rcv+0x237/0x50f [] tcp_v4_do_rcv+0x138/0x17d [] tcp_v4_rcv+0x4c8/0x50f [] ip_local_deliver+0x9c/0x119 [] ip_rcv+0x40b/0x452 [] netif_receive_skb+0x27d/0x2c3 [] rtl8169_rx_interrupt+0x2de/0x39a [r8169] [] rtl8169_poll+0x34/0x155 [r8169] [] net_rx_action+0xc2/0x194 [] __do_softirq+0x8a/0x13d [] ? __do_softirq+0x0/0x13d [] ? handle_fasteoi_irq+0x0/0xb5 [] ? irq_exit+0x49/0x77 [] ? do_IRQ+0xb3/0xcc [] ? common_interrupt+0x2c/0x34 [] ? hrtimer_get_next_event+0x55/0xc0 [] ? mwait_idle+0x41/0x4c [] ? cpu_idle+0x78/0x91 [] ? start_secondary+0x193/0x198 -- 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/