======================================================= [ INFO: possible circular locking dependency detected ] 2.6.23-rc7-g8809e921 #1 ------------------------------------------------------- beagle-build-in/24375 is trying to acquire lock: (&mm->mmap_sem){----}, at: [] do_page_fault+0x17d/0x591 but task is already holding lock: (&inode->i_mutex){--..}, at: [] mutex_lock+0x1c/0x1f which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #1 (&inode->i_mutex){--..}: [] __lock_acquire+0x9f3/0xba6 [] lock_acquire+0x5f/0x78 [] __mutex_lock_slowpath+0xe5/0x27a [] mutex_lock+0x1c/0x1f [] nfs_revalidate_mapping+0x64/0x9c [nfs] [] nfs_file_mmap+0x46/0x75 [nfs] [] mmap_region+0x1ea/0x3b8 [] do_mmap_pgoff+0x27b/0x2da [] sys_mmap2+0x9b/0xb5 [] sysenter_past_esp+0x5f/0x99 [] 0xffffffff -> #0 (&mm->mmap_sem){----}: [] __lock_acquire+0x8df/0xba6 [] lock_acquire+0x5f/0x78 [] down_read+0x3a/0x4c [] do_page_fault+0x17d/0x591 [] error_code+0x72/0x78 [] call_filldir+0xac/0xc3 [ext3] [] ext3_readdir+0x217/0x5e5 [ext3] [] vfs_readdir+0x67/0x93 [] sys_getdents+0x5f/0x9d [] sysenter_past_esp+0x5f/0x99 [] 0xffffffff other info that might help us debug this: 1 lock held by beagle-build-in/24375: #0: (&inode->i_mutex){--..}, at: [] mutex_lock+0x1c/0x1f stack backtrace: [] show_trace_log_lvl+0x1a/0x2f [] show_trace+0x12/0x14 [] dump_stack+0x16/0x18 [] print_circular_bug_tail+0x5f/0x68 [] __lock_acquire+0x8df/0xba6 [] lock_acquire+0x5f/0x78 [] down_read+0x3a/0x4c [] do_page_fault+0x17d/0x591 [] error_code+0x72/0x78 [] call_filldir+0xac/0xc3 [ext3] [] ext3_readdir+0x217/0x5e5 [ext3] [] vfs_readdir+0x67/0x93 [] sys_getdents+0x5f/0x9d [] sysenter_past_esp+0x5f/0x99 =======================