Bug 746404

Summary: [abrt] kernel: WARNING: at drivers/gpu/drm/radeon/radeon_fence.c:267 radeon_fence_wait+0x296/0x33d [radeon]()
Product: [Fedora] Fedora Reporter: Federico Simoncelli <fsimonce>
Component: xorg-x11-drv-atiAssignee: Jérôme Glisse <jglisse>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: 55a893bc8ec2a0d1aeea066db74dc3, airlied, bugzilla, colin, gansalmon, itamar, jglisse, jonathan, kernel-maint, madhu.chinakonda, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:6674ed8c4949f4167131d947ae639e06a632a764
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-13 14:57:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
radeon_rom.gz
none
gnome-shell.stack
none
gnome-shell.stack
none
Mesa-7.11-no-radeon-fence.patch none

Description Federico Simoncelli 2011-10-15 11:51:37 UTC
libreport version: 2.0.6
abrt_version:   2.0.4.981
cmdline:        BOOT_IMAGE=/vmlinuz-3.1.0-0.rc9.git0.0.fc16.x86_64 root=/dev/mapper/vg_nipah-lv_root ro quiet rhgb
comment:        The problems happen randomly at least once a day but I haven't been able to identify the steps to reproduce.
kernel:         undefined
reason:         WARNING: at drivers/gpu/drm/radeon/radeon_fence.c:267 radeon_fence_wait+0x296/0x33d [radeon]()
time:           Fri Oct 14 22:34:39 2011

backtrace:
:WARNING: at drivers/gpu/drm/radeon/radeon_fence.c:267 radeon_fence_wait+0x296/0x33d [radeon]()
:Hardware name: System Product Name
:GPU lockup (waiting for 0x0001DA04 last fence id 0x0001DA00)
:Modules linked in: ppdev parport_pc lp parport fuse ebtable_nat ebtables lockd ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack snd_hda_codec_hdmi snd_hda_codec_realtek joydev eeepc_wmi asus_wmi sparse_keymap rfkill microcode iTCO_wdt iTCO_vendor_support i2c_i801 serio_raw snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm e1000e snd_timer snd soundcore snd_page_alloc virtio_net kvm_intel kvm sunrpc uinput firewire_ohci firewire_core crc_itu_t mxm_wmi wmi radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core [last unloaded: scsi_wait_scan]
:Pid: 1132, comm: Xorg Not tainted 3.1.0-0.rc9.git0.0.fc16.x86_64 #1
:Call Trace:
: [<ffffffff81057a56>] warn_slowpath_common+0x83/0x9b
: [<ffffffff81057b11>] warn_slowpath_fmt+0x46/0x48
: [<ffffffffa00d26d4>] ? evergreen_gpu_is_lockup+0xbb/0xc3 [radeon]
: [<ffffffffa0098e0d>] radeon_fence_wait+0x296/0x33d [radeon]
: [<ffffffff81073426>] ? remove_wait_queue+0x3a/0x3a
: [<ffffffffa0099401>] radeon_sync_obj_wait+0x11/0x13 [radeon]
: [<ffffffffa00605fe>] ttm_bo_wait+0xbf/0x17a [ttm]
: [<ffffffffa0061031>] ? ttm_bo_list_ref_sub+0x29/0x2b [ttm]
: [<ffffffffa00a9e7b>] radeon_bo_wait+0x7b/0x9f [radeon]
: [<ffffffffa00aa3dd>] radeon_gem_wait_idle_ioctl+0x3d/0x70 [radeon]
: [<ffffffffa0015784>] drm_ioctl+0x29e/0x37b [drm]
: [<ffffffffa00aa3a0>] ? radeon_gem_busy_ioctl+0x86/0x86 [radeon]
: [<ffffffff811de8d4>] ? inode_has_perm+0x32/0x34
: [<ffffffff811de97d>] ? file_has_perm+0xa7/0xc9
: [<ffffffff81136f33>] do_vfs_ioctl+0x452/0x493
: [<ffffffff810a3a61>] ? audit_syscall_exit+0x12e/0x14a
: [<ffffffff81136fca>] sys_ioctl+0x56/0x7c
: [<ffffffff814bc375>] ? int_check_syscall_exit_work+0x34/0x3d
: [<ffffffff814bc0c2>] system_call_fastpath+0x16/0x1b

