Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932416AbWE3U6r (ORCPT ); Tue, 30 May 2006 16:58:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932462AbWE3U6q (ORCPT ); Tue, 30 May 2006 16:58:46 -0400 Received: from sj-iport-6.cisco.com ([171.71.176.117]:9019 "EHLO sj-iport-6.cisco.com") by vger.kernel.org with ESMTP id S932416AbWE3U6q (ORCPT ); Tue, 30 May 2006 16:58:46 -0400 To: Ingo Molnar Cc: Andrew Morton , linux-kernel@vger.kernel.org, Arjan van de Ven Subject: Re: [patch, -rc5-mm1] lock validator: fix RT_HASH_LOCK_SZ X-Message-Flag: Warning: May contain useful information References: <20060530022925.8a67b613.akpm@osdl.org> <20060530202654.GA25720@elte.hu> <20060530204901.GA27645@elte.hu> From: Roland Dreier Date: Tue, 30 May 2006 13:58:43 -0700 In-Reply-To: <20060530204901.GA27645@elte.hu> (Ingo Molnar's message of "Tue, 30 May 2006 22:49:01 +0200") Message-ID: User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.18 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 30 May 2006 20:58:45.0194 (UTC) FILETIME=[D6FC0AA0:01C6842B] Authentication-Results: sj-dkim-3.cisco.com; header.From=rdreier@cisco.com; dkim=pass ( sig from cisco.com verified; ); Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2930 Lines: 56 Thanks, that boots. During boot I see this, apparently while mounting NFS filesystems: [ 83.114812] ==================================== [ 83.133079] [ BUG: possible deadlock detected! ] [ 83.146881] ------------------------------------ [ 83.160683] mount/3531 is trying to acquire lock: [ 83.174745] (&inode->i_mutex){--..}, at: [] mutex_lock+0x22/0x27 [ 83.197835] [ 83.197836] but task is already holding lock: [ 83.215295] (&inode->i_mutex){--..}, at: [] mutex_lock+0x22/0x27 [ 83.238386] [ 83.238387] which could potentially lead to deadlocks! [ 83.258207] [ 83.258207] other info that might help us debug this: [ 83.277769] 2 locks held by mount/3531: [ 83.289235] #0: (&s->s_umount#16){--..}, at: [] sget+0x1a0/0x407 [ 83.312612] #1: (&inode->i_mutex){--..}, at: [] mutex_lock+0x22/0x27 [ 83.337025] [ 83.337026] stack backtrace: [ 83.350101] [ 83.350101] Call Trace: [ 83.361890] [] __lockdep_acquire+0x18a/0xad2 [ 83.379629] [] mutex_lock+0x22/0x27 [ 83.395038] [] lockdep_acquire+0x82/0xa3 [ 83.411748] [] __mutex_lock_slowpath+0xfd/0x36a [ 83.430273] [] mutex_lock+0x22/0x27 [ 83.445703] [] :sunrpc:rpc_populate+0x43/0x141 [ 83.463934] [] :sunrpc:rpc_mkdir+0xb6/0x172 [ 83.481383] [] mntput_no_expire+0x1b/0xb9 [ 83.498348] [] simple_pin_fs+0xc3/0xd3 [ 83.514548] [] :sunrpc:rpc_new_client+0x226/0x348 [ 83.533592] [] :sunrpc:rpc_create_client+0xc/0x3e [ 83.552644] [] :nfs:nfs_get_sb+0x559/0x6e8 [ 83.569853] [] vfs_kern_mount+0x8b/0x196 [ 83.586560] [] do_kern_mount+0x3c/0x57 [ 83.602724] [] do_mount+0x7dd/0x851 [ 83.618108] [] mark_lock+0x3b/0x4fc [ 83.633520] [] get_page_from_freelist+0x34e/0x4cc [ 83.652560] [] trace_hardirqs_on+0x165/0x189 [ 83.670281] [] get_page_from_freelist+0x3bd/0x4cc [ 83.689324] [] _spin_unlock_irqrestore+0x3f/0x47 [ 83.708109] [] __alloc_pages+0x82/0x33d [ 83.724558] [] alloc_pages_current+0xa0/0xa9 [ 83.742301] [] _raw_spin_lock+0xc7/0x15d [ 83.759012] [] sys_mount+0x9d/0xe9 [ 83.774160] [] trace_hardirqs_on_thunk+0x35/0x37 [ 83.792919] [] system_call+0x7e/0x83 - R. - 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/