[Bug 109085] Radeon driver crashes with a message "ring 0 stalled for more than 10344msec" when using Citra and others

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

 



Comment # 2 on bug 109085 from
Similar situation:

Radeon driver dies whith any load from xorg (i.g. firefox browser, evince, gimp
etc.). The system keeps running, nothing else dies.

Output from dmesg:
[ 2067.992330] radeon 0000:01:00.0: ring 0 stalled for more than 10088msec
[ 2067.992339] radeon 0000:01:00.0: GPU lockup (current fence id
0x000000000004e138 last fence id 0x000000000004e1d6 on ring 0)
[ 2068.002741] BUG: unable to handle kernel paging request at ffffc90401c1fffc
[ 2068.002810] IP: [<ffffffffc0208eba>] radeon_ring_backup+0xda/0x190 [radeon]
[ 2068.002912] PGD 2371aa067 PUD 0 
[ 2068.002949] Oops: 0000 [#1] SMP 
[ 2068.002986] Modules linked in: drbg ansi_cprng ctr ccm ipt_REJECT
nf_reject_ipv4 rfcomm xt_multiport bnep arc4 ath9k ath9k_common ath9k_hw
snd_hda_codec_realtek ath mac80211 snd_hda_codec_hdmi snd_hda_codec_generic
snd_hda_intel snd_hda_codec btusb snd_hda_core btrtl btbcm snd_hwdep btintel
cfg80211 bluetooth snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq
gpio_ich dcdbas dell_smm_hwmon intel_powerclamp snd_seq_device coretemp
snd_timer kvm_intel snd kvm mei_me mei input_leds joydev soundcore irqbypass
serio_raw shpchp i7core_edac i2c_i801 edac_core lpc_ich mac_hid ip6table_filter
ip6_tables iptable_filter ip_tables x_tables binfmt_misc parport_pc ppdev lp
parport autofs4 hid_generic usbhid hid uas usb_storage amdkfd amd_iommu_v2
radeon i2c_algo_bit ttm drm_kms_helper syscopyarea sysfillrect
[ 2068.003826]  sysimgblt fb_sys_fops drm psmouse broadcom bcm_phy_lib
firewire_ohci tg3 firewire_core ahci ptp libahci pps_core crc_itu_t fjes
[ 2068.003977] CPU: 2 PID: 1201 Comm: Xorg Not tainted 4.4.167 #1
[ 2068.004024] Hardware name: Dell Inc. Studio XPS 8100/0T568R, BIOS A02
11/27/2009
[ 2068.004081] task: ffff880233a66600 ti: ffff880232644000 task.ti:
ffff880232644000
[ 2068.004138] RIP: 0010:[<ffffffffc0208eba>]  [<ffffffffc0208eba>]
radeon_ring_backup+0xda/0x190 [radeon]
[ 2068.004249] RSP: 0018:ffff880232647c48  EFLAGS: 00010202
[ 2068.004291] RAX: ffffc900014a8000 RBX: 00000000ffffffff RCX:
0000000000000000
[ 2068.004345] RDX: 0000000000000000 RSI: ffffc90401c1fffc RDI:
0000000000010340
[ 2068.004399] RBP: ffff880232647c78 R08: 00003ffffffff000 R09:
8000000000000163
[ 2068.004453] R10: 0000000000000000 R11: ffffffff81cd74f7 R12:
ffff880235f054e0
[ 2068.004507] R13: ffff880235f054b8 R14: 00000000000040d1 R15:
ffff880232647cc0
[ 2068.004563] FS:  00007f21afcbda00(0000) GS:ffff88023fc80000(0000)
knlGS:0000000000000000
[ 2068.004624] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2068.004669] CR2: ffffc90401c1fffc CR3: 0000000231f96000 CR4:
0000000000000670
[ 2068.004722] Stack:
[ 2068.004741]  ffff880235f04000 ffff880235f04000 ffff880235f054e0
ffff880232647cc0
[ 2068.004811]  ffff880235f054e0 0000000000000000 ffff880232647d30
ffffffffc01d6d59
[ 2068.004881]  ffff880235f04740 00ff880200000001 ffff880235f04018
ffff8802292d6840
[ 2068.004950] Call Trace:
[ 2068.004999]  [<ffffffffc01d6d59>] radeon_gpu_reset+0xd9/0x350 [radeon]
[ 2068.005054]  [<ffffffff815d0156>] ? fence_wait_timeout+0x86/0x170
[ 2068.005323]  [<ffffffffc0206c0e>] radeon_gem_handle_lockup.part.3+0xe/0x20
[radeon]
[ 2068.005418]  [<ffffffffc0207b35>] radeon_gem_wait_idle_ioctl+0xe5/0x130
[radeon]
[ 2068.005496]  [<ffffffffc00e7885>] drm_ioctl+0x155/0x540 [drm]
[ 2068.005545]  [<ffffffff81092f71>] ? __set_task_blocked+0x41/0xa0
[ 2068.005627]  [<ffffffffc0207a50>] ? radeon_gem_busy_ioctl+0xe0/0xe0 [radeon]
[ 2068.005684]  [<ffffffff8102e5c7>] ? do_signal+0x1b7/0x6f0
[ 2068.005750]  [<ffffffffc01d404c>] radeon_drm_ioctl+0x4c/0x80 [radeon]
[ 2068.005803]  [<ffffffff8122f5df>] do_vfs_ioctl+0x2af/0x4b0
[ 2068.005848]  [<ffffffff8122f859>] SyS_ioctl+0x79/0x90
[ 2068.005892]  [<ffffffff818613db>] entry_SYSCALL_64_fastpath+0x22/0xcb
[ 2068.005941] Code: ff c0 48 85 c0 49 89 07 74 6c 41 8d 7e ff 31 d2 48 c1 e7
02 eb 07 49 8b 07 48 83 c2 04 49 8b 74 24 08 8d 4b 01 89 db 48 8d 34 9e <8b> 36
89 34 10 41 23 4c 24 54 48 39 d7 89 cb 75 da 4c 89 ef e8 
[ 2068.006358] RIP  [<ffffffffc0208eba>] radeon_ring_backup+0xda/0x190 [radeon]
[ 2068.006452]  RSP <ffff880232647c48>
[ 2068.006480] CR2: ffffc90401c1fffc
[ 2068.025324] ---[ end trace b8f815bc378acbe0 ]---
[ 2393.673445] perf interrupt took too long (2512 > 2500), lowering
kernel.perf_event_max_sample_rate to 50000
[18850.422884] perf interrupt took too long (5254 > 5000), lowering
kernel.perf_event_max_sample_rate to 25000