smolt_data:
:
:
:General
:=================================
:UUID: 2b5c90da-0abf-4b35-b757-aefdca2ce519
:OS: Fedora release 16 (Verne)
:Default run level: Unknown
:Language: en_US.utf8
:Platform: x86_64
:BogoMIPS: 6821.40
:CPU Vendor: GenuineIntel
:CPU Model: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
:CPU Stepping: 7
:CPU Family: 6
:CPU Model Num: 42
:Number of CPUs: 8
:CPU Speed: 3401
:System Memory: 7965
:System Swap: 28607
:Vendor: System manufacturer
:System: System Product Name System Version
:Form factor: Desktop
:Kernel: 3.1.0-0.rc9.git0.0.fc16.x86_64
:SELinux Enabled: 1
:SELinux Policy: targeted
:SELinux Enforce: Enforcing
:MythTV Remote: Unknown
:MythTV Role: Unknown
:MythTV Theme: Unknown
:MythTV Plugin: 
:MythTV Tuner: -1
:
:
:Devices
:=================================
:(6945:4224:6945:4224) pci, None, PCI/PCI, N/A
:(32902:7238:4163:33869) pci, None, PCI/ISA, P8P67 Deluxe Motherboard
:(32902:7188:4163:33869) pci, pcieport, PCI/PCI, 6 Series/C200 Series Chipset Family PCI Express Root Port 3
:(32902:7170:4163:33869) pci, ahci, STORAGE, P8P67 Deluxe Motherboard
:(32902:7184:4163:33869) pci, pcieport, PCI/PCI, 6 Series/C200 Series Chipset Family PCI Express Root Port 1
:(32902:7186:4163:33869) pci, pcieport, PCI/PCI, 6 Series/C200 Series Chipset Family PCI Express Root Port 2
:(32902:9294:4163:33869) pci, None, PCI/PCI, 82801 PCI Bridge
:(4358:12356:4163:33278) pci, firewire_ohci, FIREWIRE, M4A series motherboard
:(32902:7192:4163:33869) pci, pcieport, PCI/PCI, 6 Series/C200 Series Chipset Family PCI Express Root Port 5
:(32902:7200:4163:33897) pci, snd_hda_intel, MULTIMEDIA, 6 Series/C200 Series Chipset Family High Definition Audio Controller
:(32902:5379:4163:33948) pci, e1000e, ETHERNET, P8P67 Deluxe Motherboard
:(32902:7202:4163:33869) pci, i801_smbus, SERIAL, P8P67 Deluxe Motherboard
:(4147:404:4163:33811) pci, xhci_hcd, USB, P8P67 Deluxe Motherboard
:(4147:404:4163:33811) pci, xhci_hcd, USB, P8P67 Deluxe Motherboard
:(4098:26840:5963:57681) pci, radeon, VIDEO, Redwood [Radeon HD 5670]
:(32902:7213:4163:33869) pci, ehci_hcd, USB, P8P67 Deluxe Motherboard
:(32902:7206:4163:33869) pci, ehci_hcd, USB, P8P67 Deluxe Motherboard
:(32902:256:4163:33869) pci, None, HOST/PCI, P8P67 Deluxe Motherboard
:(32902:7226:4163:33869) pci, None, SIMPLE, P8P67 Deluxe Motherboard
:(4098:43616:5963:43616) pci, snd_hda_intel, MULTIMEDIA, Redwood HDMI Audio [Radeon HD 5600 Series]
:(32902:257:4163:33869) pci, pcieport, PCI/PCI, Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port
:
:
:Filesystem Information
:=================================
:device mtpt type bsize frsize blocks bfree bavail file ffree favail
:-------------------------------------------------------------------
:/dev/mapper/vg_nipah-lv_root / ext4 4096 4096 12385484 10624895 9995750 3145728 2952610 2952610
:/dev/sda1 /boot ext4 4096 4096 258022 243282 230175 65536 65317 65317
:/dev/sda4 WITHHELD ext4 4096 4096 447429002 200065086 177336996 113647616 113586706 113586706
:/dev/mapper/vg_nipah_old-lv_root WITHHELD ext4 4096 4096 38188571 7517737 5577872 9699328 9290011 9290011
:

Comment 1 Federico Simoncelli 2011-10-18 22:46:18 UTC
Another backtrace:

WARNING: at drivers/gpu/drm/radeon/radeon_fence.c:267 radeon_fence_wait+0x296/0x33d [radeon]()
Hardware name: System Product Name
GPU lockup (waiting for 0x0028F9B9 last fence id 0x0028F9B7)
Modules linked in: tcp_lp sctp libcrc32c ppdev parport_pc lp parport fuse ebtable_nat ebtables lockd ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack snd_hda_codec_hdmi snd_hda_codec_realtek joydev eeepc_wmi asus_wmi sparse_keymap rfkill microcode serio_raw i2c_i801 snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm e1000e iTCO_wdt iTCO_vendor_support snd_timer snd soundcore snd_page_alloc virtio_net kvm_intel kvm sunrpc uinput mxm_wmi firewire_ohci firewire_core crc_itu_t wmi radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core [last unloaded: scsi_wait_scan]
Pid: 1165, comm: Xorg Not tainted 3.1.0-0.rc9.git0.0.fc16.x86_64 #1
Call Trace:
 [<ffffffff81057a56>] warn_slowpath_common+0x83/0x9b
 [<ffffffff81057b11>] warn_slowpath_fmt+0x46/0x48
 [<ffffffffa00d26d4>] ? evergreen_gpu_is_lockup+0xbb/0xc3 [radeon]
 [<ffffffffa0098e0d>] radeon_fence_wait+0x296/0x33d [radeon]
 [<ffffffff81073426>] ? remove_wait_queue+0x3a/0x3a
 [<ffffffffa0099401>] radeon_sync_obj_wait+0x11/0x13 [radeon]
 [<ffffffffa00605fe>] ttm_bo_wait+0xbf/0x17a [ttm]
 [<ffffffffa0061031>] ? ttm_bo_list_ref_sub+0x29/0x2b [ttm]
 [<ffffffffa00a9e7b>] radeon_bo_wait+0x7b/0x9f [radeon]
 [<ffffffffa00aa3dd>] radeon_gem_wait_idle_ioctl+0x3d/0x70 [radeon]
 [<ffffffffa0015784>] drm_ioctl+0x29e/0x37b [drm]
 [<ffffffffa00aa3a0>] ? radeon_gem_busy_ioctl+0x86/0x86 [radeon]
 [<ffffffff811de8d4>] ? inode_has_perm+0x32/0x34
 [<ffffffff811de97d>] ? file_has_perm+0xa7/0xc9
 [<ffffffff81136f33>] do_vfs_ioctl+0x452/0x493
 [<ffffffff810a3a61>] ? audit_syscall_exit+0x12e/0x14a
 [<ffffffff81136fca>] sys_ioctl+0x56/0x7c
 [<ffffffff814bc375>] ? int_check_syscall_exit_work+0x34/0x3d
 [<ffffffff814bc0c2>] system_call_fastpath+0x16/0x1b

Comment 2 Federico Simoncelli 2011-10-18 22:46:59 UTC
Another backtrace:

