Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752501AbZAFNxs (ORCPT ); Tue, 6 Jan 2009 08:53:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751590AbZAFNxf (ORCPT ); Tue, 6 Jan 2009 08:53:35 -0500 Received: from mx2.redhat.com ([66.187.237.31]:52449 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750972AbZAFNxe (ORCPT ); Tue, 6 Jan 2009 08:53:34 -0500 Message-ID: <49636252.2080404@redhat.com> Date: Tue, 06 Jan 2009 14:53:22 +0100 From: Zdenek Kabelac Organization: Red Hat User-Agent: Thunderbird 2.0.0.18 (X11/20081119) MIME-Version: 1.0 To: Li Zefan CC: David Miller , LKML , netdev@vger.kernel.org Subject: Re: [BUG] INFO: inconsistent lock state References: <4962C322.8000201@cn.fujitsu.com> <49633005.5080305@redhat.com> <4963319D.8040204@cn.fujitsu.com> In-Reply-To: <4963319D.8040204@cn.fujitsu.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4632 Lines: 110 Li Zefan napsal(a): > Zdenek Kabelac wrote: >> Li Zefan napsal(a): >>> 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? >>> >> I've got the similar one too: http://lkml.org/lkml/2009/1/3/55 >> > > So your box freezed and can do nothing but reset ? > > I was much luckier that this bug didn't do any harm to my box. :) And here is another one slightly different: ================================= [ INFO: inconsistent lock state ] 2.6.28 #103 --------------------------------- inconsistent {softirq-on-W} -> {in-softirq-W} usage. S20sendsigs/2307 [HC0[0]:SC1[1]:HE1:SE0] takes: (&fbc->lock){-+..}, at: [] __percpu_counter_add+0x58/0x80 {softirq-on-W} state was registered at: [] __lock_acquire+0x3ac/0x1280 [] lock_acquire+0x91/0xc0 [] _spin_lock+0x31/0x70 [] __percpu_counter_sum+0x15/0x80 [] ext3_statfs+0x71/0x1a0 [] vfs_statfs+0x74/0x90 [] compat_sys_statfs64+0x7b/0xb0 [] sysenter_dispatch+0x7/0x2c [] 0xffffffffffffffff irq event stamp: 108 hardirqs last enabled at (108): [] _spin_unlock_irqrestore+0x43/0x70 hardirqs last disabled at (107): [] _spin_lock_irqsave+0x20/0x90 softirqs last enabled at (0): [] copy_process+0x30d/0x13d0 softirqs last disabled at (73): [] call_softirq+0x1c/0x50 other info that might help us debug this: 6 locks held by S20sendsigs/2307: #0: (&mm->mmap_sem){----}, at: [] do_page_fault+0x122/0xa70 #1: (__pte_lockptr(page)){--..}, at: [] __do_fault+0x16d/0x420 #2: (rcu_read_lock){..--}, at: [] net_rx_action+0x102/0x290 #3: (rcu_read_lock){..--}, at: [] netif_receive_skb+0x100/0x400 #4: (rcu_read_lock){..--}, at: [] ip_local_deliver_finish+0x40/0x260 #5: (slock-AF_INET/1){-+..}, at: [] tcp_v4_rcv+0x59e/0x840 stack backtrace: Pid: 2307, comm: S20sendsigs Not tainted 2.6.28 #103 Call Trace: [] print_usage_bug+0x17d/0x190 [] mark_lock+0x523/0x840 [] __lock_acquire+0x525/0x1280 [] lock_acquire+0x91/0xc0 [] ? __percpu_counter_add+0x58/0x80 [] _spin_lock+0x31/0x70 [] ? __percpu_counter_add+0x58/0x80 [] ? trace_hardirqs_on+0xd/0x10 [] __percpu_counter_add+0x58/0x80 [] tcp_v4_destroy_sock+0x23d/0x260 [] inet_csk_destroy_sock+0x52/0x140 [] tcp_done+0x46/0x80 [] tcp_time_wait+0x70/0x230 [] tcp_fin+0x117/0x200 [] tcp_data_queue+0x261/0xd10 [] ? mod_timer+0x4b/0x60 [] tcp_rcv_state_process+0x6b9/0xa50 [] tcp_v4_do_rcv+0xb0/0x240 [] ? _spin_lock_nested+0x5b/0x70 [] tcp_v4_rcv+0x5be/0x840 [] ip_local_deliver_finish+0x113/0x260 [] ? ip_local_deliver_finish+0x40/0x260 [] ip_local_deliver+0x8d/0xa0 [] ip_rcv_finish+0x133/0x390 [] ip_rcv+0x263/0x2f0 [] netif_receive_skb+0x30a/0x400 [] ? netif_receive_skb+0x100/0x400 [] ? nommu_map_single+0x0/0xa0 [] cp_rx_poll+0x2ac/0x410 [8139cp] [] net_rx_action+0x17f/0x290 [] ? net_rx_action+0x102/0x290 [] __do_softirq+0x9c/0x180 [] call_softirq+0x1c/0x50 [] do_softirq+0x75/0xc0 [] irq_exit+0x95/0xa0 [] do_IRQ+0xba/0x1b0 [] ret_from_intr+0x0/0xf Zdenek -- 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/