Bug 746412 - WARNING: at drivers/gpu/drm/radeon/radeon_fence.c:235 radeon_fence_wait+0x22e/0x2cd [radeon](), kernel BUG at drivers/gpu/drm/radeon/radeon_object.c:396!
Summary: WARNING: at drivers/gpu/drm/radeon/radeon_fence.c:235 radeon_fence_wait+0x22e...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-ati
Version: 14
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-15 14:00 UTC by Charles R. Anderson
Modified: 2018-04-11 07:02 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-16 16:38:09 UTC
Type: ---


Attachments (Terms of Use)

Description Charles R. Anderson 2011-10-15 14:00:56 UTC
Description of problem:

Package:    	kernel
Latest Crash:	Sat 15 Oct 2011 09:47:18 AM 
Command:    	not_applicable
Reason:     	[821066.207539] kernel BUG at drivers/gpu/drm/radeon/radeon_object.c:396!
Comment:    	01:00.1 Display controller: ATI Technologies Inc RV380 [Radeon X600]
		
Version-Release number of selected component (if applicable):
kernel-2.6.35.14-97.fc14.x86_64
xorg-x11-server-Xorg-1.9.5-1.fc14.x86_64
xorg-x11-drv-ati-6.13.1-0.4.20100705git37b348059.fc14.x86_64

How reproducible:
unsure

Steps to Reproduce:
1. use mplayer to play a video fullscreen/Xv with Radeon driver
2. pause/unpause video with spacebar in mplayer
3. speed up/slow down video with { and } keys in mplayer
  
Actual results:

X server crashed and restarted, but the background was all light blue with
the mouse cursor just a big square block.  Changing ttys with Ctrl-Alt-F2, F3, F4 etc. didn't change the display (but the mouse cursor disappeared, leading me to believe that the tty did actually change away from X).  I had to Ctrl-Alt-Del
to reboot and recover the system.

Expected results:

No kernel BUG, no X server crash.  

Additional info:

Comment 1 Charles R. Anderson 2011-10-15 14:04:54 UTC
First oops:

[821064.783190] WARNING: at drivers/gpu/drm/radeon/radeon_fence.c:235 radeon_fence_wait+0x22e/0x2cd [radeon]()
[821064.783194] Hardware name: OptiPlex GX620               
[821064.783197] GPU lockup (waiting for 0x000FC41C last fence id 0x000FC41B)
[821064.783200] Modules linked in: vfat fat usb_storage ip6t_LOG ip6table_filter ip6_tables tcp_lp fuse ebtable_nat ebtables bridge stp llc nfs lockd fscache nfs_acl auth_rpcgss sunrpc p4_clockmod freq_table speedstep_lib ipt_LOG nf_conntrack_tftp ip6t_REJECT nf_conntrack_ipv6 ipv6 uinput snd_intel8x0 snd_ac97_codec ac97_bus snd_seq snd_seq_device snd_pcm ppdev parport_pc parport snd_timer snd iTCO_wdt iTCO_vendor_support i2c_i801 soundcore snd_page_alloc serio_raw tg3 e1000 dcdbas microcode cryptd aes_x86_64 aes_generic xts gf128mul dm_crypt raid1 sata_sil24 radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core [last unloaded: nf_nat]
[821064.783265] Pid: 2239, comm: Xorg Not tainted 2.6.35.14-97.fc14.x86_64 #1
[821064.783269] Call Trace:
[821064.783280]  [<ffffffff8104dcb1>] warn_slowpath_common+0x85/0x9d
[821064.783285]  [<ffffffff8104dd6c>] warn_slowpath_fmt+0x46/0x48
[821064.783308]  [<ffffffffa009a918>] radeon_fence_wait+0x22e/0x2cd [radeon]
[821064.783314]  [<ffffffff81066a0b>] ? autoremove_wake_function+0x0/0x39
[821064.783337]  [<ffffffffa009b128>] radeon_sync_obj_wait+0x11/0x13 [radeon]
[821064.783349]  [<ffffffffa0061839>] ttm_bo_wait+0xa5/0x15c [ttm]
[821064.783375]  [<ffffffffa00a9b26>] radeon_bo_wait+0xb6/0xd7 [radeon]
[821064.783403]  [<ffffffffa00aa0e4>] radeon_gem_wait_idle_ioctl+0x40/0x77 [radeon]
[821064.783418]  [<ffffffffa00192b8>] drm_ioctl+0x28b/0x389 [drm]
[821064.783445]  [<ffffffffa00aa0a4>] ? radeon_gem_wait_idle_ioctl+0x0/0x77 [radeon]
[821064.783452]  [<ffffffff811e4323>] ? inode_has_perm.clone.20+0x79/0x8f
[821064.783458]  [<ffffffff8103c165>] ? need_resched+0x23/0x2d
[821064.783462]  [<ffffffff8103c17d>] ? should_resched+0xe/0x2e
[821064.783468]  [<ffffffff81469c99>] ? _cond_resched+0xe/0x22
[821064.783472]  [<ffffffff8103c165>] ? need_resched+0x23/0x2d
[821064.783477]  [<ffffffff8103c17d>] ? should_resched+0xe/0x2e
[821064.783481]  [<ffffffff8105cb1d>] ? recalc_sigpending+0x7c/0x81
[821064.783486]  [<ffffffff8146b24e>] ? _raw_spin_lock_irq+0x1f/0x21
[821064.783491]  [<ffffffff81124af3>] vfs_ioctl+0x36/0xa7
[821064.783496]  [<ffffffff81125454>] do_vfs_ioctl+0x468/0x49b
[821064.783501]  [<ffffffff8109a25a>] ? audit_syscall_exit+0x130/0x14c
[821064.783505]  [<ffffffff811254dd>] sys_ioctl+0x56/0x79
[821064.783510]  [<ffffffff81009f65>] ? int_check_syscall_exit_work+0x34/0x3d
[821064.783515]  [<ffffffff81009cb2>] system_call_fastpath+0x16/0x1b

Followed by:

[821066.207539] kernel BUG at drivers/gpu/drm/radeon/radeon_object.c:396!
[821066.207543] invalid opcode: 0000 [#1] SMP 
[821066.207548] last sysfs file: /sys/devices/system/cpu/cpu1/cache/index1/shared_cpu_map
[821066.207553] CPU 0 
[821066.207556] Modules linked in: vfat fat usb_storage ip6t_LOG ip6table_filter ip6_tables tcp_lp fuse ebtable_nat ebtables bridge stp llc nfs lockd fscache nfs_acl auth_rpcgss sunrpc p4_clockmod freq_table speedstep_lib ipt_LOG nf_conntrack_tftp ip6t_REJECT nf_conntrack_ipv6 ipv6 uinput snd_intel8x0 snd_ac97_codec ac97_bus snd_seq snd_seq_device snd_pcm ppdev parport_pc parport snd_timer snd iTCO_wdt iTCO_vendor_support i2c_i801 soundcore snd_page_alloc serio_raw tg3 e1000 dcdbas microcode cryptd aes_x86_64 aes_generic xts gf128mul dm_crypt raid1 sata_sil24 radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core [last unloaded: nf_nat]
[821066.207625] 
[821066.207630] Pid: 2239, comm: Xorg Tainted: G        W   2.6.35.14-97.fc14.x86_64 #1 0HH807/OptiPlex GX620               
[821066.207635] RIP: 0010:[<ffffffffa009c822>]  [<ffffffffa009c822>] radeon_bo_get_surface_reg+0x2a/0x12c [radeon]
[821066.207668] RSP: 0018:ffff8800d8b2bb08  EFLAGS: 00010246
[821066.207671] RAX: 0000000000000000 RBX: ffff8800d633d600 RCX: 0000000000000001
[821066.207674] RDX: 0000000000a17ffa RSI: 000000000000000c RDI: ffff8800d633d600
[821066.207678] RBP: ffff8800d8b2bb38 R08: 000000000000ff00 R09: 0000000000000000
[821066.207681] R10: ffff880158b2ba47 R11: 0000000000000000 R12: ffff8800d8378000
[821066.207684] R13: ffff8800d8378000 R14: 0000000000000000 R15: ffff8800d8b2bc18
[821066.207688] FS:  00007f6a71d8e860(0000) GS:ffff880002000000(0000) knlGS:0000000000000000
[821066.207692] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[821066.207695] CR2: 00007ff933104000 CR3: 00000000d928a000 CR4: 00000000000006f0
[821066.207698] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[821066.207702] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[821066.207706] Process Xorg (pid: 2239, threadinfo ffff8800d8b2a000, task ffff8800dab29740)
[821066.207709] Stack:
[821066.207711]  ffff8800d8378000 ffff8800d8378000 0000000000000000 ffff8800d8378000
[821066.207716] <0> 0000000000000000 ffff8800d8b2bc18 ffff8800d8b2bb68 ffffffffa008b94b
[821066.207722] <0> ffff8800d8b2bb68 ffff8800d8378000 0000000000000000 ffff8800dbba0ac0
[821066.207729] Call Trace:
[821066.207749]  [<ffffffffa008b94b>] radeon_surface_init+0x32/0x8d [radeon]
[821066.207779]  [<ffffffffa00b5bb3>] r300_resume+0xb3/0xc4 [radeon]
[821066.207800]  [<ffffffffa008cc13>] radeon_gpu_reset+0x71/0xb5 [radeon]
[821066.207823]  [<ffffffffa009a927>] radeon_fence_wait+0x23d/0x2cd [radeon]
[821066.207831]  [<ffffffff81066a0b>] ? autoremove_wake_function+0x0/0x39
[821066.207855]  [<ffffffffa009b128>] radeon_sync_obj_wait+0x11/0x13 [radeon]
[821066.207866]  [<ffffffffa0061839>] ttm_bo_wait+0xa5/0x15c [ttm]
[821066.207893]  [<ffffffffa00a9b26>] radeon_bo_wait+0xb6/0xd7 [radeon]
[821066.207921]  [<ffffffffa00aa0e4>] radeon_gem_wait_idle_ioctl+0x40/0x77 [radeon]
[821066.207937]  [<ffffffffa00192b8>] drm_ioctl+0x28b/0x389 [drm]
[821066.207964]  [<ffffffffa00aa0a4>] ? radeon_gem_wait_idle_ioctl+0x0/0x77 [radeon]
[821066.207971]  [<ffffffff811e4323>] ? inode_has_perm.clone.20+0x79/0x8f
[821066.207978]  [<ffffffff8103c165>] ? need_resched+0x23/0x2d
[821066.207982]  [<ffffffff8103c17d>] ? should_resched+0xe/0x2e
[821066.207988]  [<ffffffff81469c99>] ? _cond_resched+0xe/0x22
[821066.207992]  [<ffffffff8103c165>] ? need_resched+0x23/0x2d
[821066.207997]  [<ffffffff8103c17d>] ? should_resched+0xe/0x2e
[821066.208023]  [<ffffffff8105cb1d>] ? recalc_sigpending+0x7c/0x81
[821066.208029]  [<ffffffff8146b24e>] ? _raw_spin_lock_irq+0x1f/0x21
[821066.208034]  [<ffffffff81124af3>] vfs_ioctl+0x36/0xa7
[821066.208038]  [<ffffffff81125454>] do_vfs_ioctl+0x468/0x49b
[821066.208043]  [<ffffffff8109a25a>] ? audit_syscall_exit+0x130/0x14c
[821066.208048]  [<ffffffff811254dd>] sys_ioctl+0x56/0x79
[821066.208052]  [<ffffffff81009f65>] ? int_check_syscall_exit_work+0x34/0x3d
[821066.208057]  [<ffffffff81009cb2>] system_call_fastpath+0x16/0x1b
[821066.208060] Code: c3 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 08 0f 1f 44 00 00 8b 87 50 01 00 00 4c 8b a7 e0 01 00 00 48 89 fb 85 c0 75 02 <0f> 0b 31 c0 83 bf d0 01 00 00 00 0f 84 e4 00 00 00 8b b7 d8 01 
[821066.208112] RIP  [<ffffffffa009c822>] radeon_bo_get_surface_reg+0x2a/0x12c [radeon]
[821066.208136]  RSP <ffff8800d8b2bb08>

Comment 2 Matěj Cepl 2011-10-18 12:05:09 UTC
Thanks for the bug report.  We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue.

Please add drm.debug=0x04 to the kernel command line, restart computer, and attach

* your X server config file (/etc/X11/xorg.conf, if available),
* X server log file (/var/log/Xorg.*.log*; check with grep Backtrace /var/log/Xorg* which logs might be the most interesting ones, send us at least Xorg.0.log)
* output of the dmesg command, and
* system log (/var/log/messages)

to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 3 Fedora End Of Life 2012-08-16 16:38:12 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.