WARNING: at drivers/gpu/drm/radeon/radeon_fence.c:267 radeon_fence_wait+0x296/0x33d [radeon]()
Hardware name: System Product Name
GPU lockup (waiting for 0x001E5FA1 last fence id 0x001E5F90)
Modules linked in: usblp sctp libcrc32c tcp_lp ppdev parport_pc lp parport fuse ebtable_nat ebtables lockd ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack snd_hda_codec_hdmi snd_hda_codec_realtek joydev snd_hda_intel virtio_net snd_hda_codec snd_hwdep kvm_intel snd_seq snd_seq_device kvm snd_pcm eeepc_wmi asus_wmi sparse_keymap rfkill uinput microcode i2c_i801 serio_raw iTCO_wdt iTCO_vendor_support e1000e snd_timer snd soundcore snd_page_alloc sunrpc mxm_wmi firewire_ohci firewire_core crc_itu_t wmi radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core [last unloaded: scsi_wait_scan]
Pid: 1169, comm: Xorg Not tainted 3.1.0-0.rc9.git0.0.fc16.x86_64 #1
Call Trace:
 [<ffffffff81057a56>] warn_slowpath_common+0x83/0x9b
 [<ffffffff81057b11>] warn_slowpath_fmt+0x46/0x48
 [<ffffffffa00d26d4>] ? evergreen_gpu_is_lockup+0xbb/0xc3 [radeon]
 [<ffffffffa0098e0d>] radeon_fence_wait+0x296/0x33d [radeon]
 [<ffffffffa009868c>] ? atom_allocate_fb_scratch+0x91/0x91 [radeon]
 [<ffffffff81073426>] ? remove_wait_queue+0x3a/0x3a
 [<ffffffffa0099401>] radeon_sync_obj_wait+0x11/0x13 [radeon]
 [<ffffffffa00605fe>] ttm_bo_wait+0xbf/0x17a [ttm]
 [<ffffffffa00c00d6>] ? r600_cp_commit+0x2a/0x2d [radeon]
 [<ffffffffa0062ead>] ttm_bo_move_accel_cleanup+0x9f/0x26a [ttm]
 [<ffffffffa0099533>] radeon_move_blit+0x120/0x13e [radeon]
 [<ffffffffa009b34f>] ? radeon_gart_bind+0x161/0x172 [radeon]
 [<ffffffffa0099ab0>] radeon_bo_move+0x103/0x12a [radeon]
 [<ffffffffa0061836>] ttm_bo_handle_move_mem+0x1c0/0x2a1 [ttm]
 [<ffffffffa0061bb6>] ttm_bo_evict+0x29f/0x2e8 [ttm]
 [<ffffffffa0061d51>] ttm_mem_evict_first+0x152/0x180 [ttm]
 [<ffffffffa00623c6>] ttm_bo_mem_space+0x29b/0x2ea [ttm]
 [<ffffffffa00624cb>] ttm_bo_move_buffer+0xb6/0x10c [ttm]
 [<ffffffffa001ec90>] ? drm_mm_insert_helper+0xd3/0xec [drm]
 [<ffffffffa00625d7>] ttm_bo_validate+0xb6/0xf4 [ttm]
 [<ffffffffa0062915>] ttm_bo_init+0x300/0x339 [ttm]
 [<ffffffffa009a442>] radeon_bo_create+0x1bf/0x248 [radeon]
 [<ffffffffa009a194>] ? radeon_bo_clear_surface_reg+0x50/0x50 [radeon]
 [<ffffffffa00a9f7a>] radeon_gem_object_create+0x53/0xd8 [radeon]
 [<ffffffffa00aa232>] radeon_gem_create_ioctl+0x4b/0x81 [radeon]
 [<ffffffffa00aa394>] ? radeon_gem_busy_ioctl+0x7a/0x86 [radeon]
 [<ffffffff8104402b>] ? should_resched+0xe/0x2d
 [<ffffffffa0015784>] drm_ioctl+0x29e/0x37b [drm]
 [<ffffffffa00aa1e7>] ? radeon_gem_pwrite_ioctl+0x28/0x28 [radeon]
 [<ffffffff811de8d4>] ? inode_has_perm+0x32/0x34
 [<ffffffff811de97d>] ? file_has_perm+0xa7/0xc9
 [<ffffffff81136f33>] do_vfs_ioctl+0x452/0x493
 [<ffffffff81136fca>] sys_ioctl+0x56/0x7c
 [<ffffffff814bc0c2>] system_call_fastpath+0x16/0x1b

Comment 3 Federico Simoncelli 2011-10-20 15:14:36 UTC
Created attachment 529319 [details]
radeon_rom.gz

Attaching the card rom for:

01:00.0 VGA compatible controller: ATI Technologies Inc Redwood [Radeon HD 5670]

Comment 4 Federico Simoncelli 2011-10-20 23:09:15 UTC
Created attachment 529400 [details]
gnome-shell.stack

The bug is now 100% reproducible scrolling pdf inside evince.
As attachment the gnome-shell stack trace when it hangs on the radeon lockup.

