[Bug 27866] d-r-t crashes at radeon_bo_unref() with dynpm=1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugs.freedesktop.org/show_bug.cgi?id=27866

--- Comment #3 from Alex Deucher <agd5f@xxxxxxxxx> 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: [<f7d19a4b>]
drm_gem_object_free_unlocked+0x3b/0x55 [drm]
 #1:  (&rdev->vram_mutex){+.+.+.}, at: [<f7f42246>] radeon_bo_unref+0x2c/0x56
[radeon]
 #2:  (&mm->mmap_sem){++++++}, at: [<c07af871>] do_page_fault+0x18c/0x302
irq event stamp: 378986
hardirqs last  enabled at (378985): [<c04d036f>] kfree+0x10a/0x11b
hardirqs last disabled at (378986): [<c07ab263>]
__mutex_unlock_slowpath+0x5a/0x104
softirqs last  enabled at (378634): [<c043de93>] __do_softirq+0x164/0x173
softirqs last disabled at (378611): [<c043dedd>] do_softirq+0x3b/0x5f
Pid: 2504, comm: Xorg Not tainted 2.6.34-rc5 #2
Call Trace:
 [<c04305ef>] __might_sleep+0xdd/0xe4
 [<c07af8b3>] do_page_fault+0x1ce/0x302
 [<c07af6e5>] ? do_page_fault+0x0/0x302
 [<c07ad4fc>] error_code+0x78/0x80
 [<c07ab268>] ? __mutex_unlock_slowpath+0x5f/0x104
 [<c07ab31a>] mutex_unlock+0xd/0xf
 [<f7f42260>] radeon_bo_unref+0x46/0x56 [radeon]
 [<f7f50c55>] radeon_gem_object_free+0x27/0x39 [radeon]
 [<f7d19a59>] drm_gem_object_free_unlocked+0x49/0x55 [drm]
 [<f7d19a10>] ? drm_gem_object_free_unlocked+0x0/0x55 [drm]
 [<c05b4b1d>] kref_put+0x39/0x42
 [<f7d19bbd>] drm_gem_object_handle_unreference_unlocked+0x28/0x2b [drm]
 [<f7d19d37>] drm_gem_close_ioctl+0x6b/0x73 [drm]
 [<f7d18b92>] drm_ioctl+0x245/0x32b [drm]
 [<f7d19ccc>] ? drm_gem_close_ioctl+0x0/0x73 [drm]
 [<c0407a11>] ? sched_clock+0x9/0xd
 [<c0453cc3>] ? sched_clock_local+0x17/0x11e
 [<c0585b0c>] ? file_has_perm+0x8f/0xa9
 [<c04e4de1>] vfs_ioctl+0x2c/0x96
 [<f7d1894d>] ? drm_ioctl+0x0/0x32b [drm]
 [<c04e5394>] do_vfs_ioctl+0x49b/0x4d9
 [<c0585db0>] ? selinux_file_ioctl+0x43/0x46
 [<c04e5418>] sys_ioctl+0x46/0x66
 [<c04032df>] sysenter_do_call+0x12/0x38
BUG: unable to handle kernel paging request at 6b6b861f
IP: [<c07ab268>] __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:[<c07ab268>] 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:
 [<c07ab31a>] ? mutex_unlock+0xd/0xf
 [<f7f42260>] ? radeon_bo_unref+0x46/0x56 [radeon]
 [<f7f50c55>] ? radeon_gem_object_free+0x27/0x39 [radeon]
 [<f7d19a59>] ? drm_gem_object_free_unlocked+0x49/0x55 [drm]
 [<f7d19a10>] ? drm_gem_object_free_unlocked+0x0/0x55 [drm]
 [<c05b4b1d>] ? kref_put+0x39/0x42
 [<f7d19bbd>] ? drm_gem_object_handle_unreference_unlocked+0x28/0x2b [drm]
 [<f7d19d37>] ? drm_gem_close_ioctl+0x6b/0x73 [drm]
 [<f7d18b92>] ? drm_ioctl+0x245/0x32b [drm]
 [<f7d19ccc>] ? drm_gem_close_ioctl+0x0/0x73 [drm]
 [<c0407a11>] ? sched_clock+0x9/0xd
 [<c0453cc3>] ? sched_clock_local+0x17/0x11e
 [<c0585b0c>] ? file_has_perm+0x8f/0xa9
 [<c04e4de1>] ? vfs_ioctl+0x2c/0x96
 [<f7d1894d>] ? drm_ioctl+0x0/0x32b [drm]
 [<c04e5394>] ? do_vfs_ioctl+0x49b/0x4d9
 [<c0585db0>] ? selinux_file_ioctl+0x43/0x46
 [<c04e5418>] ? sys_ioctl+0x46/0x66
 [<c04032df>] ? 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 <f0> 66 0f c1 43 04 38
e0 74 07 f3 90 8a 43 04 eb f5 83 3d 18 2c 
EIP: [<c07ab268>] __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.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux