Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752254AbXBRWFy (ORCPT ); Sun, 18 Feb 2007 17:05:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752256AbXBRWFy (ORCPT ); Sun, 18 Feb 2007 17:05:54 -0500 Received: from ishtar.tlinx.org ([64.81.245.74]:60355 "EHLO ishtar.tlinx.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752254AbXBRWFx (ORCPT ); Sun, 18 Feb 2007 17:05:53 -0500 X-Greylist: delayed 1626 seconds by postgrey-1.27 at vger.kernel.org; Sun, 18 Feb 2007 17:05:53 EST Message-ID: <45D8C765.7080306@tlinx.org> Date: Sun, 18 Feb 2007 13:38:45 -0800 From: Linda Walsh User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: xfs@oss.sgi.com, linux-kernel@vger.kernel.org Subject: lock checking feedback (bug?) 2.6.20(xfs)/i386 during boot Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2994 Lines: 80 Turned on lock testing/proving/deadlock detection. Not chasing any particular problem, but looking for things "oddities". Turned on options (under kernel hacking): Locking API boot-time self-tests RT Mutex debugging, deadlock detection Lock debugging: prove locking correctness Multiple reboots show it to be a constant. I had tried the new "Asynchronous SCSI scanning" -- thought that might have been related, but turning it off makes no difference. I'm guessing this "error" has been present before this, but the lock proving algorithms are bringing it to light? So I don't know how serious this is (if it is anything), but at the least, it doesn't look too clean... Maybe that .... SCSI device sda: write cache: enabled, read cache: enabled, supports DPO and FUA sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 > sd 0:0:0:0: Attached scsi disk sda UDF-fs: No VRS found XFS mounting filesystem sda3 Ending clean XFS mount for filesystem: sda3 VFS: Mounted root (xfs filesystem) readonly. Freeing unused kernel memory: 316k freed ============================================= [ INFO: possible recursive locking detected ] 2.6.20 #3 --------------------------------------------- rm/682 is trying to acquire lock: (&(&ip->i_lock)->mr_lock){----}, at: [] xfs_ilock+0x7d/0xb0 but task is already holding lock: (&(&ip->i_lock)->mr_lock){----}, at: [] xfs_ilock+0x7d/0xb0 other info that might help us debug this: 3 locks held by rm/682: #0: (&inode->i_mutex/1){--..}, at: [] do_unlinkat+0x96/0x170 #1: (&inode->i_mutex){--..}, at: [] vfs_unlink+0x5a/0xd0 #2: (&(&ip->i_lock)->mr_lock){----}, at: [] xfs_ilock+0x7d/0xb0 stack backtrace: [] __lock_acquire+0xaf1/0xdf0 [] lock_acquire+0x57/0x70 [] xfs_ilock+0x7d/0xb0 [] down_write+0x2f/0x50 [] xfs_ilock+0x7d/0xb0 [] xfs_ilock+0x7d/0xb0 [] xfs_lock_dir_and_entry+0xfd/0x100 [] xfs_remove+0x198/0x4e0 [] xfs_access+0x26/0x50 [] xfs_access+0x26/0x50 [] vfs_unlink+0x5a/0xd0 [] xfs_vn_unlink+0x23/0x60 [] __mutex_lock_slowpath+0x152/0x2a0 [] mark_held_locks+0x6b/0x90 [] __mutex_lock_slowpath+0x152/0x2a0 [] __mutex_lock_slowpath+0x152/0x2a0 [] trace_hardirqs_on+0xc7/0x170 [] __mutex_lock_slowpath+0x145/0x2a0 [] vfs_unlink+0x5a/0xd0 [] permission+0x137/0x140 [] vfs_unlink+0x90/0xd0 [] do_unlinkat+0xd3/0x170 [] do_page_fault+0x327/0x630 [] sysenter_past_esp+0x5f/0x99 ======================= XFS mounting filesystem sda1 Ending clean XFS mount for filesystem: sda1 - 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/