Oct 21 00:50:05 nipah kernel: [  326.010211] radeon 0000:01:00.0: GPU lockup CP stall for more than 10021msec
Oct 21 00:50:05 nipah kernel: [  326.010213] ------------[ cut here ]------------
Oct 21 00:50:05 nipah kernel: [  326.010232] WARNING: at drivers/gpu/drm/radeon/radeon_fence.c:267 radeon_fence_wait+0x296/0x33d [radeon]()
Oct 21 00:50:05 nipah kernel: [  326.010234] Hardware name: System Product Name
Oct 21 00:50:05 nipah kernel: [  326.010235] GPU lockup (waiting for 0x0000BB1A last fence id 0x0000BB15)
Oct 21 00:50:05 nipah kernel: [  326.010236] Modules linked in: sctp libcrc32c ppdev parport_pc lp parport fuse ebtable_nat ebtables lockd ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack snd_hda_codec_hdmi snd_hda_codec_realtek joydev eeepc_wmi asus_wmi sparse_keymap rfkill microcode i2c_i801 serio_raw iTCO_wdt iTCO_vendor_support snd_hda_intel snd_hda_codec snd_hwdep snd_seq virtio_net snd_seq_device kvm_intel snd_pcm kvm snd_timer e1000e snd soundcore snd_page_alloc uinput sunrpc mxm_wmi firewire_ohci firewire_core crc_itu_t wmi radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core [last unloaded: scsi_wait_scan]
Oct 21 00:50:05 nipah kernel: [  326.010262] Pid: 1120, comm: Xorg Not tainted 3.1.0-0.rc9.git0.0.fc16.x86_64 #1
Oct 21 00:50:05 nipah kernel: [  326.010263] Call Trace:
Oct 21 00:50:05 nipah kernel: [  326.010268]  [<ffffffff81057a56>] warn_slowpath_common+0x83/0x9b
Oct 21 00:50:05 nipah kernel: [  326.010270]  [<ffffffff81057b11>] warn_slowpath_fmt+0x46/0x48
Oct 21 00:50:05 nipah kernel: [  326.010284]  [<ffffffffa00d26d4>] ? evergreen_gpu_is_lockup+0xbb/0xc3 [radeon]
Oct 21 00:50:05 nipah kernel: [  326.010293]  [<ffffffffa0098e0d>] radeon_fence_wait+0x296/0x33d [radeon]
Oct 21 00:50:05 nipah kernel: [  326.010296]  [<ffffffff81073426>] ? remove_wait_queue+0x3a/0x3a
Oct 21 00:50:05 nipah kernel: [  326.010305]  [<ffffffffa0099401>] radeon_sync_obj_wait+0x11/0x13 [radeon]
Oct 21 00:50:05 nipah kernel: [  326.010310]  [<ffffffffa00605fe>] ttm_bo_wait+0xbf/0x17a [ttm]
Oct 21 00:50:05 nipah kernel: [  326.010313]  [<ffffffffa0061031>] ? ttm_bo_list_ref_sub+0x29/0x2b [ttm]
Oct 21 00:50:05 nipah kernel: [  326.010325]  [<ffffffffa00a9e7b>] radeon_bo_wait+0x7b/0x9f [radeon]
Oct 21 00:50:05 nipah kernel: [  326.010337]  [<ffffffffa00aa3dd>] radeon_gem_wait_idle_ioctl+0x3d/0x70 [radeon]
Oct 21 00:50:05 nipah kernel: [  326.010343]  [<ffffffffa0015784>] drm_ioctl+0x29e/0x37b [drm]
Oct 21 00:50:05 nipah kernel: [  326.010353]  [<ffffffffa00aa3a0>] ? radeon_gem_busy_ioctl+0x86/0x86 [radeon]
Oct 21 00:50:05 nipah kernel: [  326.010356]  [<ffffffff811de8d4>] ? inode_has_perm+0x32/0x34
Oct 21 00:50:05 nipah kernel: [  326.010358]  [<ffffffff811de97d>] ? file_has_perm+0xa7/0xc9
Oct 21 00:50:05 nipah kernel: [  326.010360]  [<ffffffff81136f33>] do_vfs_ioctl+0x452/0x493
Oct 21 00:50:05 nipah kernel: [  326.010363]  [<ffffffff810a3a61>] ? audit_syscall_exit+0x12e/0x14a
Oct 21 00:50:05 nipah kernel: [  326.010365]  [<ffffffff81136fca>] sys_ioctl+0x56/0x7c
Oct 21 00:50:05 nipah kernel: [  326.010368]  [<ffffffff814bc375>] ? int_check_syscall_exit_work+0x34/0x3d
Oct 21 00:50:05 nipah kernel: [  326.010370]  [<ffffffff814bc0c2>] system_call_fastpath+0x16/0x1b
Oct 21 00:50:05 nipah kernel: [  326.010371] ---[ end trace 7a55d0d4ee5a8516 ]---
Oct 21 00:50:05 nipah kernel: [  326.011453] radeon 0000:01:00.0: GPU softreset 
Oct 21 00:50:05 nipah kernel: [  326.011455] radeon 0000:01:00.0:   GRBM_STATUS=0xA0003828
Oct 21 00:50:05 nipah kernel: [  326.011457] radeon 0000:01:00.0:   GRBM_STATUS_SE0=0x00000007
Oct 21 00:50:05 nipah kernel: [  326.011459] radeon 0000:01:00.0:   GRBM_STATUS_SE1=0x00000007
Oct 21 00:50:05 nipah kernel: [  326.011462] radeon 0000:01:00.0:   SRBM_STATUS=0x200000C0
Oct 21 00:50:05 nipah kernel: [  326.011481] radeon 0000:01:00.0:   GRBM_SOFT_RESET=0x00007F6B
Oct 21 00:50:05 nipah kernel: [  326.011585] radeon 0000:01:00.0:   GRBM_STATUS=0x00003828
Oct 21 00:50:05 nipah kernel: [  326.011587] radeon 0000:01:00.0:   GRBM_STATUS_SE0=0x00000007
Oct 21 00:50:05 nipah kernel: [  326.011589] radeon 0000:01:00.0:   GRBM_STATUS_SE1=0x00000007
Oct 21 00:50:05 nipah kernel: [  326.011591] radeon 0000:01:00.0:   SRBM_STATUS=0x200000C0
Oct 21 00:50:05 nipah kernel: [  326.012594] radeon 0000:01:00.0: GPU reset succeed
Oct 21 00:50:05 nipah kernel: [  326.081093] radeon 0000:01:00.0: WB enabled
Oct 21 00:50:05 nipah kernel: [  326.097287] [drm] ring test succeeded in 0 usecs
Oct 21 00:50:05 nipah kernel: [  326.097293] [drm] ib test succeeded in 1 usecs