Output from Xorg.0.log:
(EE) [mi] EQ overflowing.  Additional events will be discarded until existing
events are processed.
(EE)
(EE) Backtrace:
(EE) 0: /usr/lib/xorg/Xorg (xorg_backtrace+0x4e) [0x55d7c20de6ce]
(EE) 1: /usr/lib/xorg/Xorg (mieqEnqueue+0x253) [0x55d7c20c0173]
(EE) 2: /usr/lib/xorg/Xorg (QueuePointerEvents+0x52) [0x55d7c1f988c2]
(EE) 3: /usr/lib/xorg/modules/input/evdev_drv.so (0x7f219f7d2000+0x61f3)
[0x7f219f7d81f3]
(EE) 4: /usr/lib/xorg/modules/input/evdev_drv.so (0x7f219f7d2000+0x6a5d)
[0x7f219f7d8a5d]
(EE) 5: /usr/lib/xorg/Xorg (0x55d7c1f2c000+0x94268) [0x55d7c1fc0268]
(EE) 6: /usr/lib/xorg/Xorg (0x55d7c1f2c000+0xb9652) [0x55d7c1fe5652]
(EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (0x7f21ada49000+0x354b0)
[0x7f21ada7e4b0]
(EE) 8: /lib/x86_64-linux-gnu/libc.so.6 (ioctl+0x5) [0x7f21adb45f45]
(EE) 9: /usr/lib/x86_64-linux-gnu/libdrm.so.2 (drmIoctl+0x28) [0x7f21aee2e478]
(EE) 10: /usr/lib/x86_64-linux-gnu/libdrm.so.2 (drmCommandWrite+0x1b)
[0x7f21aee3121b]
(EE) 11: /usr/lib/x86_64-linux-gnu/dri/r600_dri.so (0x7f21a7e9a000+0x7f3c6c)
[0x7f21a868dc6c]
(EE) 12: /usr/lib/x86_64-linux-gnu/dri/r600_dri.so (0x7f21a7e9a000+0x7f3f59)
[0x7f21a868df59]
(EE) 13: /usr/lib/x86_64-linux-gnu/dri/r600_dri.so (0x7f21a7e9a000+0x7f56b3)
[0x7f21a868f6b3]
(EE) 14: /usr/lib/x86_64-linux-gnu/dri/r600_dri.so (0x7f21a7e9a000+0x6e7c55)
[0x7f21a8581c55]
(EE) 15: /usr/lib/x86_64-linux-gnu/dri/r600_dri.so (0x7f21a7e9a000+0x259c49)
[0x7f21a80f3c49]
(EE) 16: /usr/lib/x86_64-linux-gnu/dri/r600_dri.so (0x7f21a7e9a000+0x1b8133)
[0x7f21a8052133]
(EE) 17: /usr/lib/x86_64-linux-gnu/dri/r600_dri.so (0x7f21a7e9a000+0x1b82d2)
[0x7f21a80522d2]
(EE) 18: /usr/lib/xorg/modules/libglamoregl.so (0x7f21a96cf000+0x1c7b5)
[0x7f21a96eb7b5]
(EE) 19: /usr/lib/xorg/modules/libglamoregl.so (0x7f21a96cf000+0xf271)
[0x7f21a96de271]
(EE) 20: /usr/lib/xorg/Xorg (0x55d7c1f2c000+0x1a1758) [0x55d7c20cd758]
(EE) 21: /usr/lib/xorg/Xorg (0x55d7c1f2c000+0xe040a) [0x55d7c200c40a]
(EE) 22: /usr/lib/xorg/Xorg (0x55d7c1f2c000+0x12eb65) [0x55d7c205ab65]
(EE) 23: /usr/lib/xorg/Xorg (0x55d7c1f2c000+0x53d9f) [0x55d7c1f7fd9f]
(EE) 24: /usr/lib/xorg/Xorg (0x55d7c1f2c000+0x57e13) [0x55d7c1f83e13]
(EE) 25: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf0)
[0x7f21ada69830]
(EE) 26: /usr/lib/xorg/Xorg (_start+0x29) [0x55d7c1f6e069]
(EE)
(EE) [mi] These backtraces from mieqEnqueue may point to a culprit higher up
the stack.
(EE) [mi] mieq is *NOT* the cause.  It is a victim.

Please provide pointers as to where to start digging in the driver code to
solve this issue.


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://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