login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2009
»
December
»
28
Re: drm_vm.c:drm_mmap: possible circular locking dependency detected (was: Re: Linux 2.6.33-rc2 - Merry Christmas ...)
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: KOSAKI Motohiro
Subject:
Re: drm_vm.c:drm_mmap: possible circular locking dependency detected (was: Re: Linux 2.6.33-rc2 - Merry Christmas ...)
Date: Sunday, December 27, 2009 - 5:40 pm
Hi Quick analysis is here.
quoted text
> Hi, > > this jumped into dmesg upon resume (.config and dmesg are attached in > the previous "EHCI resume sysfs duplicates..." message in this thread): > > ======================================================= > [ INFO: possible circular locking dependency detected ] > 2.6.33-rc2-00001-g6d7daec #1 > ------------------------------------------------------- > Xorg/3076 is trying to acquire lock: > (&dev->struct_mutex){+.+.+.}, at: [<ffffffff81223fd4>] drm_mmap+0x38/0x5c > > but task is already holding lock: > (&mm->mmap_sem){++++++}, at: [<ffffffff810b7509>] sys_mmap_pgoff+0xd6/0x1b4 > > which lock already depends on the new lock. > > > the existing dependency chain (in reverse order) is: > > -> #3 (&mm->mmap_sem){++++++}: > [<ffffffff810694c0>] __lock_acquire+0x1373/0x16fd > [<ffffffff8106993c>] lock_acquire+0xf2/0x116 > [<ffffffff810bb2b5>] might_fault+0x95/0xb8 <- mmap_sem > [<ffffffff810e87d6>] filldir+0x75/0xd0 <- sysfs_mutex > [<ffffffff8112be2a>] sysfs_readdir+0x10f/0x149 > [<ffffffff810e895b>] vfs_readdir+0x6b/0xa8 > [<ffffffff810e8ae1>] sys_getdents+0x81/0xd1 > [<ffffffff810022f2>] system_call_fastpath+0x16/0x1b > > -> #2 (sysfs_mutex){+.+.+.}: > [<ffffffff810694c0>] __lock_acquire+0x1373/0x16fd > [<ffffffff8106993c>] lock_acquire+0xf2/0x116 > [<ffffffff813e9e5c>] mutex_lock_nested+0x63/0x354 > [<ffffffff8112c488>] sysfs_addrm_start+0x26/0x28 <- sysfs_mutex > [<ffffffff8112c940>] sysfs_remove_dir+0x52/0x8d > [<ffffffff8118b6f9>] kobject_del+0x16/0x37 > [<ffffffff8118b758>] kobject_release+0x3e/0x66 > [<ffffffff8118c5b5>] kref_put+0x43/0x4d > [<ffffffff8118b674>] kobject_put+0x47/0x4b > [<ffffffff813e11c1>] cacheinfo_cpu_callback+0xa2/0xdb > [<ffffffff8105c317>] notifier_call_chain+0x37/0x63 > [<ffffffff8105c3c7>] raw_notifier_call_chain+0x14/0x16 > [<ffffffff813d58ec>] _cpu_down+0x1a5/0x29a <- cpu_hotplug.lock > [<ffffffff8103c851>] disable_nonboot_cpus+0x74/0x10d > [<ffffffff8107793e>] hibernation_snapshot+0x99/0x1d3 > [<ffffffff81077b46>] hibernate+0xce/0x172 > [<ffffffff810768d4>] state_store+0x5c/0xd3 > [<ffffffff8118b48b>] kobj_attr_store+0x17/0x19 > [<ffffffff8112b4bd>] sysfs_write_file+0x108/0x144 > [<ffffffff810daf53>] vfs_write+0xb2/0x153 > [<ffffffff810db0b7>] sys_write+0x4a/0x71 > [<ffffffff810022f2>] system_call_fastpath+0x16/0x1b > > -> #1 (cpu_hotplug.lock){+.+.+.}: > [<ffffffff810694c0>] __lock_acquire+0x1373/0x16fd > [<ffffffff8106993c>] lock_acquire+0xf2/0x116 > [<ffffffff813e9e5c>] mutex_lock_nested+0x63/0x354 > [<ffffffff8103c980>] get_online_cpus+0x3c/0x50 <- cpu_hotplug.lock > [<ffffffff81014c1a>] mtrr_del_page+0x3e/0x13c > [<ffffffff81014d5f>] mtrr_del+0x47/0x4f > [<ffffffff8121c23b>] drm_rmmap_locked+0xdc/0x1a2 > [<ffffffff812226e3>] drm_master_destroy+0x86/0x11f > [<ffffffff8118c5b5>] kref_put+0x43/0x4d > [<ffffffff812225c4>] drm_master_put+0x20/0x2b > [<ffffffff8121ea71>] drm_release+0x54b/0x688 <- dev->struct_mutex > [<ffffffff810dbb24>] __fput+0x125/0x1e7 > [<ffffffff810dbc00>] fput+0x1a/0x1c > [<ffffffff810d8d02>] filp_close+0x5d/0x67 > [<ffffffff810d8db9>] sys_close+0xad/0xe7 > [<ffffffff810022f2>] system_call_fastpath+0x16/0x1b > > -> #0 (&dev->struct_mutex){+.+.+.}: > [<ffffffff81069170>] __lock_acquire+0x1023/0x16fd > [<ffffffff8106993c>] lock_acquire+0xf2/0x116 > [<ffffffff813e9e5c>] mutex_lock_nested+0x63/0x354 > [<ffffffff81223fd4>] drm_mmap+0x38/0x5c <- dev->struct_mutex > [<ffffffff810c34f5>] mmap_region+0x2e0/0x4ff > [<ffffffff810c39a4>] do_mmap_pgoff+0x290/0x2f3 > [<ffffffff810b7529>] sys_mmap_pgoff+0xf6/0x1b4 > [<ffffffff8100719b>] sys_mmap+0x22/0x27 <- mmap_sem > [<ffffffff810022f2>] system_call_fastpath+0x16/0x1b
This output seems to suggest need to fix drm. --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Linux 2.6.33-rc2 - Merry Christmas ...
, Linus Torvalds
, (Thu Dec 24, 3:00 pm)
-tip: origin tree boot crash
, Ingo Molnar
, (Fri Dec 25, 3:27 am)
Re: Linux 2.6.33-rc2 - Blank screen for Intel KMS
, Miguel Calleja
, (Fri Dec 25, 6:10 am)
Re: -tip: origin tree boot crash
, Dmitry Torokhov
, (Fri Dec 25, 12:49 pm)
Re: Linux 2.6.33-rc2 - Merry Christmas ...
, Borislav Petkov
, (Fri Dec 25, 1:00 pm)
Re: Linux 2.6.33-rc2 - Merry Christmas ...
, Borislav Petkov
, (Fri Dec 25, 2:50 pm)
Re: Linux 2.6.33-rc2 - Merry Christmas ...
, Jesse Barnes
, (Fri Dec 25, 11:00 pm)
Re: Linux 2.6.33-rc2 - Merry Christmas ...
, Borislav Petkov
, (Sat Dec 26, 1:02 am)
EHCI resume sysfs duplicates (was: Re: Linux 2.6.33-rc2 - ...
, Borislav Petkov
, (Sat Dec 26, 2:36 am)
drm_vm.c:drm_mmap: possible circular locking dependency de ...
, Borislav Petkov
, (Sat Dec 26, 2:45 am)
Re: -tip: origin tree boot crash
, Len Brown
, (Sat Dec 26, 1:17 pm)
Re: -tip: origin tree boot crash
, Len Brown
, (Sat Dec 26, 1:19 pm)
Re: -tip: origin tree boot crash
, Len Brown
, (Sat Dec 26, 9:20 pm)
Re: drm_vm.c:drm_mmap: possible circular locking dependenc ...
, KOSAKI Motohiro
, (Sun Dec 27, 5:40 pm)
Re: -tip: origin tree boot crash
, Ingo Molnar
, (Mon Dec 28, 2:44 am)
Re: -tip: origin tree boot crash
, Ingo Molnar
, (Mon Dec 28, 5:01 am)
Re: -tip: origin tree boot crash
, Paul Rolland
, (Mon Dec 28, 8:02 am)
Re: -tip: origin tree boot crash
, Paul Rolland
, (Mon Dec 28, 9:15 am)
Re: -tip: origin tree boot crash
, Paul Rolland
, (Mon Dec 28, 9:53 am)
Re: -tip: origin tree boot crash
, Dmitry Torokhov
, (Mon Dec 28, 1:17 pm)
Re: Linux 2.6.33-rc2 - Blank screen for Intel KMS
, Miguel Calleja
, (Tue Dec 29, 2:50 am)
Re: Linux 2.6.33-rc2 - Blank screen for Intel KMS
, Rafael J. Wysocki
, (Tue Dec 29, 7:01 am)
Re: -tip: origin tree boot crash
, Len Brown
, (Tue Dec 29, 11:14 pm)
[PATCH] wmi: check find_guid() return value to prevent oops
, Len Brown
, (Tue Dec 29, 11:19 pm)
[PATCH] dell-wmi: sys_init_module: 'dell_wmi'->init suspic ...
, Len Brown
, (Tue Dec 29, 11:21 pm)
Re: -tip: origin tree boot crash
, Paul Rolland
, (Wed Dec 30, 12:13 am)
Re: drm_vm.c:drm_mmap: possible circular locking dependenc ...
, Linus Torvalds
, (Wed Dec 30, 2:10 pm)
Re: drm_vm.c:drm_mmap: possible circular locking dependenc ...
, Eric W. Biederman
, (Wed Dec 30, 2:34 pm)
Re: drm_vm.c:drm_mmap: possible circular locking dependenc ...
, Linus Torvalds
, (Wed Dec 30, 3:03 pm)
Re: drm_vm.c:drm_mmap: possible circular locking dependenc ...
, Eric W. Biederman
, (Thu Dec 31, 1:40 am)
Re: drm_vm.c:drm_mmap: possible circular locking dependenc ...
, Eric W. Biederman
, (Thu Dec 31, 1:40 am)
Re: drm_vm.c:drm_mmap: possible circular locking dependenc ...
, Linus Torvalds
, (Thu Dec 31, 12:04 pm)
[PATCH] sysfs: Cache the last sysfs_dirent to improve read ...
, Eric W. Biederman
, (Fri Jan 1, 6:58 am)
Re: drm_vm.c:drm_mmap: possible circular locking dependenc ...
, Eric W. Biederman
, (Fri Jan 1, 8:16 am)
Re: [PATCH] sysfs: Cache the last sysfs_dirent to improve ...
, Borislav Petkov
, (Fri Jan 1, 8:33 am)
Re: [PATCH] sysfs: Cache the last sysfs_dirent to improve ...
, Linus Torvalds
, (Fri Jan 1, 11:56 am)
[PATCH] sysfs: Cache the last sysfs_dirent to improve read ...
, Eric W. Biederman
, (Fri Jan 1, 3:43 pm)
Re: [PATCH] sysfs: Cache the last sysfs_dirent to improve ...
, Linus Torvalds
, (Fri Jan 1, 4:10 pm)
Re: drm_vm.c:drm_mmap: possible circular locking dependenc ...
, Tejun Heo
, (Fri Jan 1, 7:59 pm)
Re: [PATCH] sysfs: Cache the last sysfs_dirent to improve ...
, Greg KH
, (Fri Jan 1, 10:59 pm)
Re: [PATCH] sysfs: Cache the last sysfs_dirent to improve ...
, Borislav Petkov
, (Sat Jan 2, 8:40 am)
[PATCH] sysfs: Add lockdep annotations for the sysfs activ ...
, Eric W. Biederman
, (Sat Jan 2, 2:37 pm)
Re: drm_vm.c:drm_mmap: possible circular locking dependenc ...
, Eric W. Biederman
, (Sat Jan 2, 2:49 pm)
Re: [PATCH] sysfs: Add lockdep annotations for the sysfs a ...
, Tejun Heo
, (Sat Jan 2, 5:02 pm)
Re: drm_vm.c:drm_mmap: possible circular locking dependenc ...
, Tejun Heo
, (Sat Jan 2, 5:32 pm)
Re: drm_vm.c:drm_mmap: possible circular locking dependenc ...
, Eric W. Biederman
, (Sat Jan 2, 7:06 pm)
Re: drm_vm.c:drm_mmap: possible circular locking dependenc ...
, Tejun Heo
, (Sat Jan 2, 10:01 pm)
Re: drm_vm.c:drm_mmap: possible circular locking dependenc ...
, Eric W. Biederman
, (Sat Jan 2, 10:38 pm)
Re: drm_vm.c:drm_mmap: possible circular locking dependenc ...
, Tejun Heo
, (Sat Jan 2, 11:05 pm)
Re: drm_vm.c:drm_mmap: possible circular locking dependenc ...
, Dmitry Torokhov
, (Sun Jan 3, 12:47 am)
Re: drm_vm.c:drm_mmap: possible circular locking dependenc ...
, Eric W. Biederman
, (Sun Jan 3, 3:57 am)
Re: drm_vm.c:drm_mmap: possible circular locking dependenc ...
, Eric W. Biederman
, (Sun Jan 3, 4:14 am)
Re: drm_vm.c:drm_mmap: possible circular locking dependenc ...
, Dmitry Torokhov
, (Mon Jan 4, 11:57 am)
Re: drm_vm.c:drm_mmap: possible circular locking dependenc ...
, Dmitry Torokhov
, (Mon Jan 4, 12:16 pm)
Re: drm_vm.c:drm_mmap: possible circular locking dependenc ...
, Eric W. Biederman
, (Mon Jan 4, 12:43 pm)
Re: drm_vm.c:drm_mmap: possible circular locking dependenc ...
, Dmitry Torokhov
, (Mon Jan 4, 2:12 pm)
Re: drm_vm.c:drm_mmap: possible circular locking dependenc ...
, Tejun Heo
, (Mon Jan 4, 4:09 pm)
Re: [PATCH] sysfs: Add lockdep annotations for the sysfs a ...
, Ming Lei
, (Sun Jan 17, 9:26 am)
Re: [PATCH] sysfs: Add lockdep annotations for the sysfs a ...
, Eric W. Biederman
, (Sun Jan 17, 10:18 am)
Re: [PATCH] sysfs: Add lockdep annotations for the sysfs a ...
, Dominik Brodowski
, (Sun Jan 17, 11:03 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Re: [PATCH 1/1] staging: hv: Fix race condition on IC channel initialization (modi...
Sam Ravnborg
[PATCH 05/11] x86: add X86_64 dependency to x86_64 specific symbols in Kconfig.x86...
Christoph Lameter
Re: [PATCH 02/40] mm: slab allocation fairness
Alexey Dobriyan
Re: [2.6.22.2 review 09/84] Fix rfkill IRQ flags.
Brian Swetland
Re: Attempted summary of suspend-blockers LKML thread
git
:
Felipe Contreras
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Paolo Ciarrocchi
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Sverre Rabbelier
Re: [GSoC] What is status of Git's Google Summer of Code 2008 projects?
Johannes Schindelin
Re: [PATCH] Fix install-doc-quick target
Peter Oberndorfer
Subject: [PATCH] fix stg edit command
linux-netdev
:
Andi Kleen
Re: RFC: Nagle latency tuning
Jarek Poplawski
Re: tc filter flow hash question
David Miller
Re: [RFC 0/5] generic rx recycling
Chuck Lever
Re: [RFC] ipv6: Change %pI6 format to output compacted addresses?
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
git-commits-head
:
Linux Kernel Mailing List
New device ID for sc92031 [1088:2031]
Linux Kernel Mailing List
e1000e: Expose MDI-X status via ethtool change
Linux Kernel Mailing List
NFS: Store pages from an NFS inode into a local cache
Linux Kernel Mailing List
arm/imx/gpio: GPIO_INT_{HIGH,LOW}_LEV are not necessarily constant
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
openbsd-misc
:
Theo de Raadt
Re: RES: OpenBSD on IBM System X3550 7879
Bret S. Lambert
Re: any web management gui for pf ?
Leif Blixt
Re: Force passwordcheck in login.conf
Rob Shepherd
x86 hardware for router system
ropers
Re: Real men don't attack straw men
Colocation donated by:
Syndicate