Comment 5 Federico Simoncelli 2011-10-20 23:40:11 UTC
Created attachment 529405 [details]
gnome-shell.stack

Reproduced again scrolling a pdf.

kernel-3.1.0-0.rc10.git0.1.fc16.x86_64
gnome-shell-3.2.1-1.fc16.x86_64
xorg-x11-drv-ati-6.14.2-2.20110727git8c9266ed2.fc16.x86_64

The complete gnome-shell stack as attachment.
Probably the intresting part is the Thread 1:

Thread 1 (Thread 0x7f26a0d5e9c0 (LWP 1692)):
#0  r600_fence_finish (pscreen=<optimized out>, fence=0x31b3840, timeout=18446744073709551615) at r600_pipe.c:621
#1  0x00007f2694f60edd in st_finish (st=0x2591f90) at state_tracker/st_cb_flush.c:106
#2  0x00007f2694f60f10 in st_glFinish (ctx=<optimized out>) at state_tracker/st_cb_flush.c:141
#3  0x00007f269ed4894c in _cogl_winsys_onscreen_swap_region (onscreen=<optimized out>, user_rectangles=<optimized out>, n_rectangles=1) at winsys/cogl-winsys-glx.c:1205
#4  0x00007f269f1a65c0 in clutter_stage_cogl_redraw (stage_window=0x259d1b0) at cogl/clutter-stage-cogl.c:534
#5  0x00007f269f20839a in clutter_stage_do_redraw (stage=0x260b170) at ./clutter-stage.c:1023
#6  _clutter_stage_do_update (stage=0x260b170) at ./clutter-stage.c:1079
#7  0x00007f269f1efba0 in clutter_clock_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>) at ./clutter-master-clock.c:384
#8  0x00007f269d38ca7d in g_main_dispatch (context=0x223d810) at gmain.c:2425
#9  g_main_context_dispatch (context=0x223d810) at gmain.c:2995
#10 0x00007f269d38d278 in g_main_context_iterate (context=0x223d810, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#11 0x00007f269d38d7c5 in g_main_loop_run (loop=0x2242430) at gmain.c:3281
#12 0x00007f26a0417aa1 in meta_run () at core/main.c:555
#13 0x00000000004029e1 in main (argc=1, argv=0x7fffa6dc3bc8) at main.c:571


