linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 41682] New: INFO: possible circular locking dependency detected .. at ext4_evict_inode
@ 2011-08-24 21:18 bugzilla-daemon
  2011-08-24 21:19 ` [Bug 41682] " bugzilla-daemon
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-08-24 21:18 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=41682

           Summary: INFO: possible circular locking dependency detected ..
                    at ext4_evict_inode
           Product: File System
           Version: 2.5
    Kernel Version: 3.1.0-rc3+
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: ext4
        AssignedTo: fs_ext4@kernel-bugs.osdl.org
        ReportedBy: baryluk@smp.if.uj.edu.pl
        Regression: Yes


Hi, few minutes after boot and login i got this message. I just logged on
console and started doing small file systems works, like apt-get remove
linux-image-2.6.*, and in the middle I got this

[  509.647307] 
[  509.647311] =======================================================
[  509.650015] [ INFO: possible circular locking dependency detected ]
[  509.650015] 3.1.0-rc3-t43-prod-00091-ga53e77f-dirty #9
[  509.650015] -------------------------------------------------------
[  509.650015] apt-get/7446 is trying to acquire lock:
[  509.650015]  (&sb->s_type->i_mutex_key#12){+.+.+.}, at: [<c11458ea>]
ext4_evict_inode+0x1a/0x370
[  509.650015] 
[  509.650015] but task is already holding lock:
[  509.650015]  (&mm->mmap_sem){++++++}, at: [<c10bbac2>] sys_munmap+0x22/0x50
[  509.650015] 
[  509.650015] which lock already depends on the new lock.
[  509.650015] 
[  509.650015] 
[  509.650015] the existing dependency chain (in reverse order) is:
[  509.650015] 
[  509.650015] -> #1 (&mm->mmap_sem){++++++}:
[  509.650015]        [<c1073e58>] lock_acquire+0x78/0xa0
[  509.650015]        [<c10b2c5b>] might_fault+0x6b/0x90
[  509.650015]        [<c1240636>] copy_to_user+0x36/0x60
[  509.650015]        [<c10eceb6>] filldir+0x66/0xc0
[  509.650015]        [<c113bb6c>] call_filldir+0x8c/0xc0
[  509.650015]        [<c113c387>] ext4_readdir+0x637/0x700
[  509.650015]        [<c10ed066>] vfs_readdir+0x76/0xa0
[  509.650015]        [<c10ed154>] sys_getdents+0x64/0xd0
[  509.650015]        [<c16307dc>] sysenter_do_call+0x12/0x3c
[  509.650015] 
[  509.650015] -> #0 (&sb->s_type->i_mutex_key#12){+.+.+.}:
[  509.650015]        [<c107373c>] __lock_acquire+0x13cc/0x1640
[  509.650015]        [<c1073e58>] lock_acquire+0x78/0xa0
[  509.650015]        [<c162deb4>] mutex_lock_nested+0x44/0x2c0
[  509.650015]        [<c11458ea>] ext4_evict_inode+0x1a/0x370
[  509.650015]        [<c10f4439>] evict+0x89/0x170
[  509.650015]        [<c10f45ec>] iput+0xcc/0x1c0
[  509.650015]        [<c10efa6f>] dentry_iput+0x7f/0xd0
[  509.650015]        [<c10f19aa>] dput+0x10a/0x200
[  509.650015]        [<c10ddf1b>] fput+0x13b/0x1e0
[  509.650015]        [<c10b94bd>] remove_vma+0x2d/0x60
[  509.650015]        [<c10ba462>] do_munmap+0x182/0x2d0
[  509.650015]        [<c10bbacf>] sys_munmap+0x2f/0x50
[  509.650015]        [<c16307dc>] sysenter_do_call+0x12/0x3c
[  509.650015] 
[  509.650015] other info that might help us debug this:
[  509.650015] 
[  509.650015]  Possible unsafe locking scenario:
[  509.650015] 
[  509.650015]        CPU0                    CPU1
[  509.650015]        ----                    ----
[  509.650015]   lock(&mm->mmap_sem);
[  509.650015]                                lock(&sb->s_type->i_mutex_key);
[  509.650015]                                lock(&mm->mmap_sem);
[  509.650015]   lock(&sb->s_type->i_mutex_key);
[  509.650015] 
[  509.650015]  *** DEADLOCK ***
[  509.650015] 
[  509.650015] 1 lock held by apt-get/7446:
[  509.650015]  #0:  (&mm->mmap_sem){++++++}, at: [<c10bbac2>]
sys_munmap+0x22/0x50
[  509.650015] 
[  509.650015] stack backtrace:
[  509.650015] Pid: 7446, comm: apt-get Not tainted
3.1.0-rc3-t43-prod-00091-ga53e77f-dirty #9
[  509.650015] Call Trace:
[  509.650015]  [<c1627359>] ? printk+0x18/0x1a
[  509.650015]  [<c1627a02>] print_circular_bug+0x1de/0x1e8
[  509.650015]  [<c107373c>] __lock_acquire+0x13cc/0x1640
[  509.650015]  [<c1073e58>] lock_acquire+0x78/0xa0
[  509.650015]  [<c11458ea>] ? ext4_evict_inode+0x1a/0x370
[  509.650015]  [<c162deb4>] mutex_lock_nested+0x44/0x2c0
[  509.650015]  [<c11458ea>] ? ext4_evict_inode+0x1a/0x370
[  509.650015]  [<c12461df>] ? do_raw_spin_lock+0x3f/0x130
[  509.650015]  [<c11458ea>] ext4_evict_inode+0x1a/0x370
[  509.650015]  [<c124635e>] ? do_raw_spin_unlock+0x4e/0x90
[  509.650015]  [<c10f4439>] evict+0x89/0x170
[  509.650015]  [<c10f45ec>] iput+0xcc/0x1c0
[  509.650015]  [<c10efa6f>] dentry_iput+0x7f/0xd0
[  509.650015]  [<c10f19aa>] dput+0x10a/0x200
[  509.650015]  [<c10ddf1b>] fput+0x13b/0x1e0
[  509.650015]  [<c10b94bd>] remove_vma+0x2d/0x60
[  509.650015]  [<c10ba462>] do_munmap+0x182/0x2d0
[  509.650015]  [<c10bbacf>] sys_munmap+0x2f/0x50
[  509.650015]  [<c16307dc>] sysenter_do_call+0x12/0x3c


uniprocessor, i386, pentium-m, debian unstable, gcc-4.6.1-7. INFO appered once
just when started moderate load on file system (apt-get remove something).

It didn't repeated since it.

Kernel config attached.

Regards,
Witek

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-08-30 10:46 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-24 21:18 [Bug 41682] New: INFO: possible circular locking dependency detected .. at ext4_evict_inode bugzilla-daemon
2011-08-24 21:19 ` [Bug 41682] " bugzilla-daemon
2011-08-24 21:22 ` bugzilla-daemon
2011-08-25  6:49 ` bugzilla-daemon
2011-08-25 10:28 ` bugzilla-daemon
2011-08-25 10:32 ` bugzilla-daemon
2011-08-25 10:34 ` bugzilla-daemon
2011-08-29  2:59 ` bugzilla-daemon
2011-08-30 10:51 ` bugzilla-daemon
2011-08-31 16:13 ` bugzilla-daemon
2011-09-02 11:27 ` bugzilla-daemon
2011-09-02 13:09 ` bugzilla-daemon
2011-09-06  5:56 ` bugzilla-daemon
2012-02-07 12:41 ` bugzilla-daemon
2012-08-30 10:46 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).