You are not logged in.

#1 2013-07-31 01:10:27

SpyChicken
Member
Registered: 2013-01-27
Posts: 11

Fun with GPU Lockups and Kernel Oops

Lately, I've been getting a lot of GPU lockups, especially when running Flash (YouTube) in Firefox.  It's starting to get more often, and today it resulted in a Kernel Oops.

I should note that Firefox plugin-container has also been crashing a bit, with signature @ libc-2.17.so@0x130d4b.  This could be related?

I'm running 3.10.2-1-ARCH x86_64 and using the 'radeon' kernel module.

$ lspci -vnn | grep VGA
02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RV710/M92 [Mobility Radeon HD 4330/4350/4550] [1002:9552] (prog-if 00 [VGA controller])

Xorg.0.log isn't showing anything since the 22nd, and I'm suspecting it doesn't if I launch via GDM instead of manually via startx.  I'll try to use startx now, but the frequency of the hang is inconsistent, so I'm not sure when I can get it.

Here's the dmesg of the lockup and oops:

[112732.640832] radeon 0000:02:00.0: GPU lockup CP stall for more than 10000msec
[112732.640843] radeon 0000:02:00.0: GPU lockup (waiting for 0x00000000010e3ebe last fence id 0x00000000010e3eb9)
[112743.136398] radeon 0000:02:00.0: GPU lockup CP stall for more than 10000msec
[112743.136410] radeon 0000:02:00.0: GPU lockup (waiting for 0x00000000002a7763 last fence id 0x00000000002a775e)
[112743.239396] radeon 0000:02:00.0: fence driver on ring 5 use gpu addr 0x0000000000900598 and cpu addr 0xffffc9001191d598
[112743.255482] radeon 0000:02:00.0: Saved 409 dwords of commands on ring 0.
[112743.255502] radeon 0000:02:00.0: GPU softreset: 0x0000001D
[112743.255511] radeon 0000:02:00.0:   R_008010_GRBM_STATUS      = 0xA23334A1
[112743.255518] radeon 0000:02:00.0:   R_008014_GRBM_STATUS2     = 0x00000002
[112743.255525] radeon 0000:02:00.0:   R_000E50_SRBM_STATUS      = 0x200400C0
[112743.255531] radeon 0000:02:00.0:   R_008674_CP_STALLED_STAT1 = 0x04000000
[112743.255537] radeon 0000:02:00.0:   R_008678_CP_STALLED_STAT2 = 0x00010002
[112743.255542] radeon 0000:02:00.0:   R_00867C_CP_BUSY_STAT     = 0x00008482
[112743.255547] radeon 0000:02:00.0:   R_008680_CP_STAT          = 0x80818643
[112743.255552] radeon 0000:02:00.0:   R_00D034_DMA_STATUS_REG   = 0x44483146
[112743.318093] radeon 0000:02:00.0: R_008020_GRBM_SOFT_RESET=0x00007F6B
[112743.318153] radeon 0000:02:00.0: SRBM_SOFT_RESET=0x00100100
[112743.320264] radeon 0000:02:00.0:   R_008010_GRBM_STATUS      = 0x00003028
[112743.320269] radeon 0000:02:00.0:   R_008014_GRBM_STATUS2     = 0x00000002
[112743.320275] radeon 0000:02:00.0:   R_000E50_SRBM_STATUS      = 0x200400C0
[112743.320280] radeon 0000:02:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
[112743.320285] radeon 0000:02:00.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
[112743.320290] radeon 0000:02:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
[112743.320295] radeon 0000:02:00.0:   R_008680_CP_STAT          = 0x00000000
[112743.320304] radeon 0000:02:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
[112743.320314] radeon 0000:02:00.0: GPU reset succeeded, trying to resume
[112743.339319] [drm] PCIE GART of 512M enabled (table at 0x0000000000142000).
[112743.339400] radeon 0000:02:00.0: WB enabled
[112743.339407] radeon 0000:02:00.0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0xffff8801314d9c00
[112743.339412] radeon 0000:02:00.0: fence driver on ring 3 use gpu addr 0x0000000020000c0c and cpu addr 0xffff8801314d9c0c
[112743.339433] radeon 0000:02:00.0: ffff880130f04400 pin failed
[112743.339442] radeon 0000:02:00.0: (-16) UVD bo pin failed
[112743.386126] [drm] ring test on 0 succeeded in 1 usecs
[112743.386192] [drm] ring test on 3 succeeded in 1 usecs
[112753.881851] radeon 0000:02:00.0: GPU lockup CP stall for more than 10000msec
[112753.881861] radeon 0000:02:00.0: GPU lockup (waiting for 0x00000000010e3ec5 last fence id 0x00000000010e3ebb)
[112753.881867] [drm:r600_ib_test] *ERROR* radeon: fence wait failed (-35).
[112753.881873] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on GFX ring (-35).
[112753.881878] radeon 0000:02:00.0: ib ring test failed (-35).
[112753.897965] radeon 0000:02:00.0: GPU softreset: 0x00000088
[112753.897971] radeon 0000:02:00.0:   R_008010_GRBM_STATUS      = 0xA0003028
[112753.897976] radeon 0000:02:00.0:   R_008014_GRBM_STATUS2     = 0x00000002
[112753.897981] radeon 0000:02:00.0:   R_000E50_SRBM_STATUS      = 0x200450C0
[112753.897985] radeon 0000:02:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
[112753.897990] radeon 0000:02:00.0:   R_008678_CP_STALLED_STAT2 = 0x00010002
[112753.897995] radeon 0000:02:00.0:   R_00867C_CP_BUSY_STAT     = 0x00005082
[112753.897999] radeon 0000:02:00.0:   R_008680_CP_STAT          = 0x80098647
[112753.898003] radeon 0000:02:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
[112753.948225] radeon 0000:02:00.0: R_008020_GRBM_SOFT_RESET=0x00004001
[112753.948283] radeon 0000:02:00.0: SRBM_SOFT_RESET=0x00008100
[112753.950394] radeon 0000:02:00.0:   R_008010_GRBM_STATUS      = 0x00003028
[112753.950399] radeon 0000:02:00.0:   R_008014_GRBM_STATUS2     = 0x00000002
[112753.950404] radeon 0000:02:00.0:   R_000E50_SRBM_STATUS      = 0x200400C0
[112753.950409] radeon 0000:02:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
[112753.950413] radeon 0000:02:00.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
[112753.950418] radeon 0000:02:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
[112753.950422] radeon 0000:02:00.0:   R_008680_CP_STAT          = 0x00000000
[112753.950427] radeon 0000:02:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
[112753.950436] radeon 0000:02:00.0: GPU reset succeeded, trying to resume
[112753.954927] [drm] PCIE GART of 512M enabled (table at 0x0000000000142000).
[112753.955004] radeon 0000:02:00.0: WB enabled
[112753.955011] radeon 0000:02:00.0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0xffff8801314d9c00
[112753.955015] radeon 0000:02:00.0: fence driver on ring 3 use gpu addr 0x0000000020000c0c and cpu addr 0xffff8801314d9c0c
[112754.001672] [drm] ring test on 0 succeeded in 1 usecs
[112754.001737] [drm] ring test on 3 succeeded in 1 usecs
[112754.001795] [drm] ib test on ring 0 succeeded in 0 usecs
[112754.001826] [drm] ib test on ring 3 succeeded in 1 usecs
[112754.151988] radeon 0000:02:00.0: scheduling IB failed (-12).
[112754.151996] [drm:r600_uvd_ib_test] *ERROR* radeon: failed to get create msg (-12).
[112754.152002] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on ring 5 (-12).
[112766.270032] radeon 0000:02:00.0: GPU lockup CP stall for more than 10000msec
[112766.270043] radeon 0000:02:00.0: GPU lockup (waiting for 0x00000000010e3ed1 last fence id 0x00000000010e3ecd)
[112766.286109] radeon 0000:02:00.0: Saved 134 dwords of commands on ring 0.
[112766.286146] BUG: unable to handle kernel paging request at ffffc9001191d598
[112766.286233] IP: [<ffffffffa08079a0>] radeon_fence_process+0x60/0x150 [radeon]
[112766.286329] PGD 133418067 PUD 133419067 PMD 12dd00067 PTE 0
[112766.286400] Oops: 0000 [#1] PREEMPT SMP 
[112766.286451] Modules linked in: nls_cp437 vfat fat fuse pci_stub vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media arc4 b43 intel_powerclamp bcma coretemp joydev mac80211 kvm_intel cfg80211 radeon snd_hda_codec_hdmi kvm snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep dell_wmi ttm sparse_keymap rfkill snd_pcm drm_kms_helper ssb crc32c_intel mmc_core microcode pcmcia iTCO_wdt iTCO_vendor_support i2c_i801 r8169 snd_page_alloc snd_timer snd drm i2c_algo_bit psmouse pcmcia_core i2c_core dell_laptop dcdbas lpc_ich mei_me mei pcspkr serio_raw evdev mii wmi soundcore intel_agp intel_gtt fan thermal battery button ac video acpi_cpufreq mperf processor ext4 crc16 mbcache jbd2 hid_generic usbhid hid ums_realtek usb_storage
[112766.287452]  sr_mod cdrom sd_mod ahci libahci libata scsi_mod ehci_pci ehci_hcd usbcore usb_common
[112766.287575] CPU: 1 PID: 438 Comm: Xorg Tainted: G           O 3.10.2-1-ARCH #1
[112766.287646] Hardware name: Dell Inc. Inspiron 1764/0H4K11, BIOS A13 03/29/2011
[112766.287717] task: ffff88012bd51950 ti: ffff880130d1c000 task.ti: ffff880130d1c000
[112766.287790] RIP: 0010:[<ffffffffa08079a0>]  [<ffffffffa08079a0>] radeon_fence_process+0x60/0x150 [radeon]
[112766.287903] RSP: 0018:ffff880130d1dc20  EFLAGS: 00010282
[112766.287958] RAX: ffffc9001191d598 RBX: 0000000000000014 RCX: ffffffff00000000
[112766.288029] RDX: 00000000000001e0 RSI: 0000000000000000 RDI: ffff880130e6c000
[112766.288101] RBP: ffff880130d1dc70 R08: ffff880130e6ce00 R09: ffff880130e6c208
[112766.288172] R10: 0000000000000000 R11: 0000000000000005 R12: 000000000000000c
[112766.288243] R13: ffff880130e6ce48 R14: 0000000000000014 R15: ffff880130e6c000
[112766.288316] FS:  00007f0d40ee2880(0000) GS:ffff880137c80000(0000) knlGS:0000000000000000
[112766.291115] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[112766.293891] CR2: ffffc9001191d598 CR3: 000000012d15d000 CR4: 00000000000007e0
[112766.296699] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[112766.299516] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[112766.302362] Stack:
[112766.305134]  ffff880130d1dc28 ffff8801314dd848 2222222222222222 2222222222222222
[112766.307991]  2222222222222222 ffff880130e6c000 0000000000000005 ffff880130e6ce78
[112766.310881]  0000000000000005 ffff880130d1dd40 ffff880130d1dc90 ffffffffa08088e7
[112766.313771] Call Trace:
[112766.316664]  [<ffffffffa08088e7>] radeon_fence_count_emitted+0x17/0x60 [radeon]
[112766.319585]  [<ffffffffa081dc3a>] radeon_ring_backup+0x4a/0x160 [radeon]
[112766.322540]  [<ffffffffa07f1ddf>] radeon_gpu_reset+0x9f/0x230 [radeon]
[112766.325443]  [<ffffffffa081c0fe>] radeon_gem_handle_lockup.part.2+0xe/0x20 [radeon]
[112766.328363]  [<ffffffffa081ca38>] radeon_gem_wait_idle_ioctl+0xb8/0xd0 [radeon]
[112766.331306]  [<ffffffffa03791e2>] drm_ioctl+0x532/0x660 [drm]
[112766.334186]  [<ffffffff8101c9be>] ? fpu_finit+0x1e/0x40
[112766.337087]  [<ffffffff8101ca26>] ? init_fpu+0x46/0xb0
[112766.339980]  [<ffffffff8101db00>] ? __restore_xstate_sig+0x2d0/0x630
[112766.342950]  [<ffffffff8119c645>] do_vfs_ioctl+0x2e5/0x4d0
[112766.345923]  [<ffffffff8119c8b1>] SyS_ioctl+0x81/0xa0
[112766.348894]  [<ffffffff814ca01d>] system_call_fastpath+0x1a/0x1f
[112766.351919] Code: 4c 8d 0c c7 41 55 4c 8d 69 08 41 54 41 bc 0c 00 00 00 53 48 83 ec 28 48 8b 59 08 48 b9 00 00 00 00 ff ff ff ff eb 46 0f 1f 40 00 <8b> 00 48 89 da 89 c0 48 21 ca 48 09 d0 48 39 c3 76 0b 4c 89 f2 
[112766.358799] RIP  [<ffffffffa08079a0>] radeon_fence_process+0x60/0x150 [radeon]
[112766.362326]  RSP <ffff880130d1dc20>
[112766.365792] CR2: ffffc9001191d598
[112766.386362] ---[ end trace 670e4b4112e97d48 ]---
[112773.037084] usb 2-1.4: USB disconnect, device number 9
[112968.660866] BUG: unable to handle kernel NULL pointer dereference at           (null)
[112968.665744] IP: [<ffffffffa0836795>] r600_pcie_gart_tlb_flush+0xf5/0x110 [radeon]
[112968.669874] PGD 130539067 PUD 12d157067 PMD 0 
[112968.673892] Oops: 0000 [#2] PREEMPT SMP 
[112968.677885] Modules linked in: nls_cp437 vfat fat fuse pci_stub vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media arc4 b43 intel_powerclamp bcma coretemp joydev mac80211 kvm_intel cfg80211 radeon snd_hda_codec_hdmi kvm snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep dell_wmi ttm sparse_keymap rfkill snd_pcm drm_kms_helper ssb crc32c_intel mmc_core microcode pcmcia iTCO_wdt iTCO_vendor_support i2c_i801 r8169 snd_page_alloc snd_timer snd drm i2c_algo_bit psmouse pcmcia_core i2c_core dell_laptop dcdbas lpc_ich mei_me mei pcspkr serio_raw evdev mii wmi soundcore intel_agp intel_gtt fan thermal battery button ac video acpi_cpufreq mperf processor ext4 crc16 mbcache jbd2 hid_generic usbhid hid ums_realtek usb_storage
[112968.696284]  sr_mod cdrom sd_mod ahci libahci libata scsi_mod ehci_pci ehci_hcd usbcore usb_common
[112968.701093] CPU: 3 PID: 18180 Comm: Socket Thread Tainted: G      D    O 3.10.2-1-ARCH #1
[112968.705833] Hardware name: Dell Inc. Inspiron 1764/0H4K11, BIOS A13 03/29/2011
[112968.710622] task: ffff88012aed4bf0 ti: ffff88010539e000 task.ti: ffff88010539e000
[112968.715376] RIP: 0010:[<ffffffffa0836795>]  [<ffffffffa0836795>] r600_pcie_gart_tlb_flush+0xf5/0x110 [radeon]
[112968.720244] RSP: 0018:ffff88010539fa40  EFLAGS: 00010282
[112968.724940] RAX: ffffc90011fe2f34 RBX: 0000000000000000 RCX: 0000000000000000
[112968.729591] RDX: 0000000000000000 RSI: 0000000000002f34 RDI: ffff880130e6c000
[112968.734080] RBP: ffff88010539fa50 R08: ffff880103d27178 R09: ffffffffa0383ca8
[112968.738567] R10: ffff88010539ffd8 R11: 0000000000000001 R12: ffff880130e6c000
[112968.742852] R13: 0000000000007cf9 R14: 0000000000007cf9 R15: ffff880103d24880
[112968.747069] FS:  00007f222f9ff700(0000) GS:ffff880137d80000(0000) knlGS:0000000000000000
[112968.751343] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[112968.755555] CR2: 0000000000000000 CR3: 000000012ac7b000 CR4: 00000000000007e0
[112968.759819] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[112968.763971] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[112968.768085] Stack:
[112968.772206]  ffff880130e6c000 0000000000007cf9 ffff88010539fa80 ffffffffa080b8f7
[112968.776369]  ffff8800a47aa480 ffff880103d24848 ffffffffa08a5be0 ffff88013021fec8
[112968.780558]  ffff88010539fa90 ffffffffa0808eaa ffff88010539faa8 ffffffffa0525fd7
[112968.784698] Call Trace:
[112968.788834]  [<ffffffffa080b8f7>] radeon_gart_unbind+0xa7/0xe0 [radeon]
[112968.792948]  [<ffffffffa0808eaa>] radeon_ttm_backend_unbind+0x1a/0x20 [radeon]
[112968.797037]  [<ffffffffa0525fd7>] ttm_tt_unbind+0x27/0x40 [ttm]
[112968.801210]  [<ffffffffa0526913>] ttm_bo_cleanup_memtype_use+0x33/0x90 [ttm]
[112968.805323]  [<ffffffffa052752f>] ttm_bo_release+0x26f/0x300 [ttm]
[112968.809440]  [<ffffffffa05275e9>] ttm_bo_unref+0x29/0x30 [ttm]
[112968.813500]  [<ffffffffa080a752>] radeon_bo_unref+0x42/0x70 [radeon]
[112968.817554]  [<ffffffffa081c159>] radeon_gem_object_free+0x39/0x40 [radeon]
[112968.821618]  [<ffffffffa037adba>] drm_gem_object_free+0x2a/0x30 [drm]
[112968.825643]  [<ffffffffa037b288>] drm_gem_object_release_handle+0xc8/0xe0 [drm]
[112968.829685]  [<ffffffff8126c814>] idr_for_each+0xa4/0xf0
[112968.833679]  [<ffffffffa037b1c0>] ? drm_gem_handle_create+0x140/0x140 [drm]
[112968.837797]  [<ffffffff814bf9ae>] ? mutex_unlock+0xe/0x10
[112968.841838]  [<ffffffffa037b740>] drm_gem_release+0x20/0x30 [drm]
[112968.845848]  [<ffffffffa037a451>] drm_release+0x5a1/0x620 [drm]
[112968.849877]  [<ffffffff8118bf74>] __fput+0xa4/0x230
[112968.853855]  [<ffffffff8118c1be>] ____fput+0xe/0x10
[112968.857852]  [<ffffffff810773dc>] task_work_run+0xbc/0xe0
[112968.861876]  [<ffffffff8105b27c>] do_exit+0x2bc/0xab0
[112968.865840]  [<ffffffff8119d200>] ? poll_select_copy_remaining+0x130/0x130
[112968.869883]  [<ffffffff8105baef>] do_group_exit+0x3f/0xa0
[112968.873916]  [<ffffffff8106a35d>] get_signal_to_deliver+0x2ad/0x610
[112968.877748]  [<ffffffff81013498>] do_signal+0x48/0x8b0
[112968.881436]  [<ffffffff8101a909>] ? read_tsc+0x9/0x20
[112968.885015]  [<ffffffff810a80e8>] ? ktime_get_ts+0x48/0xe0
[112968.888561]  [<ffffffff81013d68>] do_notify_resume+0x68/0xa0
[112968.892165]  [<ffffffff814ca2da>] int_signal+0x12/0x17
[112968.895726] Code: 00 c1 e8 04 83 f8 02 74 29 85 c0 74 c9 5b 41 5c 5d c3 0f 1f 40 00 31 c9 31 d2 be 34 2f 00 00 48 8b 9f f0 03 00 00 e8 eb eb fe ff <8b> 03 e9 42 ff ff ff 48 c7 c7 00 3e 89 a0 31 c0 e8 49 33 c8 e0 
[112968.903621] RIP  [<ffffffffa0836795>] r600_pcie_gart_tlb_flush+0xf5/0x110 [radeon]
[112968.907541]  RSP <ffff88010539fa40>
[112968.911332] CR2: 0000000000000000
[112968.915793] ---[ end trace 670e4b4112e97d49 ]---
[112968.915800] Fixing recursive fault but reboot is needed!

Any ideas?

Offline

#2 2014-02-04 18:15:33

brad
Member
From: Eugene, Oregon, USA
Registered: 2013-01-25
Posts: 18
Website

Re: Fun with GPU Lockups and Kernel Oops

I'm having the same issue. Seems to get worse when doing 3D rendering. Have you had any luck resolving this?

Offline

Board footer

Powered by FluxBB