radeon 0000:01:00.0: GPU lockup CP stall for more than 10006msec
------------[ cut here ]------------
WARNING: at drivers/gpu/drm/radeon/radeon_fence.c:267 radeon_fence_wait+0x296/0x33d [radeon]()
Hardware name: System Product Name
GPU lockup (waiting for 0x00002148 last fence id 0x00002142)
Modules linked in: sctp libcrc32c ppdev parport_pc lp parport fuse ebtable_nat ebtables lockd ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack snd_hda_codec_hdmi snd_hda_codec_realtek joydev eeepc_wmi asus_wmi sparse_keymap rfkill microcode i2c_i801 serio_raw snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm e1000e iTCO_wdt iTCO_vendor_support snd_timer snd soundcore snd_page_alloc virtio_net kvm_intel kvm uinput sunrpc mxm_wmi firewire_ohci firewire_core crc_itu_t wmi radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core [last unloaded: scsi_wait_scan]
Pid: 1168, comm: Xorg Not tainted 3.1.0-0.rc9.git0.0.fc16.x86_64 #1
Call Trace:
 [<ffffffff81057a56>] warn_slowpath_common+0x83/0x9b
 [<ffffffff81057b11>] warn_slowpath_fmt+0x46/0x48
 [<ffffffffa00d26d4>] ? evergreen_gpu_is_lockup+0xbb/0xc3 [radeon]
 [<ffffffffa0098e0d>] radeon_fence_wait+0x296/0x33d [radeon]
 [<ffffffff81073426>] ? remove_wait_queue+0x3a/0x3a
 [<ffffffffa0099401>] radeon_sync_obj_wait+0x11/0x13 [radeon]
 [<ffffffffa00605fe>] ttm_bo_wait+0xbf/0x17a [ttm]
 [<ffffffffa0061031>] ? ttm_bo_list_ref_sub+0x29/0x2b [ttm]
 [<ffffffffa00a9e7b>] radeon_bo_wait+0x7b/0x9f [radeon]
 [<ffffffffa00aa3dd>] radeon_gem_wait_idle_ioctl+0x3d/0x70 [radeon]
 [<ffffffffa0015784>] drm_ioctl+0x29e/0x37b [drm]
 [<ffffffffa00aa3a0>] ? radeon_gem_busy_ioctl+0x86/0x86 [radeon]
 [<ffffffff811de8d4>] ? inode_has_perm+0x32/0x34
 [<ffffffff811de97d>] ? file_has_perm+0xa7/0xc9
 [<ffffffff81136f33>] do_vfs_ioctl+0x452/0x493
 [<ffffffff810a3a61>] ? audit_syscall_exit+0x12e/0x14a
 [<ffffffff81136fca>] sys_ioctl+0x56/0x7c
 [<ffffffff814bc375>] ? int_check_syscall_exit_work+0x34/0x3d
 [<ffffffff814bc0c2>] system_call_fastpath+0x16/0x1b
---[ end trace 26fa94e559966ee4 ]---
radeon 0000:01:00.0: GPU softreset 
radeon 0000:01:00.0:   GRBM_STATUS=0xA0003828
radeon 0000:01:00.0:   GRBM_STATUS_SE0=0x00000007
radeon 0000:01:00.0:   GRBM_STATUS_SE1=0x00000007
radeon 0000:01:00.0:   SRBM_STATUS=0x200000C0
radeon 0000:01:00.0:   GRBM_SOFT_RESET=0x00007F6B
radeon 0000:01:00.0:   GRBM_STATUS=0x00003828
radeon 0000:01:00.0:   GRBM_STATUS_SE0=0x00000007
radeon 0000:01:00.0:   GRBM_STATUS_SE1=0x00000007
radeon 0000:01:00.0:   SRBM_STATUS=0x200000C0
radeon 0000:01:00.0: GPU reset succeed
radeon 0000:01:00.0: WB enabled
[drm] ring test succeeded in 0 usecs
[drm] ib test succeeded in 1 usecs

