From: bugzilla-daemon@freedesktop.org Subject: [Bug 27866] d-r-t crashes at radeon_bo_unref() with dynpm=1 Date: Wed, 28 Apr 2010 16:25:08 -0700 (PDT) Message-ID: <20100428232509.0A77213004E@annarchy.freedesktop.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from annarchy.freedesktop.org (annarchy.freedesktop.org [131.252.210.176]) by gabe.freedesktop.org (Postfix) with ESMTP id 307B99E744 for ; Wed, 28 Apr 2010 16:25:09 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org https://bugs.freedesktop.org/show_bug.cgi?id=27866 --- Comment #3 from Alex Deucher 2010-04-28 16:25:08 PDT --- I'm seeing a slightly different problem in d-r-t without dynpm: BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:1072 in_atomic(): 0, irqs_disabled(): 1, pid: 2504, name: Xorg 3 locks held by Xorg/2504: #0: (&dev->struct_mutex){+.+.+.}, at: [] drm_gem_object_free_unlocked+0x3b/0x55 [drm] #1: (&rdev->vram_mutex){+.+.+.}, at: [] radeon_bo_unref+0x2c/0x56 [radeon] #2: (&mm->mmap_sem){++++++}, at: [] do_page_fault+0x18c/0x302 irq event stamp: 378986 hardirqs last enabled at (378985): [] kfree+0x10a/0x11b hardirqs last disabled at (378986): [] __mutex_unlock_slowpath+0x5a/0x104 softirqs last enabled at (378634): [] __do_softirq+0x164/0x173 softirqs last disabled at (378611): [] do_softirq+0x3b/0x5f Pid: 2504, comm: Xorg Not tainted 2.6.34-rc5 #2 Call Trace: [] __might_sleep+0xdd/0xe4 [] do_page_fault+0x1ce/0x302 [] ? do_page_fault+0x0/0x302 [] error_code+0x78/0x80 [] ? __mutex_unlock_slowpath+0x5f/0x104 [] mutex_unlock+0xd/0xf [] radeon_bo_unref+0x46/0x56 [radeon] [] radeon_gem_object_free+0x27/0x39 [radeon] [] drm_gem_object_free_unlocked+0x49/0x55 [drm] [] ? drm_gem_object_free_unlocked+0x0/0x55 [drm] [] kref_put+0x39/0x42 [] drm_gem_object_handle_unreference_unlocked+0x28/0x2b [drm] [] drm_gem_close_ioctl+0x6b/0x73 [drm] [] drm_ioctl+0x245/0x32b [drm] [] ? drm_gem_close_ioctl+0x0/0x73 [drm] [] ? sched_clock+0x9/0xd [] ? sched_clock_local+0x17/0x11e [] ? file_has_perm+0x8f/0xa9 [] vfs_ioctl+0x2c/0x96 [] ? drm_ioctl+0x0/0x32b [drm] [] do_vfs_ioctl+0x49b/0x4d9 [] ? selinux_file_ioctl+0x43/0x46 [] sys_ioctl+0x46/0x66 [] sysenter_do_call+0x12/0x38 BUG: unable to handle kernel paging request at 6b6b861f IP: [] __mutex_unlock_slowpath+0x5f/0x104 *pde = 00000000 Oops: 0002 [#1] SMP last sysfs file: /sys/devices/virtual/vtconsole/vtcon0/uevent Modules linked in: radeon ttm drm_kms_helper drm i2c_algo_bit fuse rfcomm sco bridge stp llc bnep l2cap sunrpc ipv6 cpufreq_ondemand acpi_cpufreq uinput arc4 ecb iwl3945 iwlcore mac80211 snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_seq irda snd_seq_device thinkpad_acpi snd_pcm cfg80211 e1000e hwmon snd_timer iTCO_wdt snd btusb bluetooth iTCO_vendor_support video i2c_i801 microcode snd_page_alloc soundcore output crc_ccitt joydev rfkill pcspkr ums_cypress yenta_socket rsrc_nonstatic i2c_core [last unloaded: i2c_algo_bit] Pid: 2504, comm: Xorg Not tainted 2.6.34-rc5 #2 2007WUK/2007WUK EIP: 0060:[] EFLAGS: 00013006 CPU: 0 EIP is at __mutex_unlock_slowpath+0x5f/0x104 EAX: 00000100 EBX: 6b6b861b ECX: e99b9590 EDX: c28040e4 ESI: e9a151e0 EDI: 00003246 EBP: eef8ddf0 ESP: eef8dde4 DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 Process Xorg (pid: 2504, ti=eef8c000 task=e99b9590 task.ti=eef8c000) Stack: eef8de10 e9a151e0 e9a15214 eef8ddf8 c07ab31a eef8de08 f7f42260 00000000 <0> eefebb40 eef8de18 f7f50c55 e99ec230 eefebb40 eef8de2c f7d19a59 eefebb40 <0> f7d19a10 00000005 eef8de3c c05b4b1d eefebb40 eefebb40 eef8de48 f7d19bbd Call Trace: [] ? mutex_unlock+0xd/0xf [] ? radeon_bo_unref+0x46/0x56 [radeon] [] ? radeon_gem_object_free+0x27/0x39 [radeon] [] ? drm_gem_object_free_unlocked+0x49/0x55 [drm] [] ? drm_gem_object_free_unlocked+0x0/0x55 [drm] [] ? kref_put+0x39/0x42 [] ? drm_gem_object_handle_unreference_unlocked+0x28/0x2b [drm] [] ? drm_gem_close_ioctl+0x6b/0x73 [drm] [] ? drm_ioctl+0x245/0x32b [drm] [] ? drm_gem_close_ioctl+0x0/0x73 [drm] [] ? sched_clock+0x9/0xd [] ? sched_clock_local+0x17/0x11e [] ? file_has_perm+0x8f/0xa9 [] ? vfs_ioctl+0x2c/0x96 [] ? drm_ioctl+0x0/0x32b [drm] [] ? do_vfs_ioctl+0x49b/0x4d9 [] ? selinux_file_ioctl+0x43/0x46 [] ? sys_ioctl+0x46/0x66 [] ? sysenter_do_call+0x12/0x38 Code: c1 00 75 0f ba 3a 01 00 00 b8 ac 69 8d c0 e8 5d d5 c8 ff 9c 58 8d 74 26 00 89 c7 fa 90 8d 74 26 00 e8 ef 2e cb ff b8 00 01 00 00 66 0f c1 43 04 38 e0 74 07 f3 90 8a 43 04 eb f5 83 3d 18 2c EIP: [] __mutex_unlock_slowpath+0x5f/0x104 SS:ESP 0068:eef8dde4 CR2: 000000006b6b861f ---[ end trace ea1f7ab8efd48567 ]--- -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.