Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754240AbYJULms (ORCPT ); Tue, 21 Oct 2008 07:42:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753877AbYJULmT (ORCPT ); Tue, 21 Oct 2008 07:42:19 -0400 Received: from an-out-0708.google.com ([209.85.132.246]:30619 "EHLO an-out-0708.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752776AbYJULmR (ORCPT ); Tue, 21 Oct 2008 07:42:17 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ZMQb+2yckCT2V8lwfdzM+rYDmHVVkRYe9DdGFIEEdmPlkSOPUUVAPdHU3B+nTspeMW q/cR3xgeEJgsiz+/6jt5sJtOxOYzTR5DRzALUcl00MEdhZ5EFFkPVIAV7EbNLApmryEy XHnjnv/kDIqAwCH2ReX4e5kMugAjJyuDTMkco= Message-ID: Date: Tue, 21 Oct 2008 15:42:16 +0400 From: "Alexander Beregalov" To: lachlan@sgi.com, "Dave Chinner" , "Christoph Hellwig" , "Arjan van de Ven" , xfs@oss.sgi.com, linux-next@vger.kernel.org, LKML Subject: Re: BUG: sleeping function called from invalid context at kernel/rwsem.c:131 XFS? (was: Re: linux-next: Tree for October 17) In-Reply-To: <20081020223549.GA21152@disturbed> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081017165738.GA20818@infradead.org> <20081017203710.GA27187@infradead.org> <20081017135510.7127c4e7@infradead.org> <20081020163327.GA15651@infradead.org> <20081020223549.GA21152@disturbed> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2958 Lines: 71 2008/10/21 Dave Chinner : > On Mon, Oct 20, 2008 at 09:13:05PM +0400, Alexander Beregalov wrote: >> 2008/10/20 Christoph Hellwig : >> > On Mon, Oct 20, 2008 at 06:58:09PM +0400, Alexander Beregalov wrote: >> >> Hi Christoph >> >> >> >> I have the same result with next-1020 and today's xfs-2.6.git/master >> >> ( >> >> commit bfd2bd10da76378dc4afd87d7d204a1d3d70b347 >> >> Author: David Chinner >> >> Date: Fri Oct 17 15:36:23 2008 +1000 >> >> Inode: Allow external list initialisation >> >> ) >> Ha, that kernel (xfs/master) has made my system dead locked. >> SysRQ-d: >> Show all locks held in the system >> 1 lock held by pdflush >> (&type->s_umount_key#18{----}, at writeback_inodes >> 1 lock held by login >> (&(&ip->i_iolock)->mr_lock){----} at xfs_ilock >> and so on ( many locks at xfs_ilock) > > Curious. Can you post the full stack traces? I can not reproduce it, yet. Bisected to: dd509097cb0b76d3836385f80d6b2d6fd3b97757 is first bad commit commit dd509097cb0b76d3836385f80d6b2d6fd3b97757 Author: Lachlan McIlroy Date: Mon Sep 29 14:56:40 2008 +1000 [XFS] Unlock inode before calling xfs_idestroy() Lock debugging reported the ilock was being destroyed without being unlocked. We don't need to lock the inode until we are going to insert it into the radix tree. SGI-PV: 987246 SGI-Modid: xfs-linux-melb:xfs-kern:32159a Signed-off-by: Lachlan McIlroy Signed-off-by: Christoph Hellwig :040000 040000 b56d4b74bf0cbdd66d0e61c537b4bb2f7461084f 40773db6102a1e348a0a21b0e960cb33ffd0d419 M fs git bisect start 'fs/xfs' git bisect bad bfd2bd10da76378dc4afd87d7d204a1d3d70b347 Inode: Allow external list initialisation git bisect good 3fa8749e584b55f1180411ab1b51117190bac1e5 Linux 2.6.27 git bisect skip a55c8e45381bcc5588a544ba73580719887372eb git bisect skip 35afc673a41114eb650c6ae766010160dd982a7b git bisect skip 7a9ba9bb899933293604a2b3c5ca4f40ad5a92a8 git bisect skip c02afc5fa7433fbbc0a045afbb472533de0758de git bisect skip c0f47794ba870f0cd1dbe5c8fdbf56b86f5f2afa git bisect skip 7197197719eb94b527c6a422bf3fb682cdf89954 git bisect good e0fe783155e4f1c7106f3579c258b9f995330c19 git bisect bad 2472c6b938d2b3cb1698abe39cc90a3c1d7625b9 git bisect good 20c1bd2cc6d9311fb7d7d0eb91b46dc4a42b5d11 git bisect good 8e47c0b2427f0ea35984f02648163cc7a35d3592 git bisect good a1853934a9bef78aeb1aa7539c629cdb755edab2 git bisect bad 05de34dbbe744a4d235279f1493a8f05b903a4bb git bisect bad c4fa37724d18a3444bb4b4f77c4580b9dd525ed9 git bisect good 4b4577db477462ff6f41babcc3b3e7036a1ba27d git bisect bad dd509097cb0b76d3836385f80d6b2d6fd3b97757 -- 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/