Comment 6 Chuck Ebbert 2011-10-21 03:37:26 UTC
Please don't set needinfo against maintainers. They have many open bugs.

Comment 7 Federico Simoncelli 2011-10-21 07:57:15 UTC
Chuck, I am in contact with David for this issue since weeks.
He asked me to open this bug and even yesterday morning I spoke with him about how to debug it.
It is appropriate to raise his attention to the new gnome-shell.stack.

Comment 8 Federico Simoncelli 2011-10-21 08:52:30 UTC
Created attachment 529446 [details]
Mesa-7.11-no-radeon-fence.patch

Reverting the patch:

http://cgit.freedesktop.org/mesa/mesa/commit/?id=948e1eb8e9c166ad5b74abc630d0760768ce78c9

seems to fix the problem.

Scratch builds can be found at:

http://fsimonce.fedorapeople.org/mesa/

Comment 9 Joshua Valenter 2011-11-14 19:15:13 UTC
Patch works for me too. I'm able to use gnome-shell without freezing now.
Without the patch gnome-shell + scrolling PDF in Evince caused always freezing.

graphics card: Radeon HD5850

Comment 10 Jérôme Glisse 2011-12-01 14:40:38 UTC
Does it lockup with mesa from git ?

Comment 12 Joshua Valenter 2011-12-06 12:24:47 UTC
(In reply to comment #10)
> Does it lockup with mesa from git ?

I tested git version (commit 19b10251) without any patches and it crashed on GDM almost immidiately.

Not sure if it's helpful but I tried mesa version from koji:

1) Boot Fedora Live-USB and installed a new mesa version

http://koji.fedoraproject.org/koji/buildinfo?buildID=276852

# rpm --force -ivh *
Preparing...                ########################################### [100%]
   1:llvm-libs              ########################################### [ 25%]
   2:mesa-dri-filesystem    ########################################### [ 50%]
   3:mesa-dri-drivers       ########################################### [ 75%]
   4:llvm                   ########################################### [100%]
[root@localhost Downloads]# ls -l
total 17692
-rw-rw-r--. 1 liveuser liveuser  1125557 Dec  6 09:01 llvm-3.0-0.1.rc3.fc17.x86_64.rpm
-rw-rw-r--. 1 liveuser liveuser  6229085 Dec  6 09:02 llvm-libs-3.0-0.1.rc3.fc17.x86_64.rpm
-rw-rw-r--. 1 liveuser liveuser 10733269 Dec  6 08:59 mesa-dri-drivers-7.12-0.5.fc17.x86_64.rpm
-rw-rw-r--. 1 liveuser liveuser    20649 Dec  6 08:59 mesa-dri-filesystem-7.12-0.5.fc17.x86_64.rpm

2) CTRL-ALT-Backspace

3) Koji version seems to work without problems

Comment 13 Federico Simoncelli 2012-01-25 21:46:23 UTC
The problem is still present. Reading PDF files with evince is still a pain.

kernel-3.2.1-3.fc16.x86_64
mesa-dri-drivers-7.11.2-1.fc16.x86_64
xorg-x11-drv-ati-6.14.3-3.20111125git534fb6e41.fc16.x86_64

Can anyone look at the stack trace or at the proposed patch so that we can actually understand what is going on?

Comment 14 Jason Smith 2012-05-29 02:59:51 UTC
Hi everyone,

I came across many ABRT reports for radeon_fence errors & while working on report #721140 as well as attempting to duplicate this error on my AMD/ATI (AMD A8-3520 APU with Radeon HD 6620G GPU) hardware, I have received feedback and witnessed on my hardware that this error may have been resolved with F16 software with current updates.

On testing on my hardware, I received no errors scrolling 3 different PDFs, however I am using a different Radeon GPU and this was tested using Okular viewer on a KDE 4.8.3 environment.  I'm not sure if this would have tossed in enough outside variables for a different result.

I hope that I am not out of line for commenting on this report, and if so I deeply apologize. However I was triaging some of the aged reports and came across a handful of these radeon_fence error reports generated by ABRT.  If I can offer any assistance, please let me know and I'll do anything I can to help.

---
Jason
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 15 Fedora End Of Life 2013-01-16 14:00:45 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is 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" 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

Comment 16 Fedora End Of Life 2013-02-13 14:57:45 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.