Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754752Ab0ARMLO (ORCPT ); Mon, 18 Jan 2010 07:11:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754592Ab0ARMLN (ORCPT ); Mon, 18 Jan 2010 07:11:13 -0500 Received: from lo.gmane.org ([80.91.229.12]:47649 "EHLO lo.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751469Ab0ARMLM (ORCPT ); Mon, 18 Jan 2010 07:11:12 -0500 X-Injected-Via-Gmane: http://gmane.org/ To: linux-kernel@vger.kernel.org From: Marcus Better Subject: NTFS: inconsistent lock state Followup-To: gmane.linux.kernel Date: Mon, 18 Jan 2010 13:10:34 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: rain.gmane.org User-Agent: KNode/4.3.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 6359 Lines: 89 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I got this a couple of times with 2.6.31.6 and 2.6.32.3, with a read-only NTFS partition. Jan 17 18:08:57 better kernel: ================================= Jan 17 18:08:57 better kernel: [ INFO: inconsistent lock state ] Jan 17 18:08:57 better kernel: 2.6.32.3-melech #4 Jan 17 18:08:57 better kernel: --------------------------------- Jan 17 18:08:57 better kernel: inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-W} usage. Jan 17 18:08:57 better kernel: kswapd0/294 [HC0[0]:SC0[0]:HE1:SE1] takes: Jan 17 18:08:57 better kernel: (&rl->lock){++++?.}, at: [] __ntfs_clear_inode+0x19/0x150 [ntfs] Jan 17 18:08:57 better kernel: {RECLAIM_FS-ON-W} state was registered at: Jan 17 18:08:57 better kernel: [] mark_held_locks+0x6c/0x90 Jan 17 18:08:57 better kernel: [] lockdep_trace_alloc+0xc5/0xd0 Jan 17 18:08:57 better kernel: [] __alloc_pages_nodemask+0x75/0x740 Jan 17 18:08:57 better kernel: [] read_cache_page_async+0x56/0x190 Jan 17 18:08:57 better kernel: [] read_cache_page+0xe/0x70 Jan 17 18:08:57 better kernel: [] map_mft_record+0x13c/0x220 [ntfs] Jan 17 18:08:57 better kernel: [] map_extent_mft_record+0xc1/0x2f0 [ntfs] Jan 17 18:08:57 better kernel: [] ntfs_attr_lookup+0x5e4/0x6a0 [ntfs] Jan 17 18:08:57 better kernel: [] ntfs_map_runlist_nolock+0x2fe/0x480 [ntfs] Jan 17 18:08:57 better kernel: [] ntfs_map_runlist+0x52/0x80 [ntfs] Jan 17 18:08:57 better kernel: [] ntfs_readpage+0x882/0x910 [ntfs] Jan 17 18:08:57 better kernel: [] read_cache_page_async+0x89/0x190 Jan 17 18:08:57 better kernel: [] read_cache_page+0xe/0x70 Jan 17 18:08:57 better kernel: [] ntfs_lookup_inode_by_name+0x568/0xdd0 [ntfs] Jan 17 18:08:57 better kernel: [] ntfs_lookup+0x68/0x510 [ntfs] Jan 17 18:08:57 better kernel: [] do_lookup+0x1fe/0x250 Jan 17 18:08:57 better kernel: [] __link_path_walk+0x73f/0x1040 Jan 17 18:08:57 better kernel: [] path_walk+0x6e/0xe0 Jan 17 18:08:57 better kernel: [] do_path_lookup+0x5b/0xa0 Jan 17 18:08:57 better kernel: [] user_path_at+0x7b/0xb0 Jan 17 18:08:57 better kernel: [] vfs_fstatat+0x3c/0x80 Jan 17 18:08:57 better kernel: [] vfs_lstat+0x19/0x20 Jan 17 18:08:57 better kernel: [] sys_newlstat+0x1f/0x50 Jan 17 18:08:57 better kernel: [] system_call_fastpath+0x16/0x1b Jan 17 18:08:57 better kernel: irq event stamp: 186821 Jan 17 18:08:57 better kernel: hardirqs last enabled at (186821): [] free_hot_cold_page+0x295/0x310 Jan 17 18:08:57 better kernel: hardirqs last disabled at (186820): [] free_hot_cold_page+0x10d/0x310 Jan 17 18:08:57 better kernel: softirqs last enabled at (186222): [] __do_softirq+0x20c/0x280 Jan 17 18:08:57 better kernel: softirqs last disabled at (186207): [] call_softirq+0x1c/0x30 Jan 17 18:08:57 better kernel: Jan 17 18:08:57 better kernel: other info that might help us debug this: Jan 17 18:08:57 better kernel: 2 locks held by kswapd0/294: Jan 17 18:08:57 better kernel: #0: (shrinker_rwsem){++++..}, at: [] shrink_slab+0x32/0x1e0 Jan 17 18:08:57 better kernel: #1: (iprune_sem){.+.+.-}, at: [] shrink_icache_memory+0x82/0x2e0 Jan 17 18:08:57 better kernel: Jan 17 18:08:57 better kernel: stack backtrace: Jan 17 18:08:57 better kernel: Pid: 294, comm: kswapd0 Not tainted 2.6.32.3-melech #4 Jan 17 18:08:57 better kernel: Call Trace: Jan 17 18:08:57 better kernel: [] print_usage_bug+0x18c/0x1e0 Jan 17 18:08:57 better kernel: [] mark_lock+0x46d/0x660 Jan 17 18:08:57 better kernel: [] ? check_usage_forwards+0x0/0x100 Jan 17 18:08:57 better kernel: [] __lock_acquire+0x79a/0x1d10 Jan 17 18:08:57 better kernel: [] ? __pagevec_free+0xcc/0x100 Jan 17 18:08:57 better kernel: [] ? find_get_pages+0x0/0x170 Jan 17 18:08:57 better kernel: [] ? find_get_pages+0x12b/0x170 Jan 17 18:08:57 better kernel: [] lock_acquire+0x102/0x140 Jan 17 18:08:57 better kernel: [] ? __ntfs_clear_inode+0x19/0x150 [ntfs] Jan 17 18:08:57 better kernel: [] down_write+0x3f/0x50 Jan 17 18:08:57 better kernel: [] ? __ntfs_clear_inode+0x19/0x150 [ntfs] Jan 17 18:08:57 better kernel: [] __ntfs_clear_inode+0x19/0x150 [ntfs] Jan 17 18:08:57 better kernel: [] ntfs_clear_big_inode+0x61/0x130 [ntfs] Jan 17 18:08:57 better kernel: [] clear_inode+0x8d/0x140 Jan 17 18:08:57 better kernel: [] dispose_list+0x30/0x130 Jan 17 18:08:57 better kernel: [] shrink_icache_memory+0x268/0x2e0 Jan 17 18:08:57 better kernel: [] shrink_slab+0x132/0x1e0 Jan 17 18:08:57 better kernel: [] kswapd+0x544/0x770 Jan 17 18:08:57 better kernel: [] ? isolate_pages_global+0x0/0x230 Jan 17 18:08:57 better kernel: [] ? autoremove_wake_function+0x0/0x40 Jan 17 18:08:57 better kernel: [] ? kswapd+0x0/0x770 Jan 17 18:08:57 better kernel: [] kthread+0x96/0xa0 Jan 17 18:08:57 better kernel: [] child_rip+0xa/0x20 Jan 17 18:08:57 better kernel: [] ? restore_args+0x0/0x30 Jan 17 18:08:57 better kernel: [] ? kthread+0x0/0xa0 Jan 17 18:08:57 better kernel: [] ? child_rip+0x0/0x20 Cheers, Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAktUT7sACgkQXjXn6TzcAQl+wACg8nmdQSHC1fU8JTYNYXqOslgX 4nMAoLAa3/0p+midCJVbvHC4Imy9FWbO =rnrR -----END PGP SIGNATURE----- -- 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/