[Bug 88482] [BSW]igt/gem_evict_alignment/minor-hang not enough mem, and will cause dmesg warning

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 7 20:25:23 PDT 2015


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

--- Comment #2 from ye.tian <yex.tian at intel.com> ---
Tested it on the latest nightly kernel,it will cause GPU hang and Call Trace.
please see the dmesg, i915 error info.

output:
-----------------
root at x-bsw08:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests#
./gem_evict_alignment --run-subtest minor-hang
IGT-Version: 1.10-ga6c3b32 (x86_64) (Linux:
4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64)



dmesg info:
-----------

[  193.823487] [drm] stuck on render ring
[  193.845102] [drm] GPU HANG: ecode 8:0:0xe757fffe, in gem_evict_align [4253],
reason:                                                                        
        Ring hung, action: reset
[  193.845109] [drm] GPU hangs can indicate a bug anywhere in the entire gfx
stack, incl                                                                    
           uding userspace.
[  193.845112] [drm] Please file a _new_ bug report on bugs.freedesktop.org
against DRI                                                                    
            -> DRM/Intel
[  193.845115] [drm] drm/i915 developers can then reassign to the right
component if it'                                                               
                s not a kernel issue.
[  193.845118] [drm] The gpu crash dump is required to analyze gpu hangs, so
please alwa                                                                    
           ys attach it.
[  193.845121] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[  193.845332] [drm:i915_reset_and_wakeup] resetting chip
[  193.878459] drm/i915: Resetting chip after gpu hang
[  193.878479] [drm:gen8_init_common_ring] Execlists enabled for render ring
[  193.878487] [drm:gen8_init_common_ring] Execlists enabled for bsd ring
[  193.878494] [drm:gen8_init_common_ring] Execlists enabled for blitter ring
[  193.878499] [drm:gen8_init_common_ring] Execlists enabled for video
enhancement ring
[  195.824320] [drm:cherryview_enable_rps] GT fifo had a previous error 1080000
[  195.826383] [drm:cherryview_enable_rps] GPLL enabled? yes
[  195.826388] [drm:cherryview_enable_rps] GPU status: 0x00004010
[  195.826393] [drm:cherryview_enable_rps] current GPU freq: 640 MHz (64)
[  195.826397] [drm:cherryview_enable_rps] setting GPU freq to 400 MHz (40)
[  199.834211] [drm] stuck on render ring
[  199.856054] [drm] GPU HANG: ecode 8:0:0xe757fffe, in gem_evict_align [4253],
reason:                                                                        
        Ring hung, action: reset
[  199.856153] [drm:i915_reset_and_wakeup] resetting chip
[  199.861094] drm/i915: Resetting chip after gpu hang
[  199.861197] [drm:gen8_init_common_ring] Execlists enabled for render ring
[  199.861205] [drm:gen8_init_common_ring] Execlists enabled for bsd ring
[  199.861211] [drm:gen8_init_common_ring] Execlists enabled for blitter ring
[  199.861216] [drm:gen8_init_common_ring] Execlists enabled for video
enhancement ring
[  201.826936] [drm:cherryview_enable_rps] GT fifo had a previous error 1080000
[  201.828550] [drm:cherryview_enable_rps] GPLL enabled? yes
[  201.828555] [drm:cherryview_enable_rps] GPU status: 0x00004010
[  201.828560] [drm:cherryview_enable_rps] current GPU freq: 640 MHz (64)
[  201.828564] [drm:cherryview_enable_rps] setting GPU freq to 400 MHz (40)
[  205.836983] [drm] stuck on render ring
[  205.857800] [drm] GPU HANG: ecode 8:0:0xe757fffe, in gem_evict_align [4253],
reason:                                                                        
        Ring hung, action: reset
[  205.857937] [drm:i915_reset_and_wakeup] resetting chip
[  265.242533] INFO: rcu_sched self-detected stall on CPU { 2}  (t=60000
jiffies g=3276                                                                 
               c=3275 q=712)
[  265.242711] Task dump for CPU 2:
[  265.242715] gem_evict_align R  running task        0  4251   4229 0x0000000c
[  265.242722]  ffffffff81bc84c0 0000000000000002 ffffffff81076b90
0000000000000000
[  265.242728]  ffffffff81bc84c0 ffff88017fd14000 ffff880002973b88
0000000000000000
[  265.242734]  ffffffff810792b0 000000017fd133c0 00000000000002c8
00000f4240000000
[  265.242740] Call Trace:
[  265.242744]  <IRQ>  [<ffffffff81076b90>] ? rcu_dump_cpu_stacks+0x63/0x83
[  265.242763]  [<ffffffff810792b0>] ? rcu_check_callbacks+0x202/0x5e9
[  265.242770]  [<ffffffff81081046>] ? timekeeping_update.constprop.7+0xc5/0xef
[  265.242778]  [<ffffffff81087b61>] ? tick_sched_handle+0x3a/0x3a
[  265.242784]  [<ffffffff8107cb2c>] ? update_process_times+0x24/0x47
[  265.242790]  [<ffffffff81087b56>] ? tick_sched_handle+0x2f/0x3a
[  265.242796]  [<ffffffff81087b90>] ? tick_sched_timer+0x2f/0x55
[  265.242802]  [<ffffffff8107cec1>] ? __run_hrtimer+0x70/0x14d
[  265.242808]  [<ffffffff8107d623>] ? hrtimer_interrupt+0xcb/0x1b4
[  265.242815]  [<ffffffff81026b54>] ? smp_apic_timer_interrupt+0x34/0x43
[  265.242823]  [<ffffffff8179b76a>] ? apic_timer_interrupt+0x6a/0x70
[  265.242826]  <EOI>  [<ffffffffa009385b>] ?
i915_gem_execbuffer_reserve+0x66/0x2e3 [i9                                     
                                          15]
[  265.242895]  [<ffffffffa009381a>] ? i915_gem_execbuffer_reserve+0x25/0x2e3
[i915]
[  265.242925]  [<ffffffffa00940a7>] ?
i915_gem_do_execbuffer.isra.12+0x5cf/0xd6d [i915]
[  265.242933]  [<ffffffff81104696>] ? alloc_pages_current+0xad/0xca
[  265.242940]  [<ffffffff810e9e32>] ? kmalloc_order+0x10/0x3d
[  265.242945]  [<ffffffff810e9e7b>] ? kmalloc_order_trace+0x1c/0x7e
[  265.242952]  [<ffffffff81043ead>] ? dequeue_signal+0x9f/0x119
[  265.242982]  [<ffffffffa00957ff>] ? i915_gem_execbuffer2+0x16e/0x205 [i915]
[  265.242999]  [<ffffffffa00047a9>] ? drm_ioctl+0x322/0x38d [drm]
[  265.243004]  [<ffffffff81046112>] ? __set_current_blocked+0x2d/0x40
[  265.243034]  [<ffffffffa0095691>] ? i915_gem_execbuffer+0x339/0x339 [i915]
[  265.243041]  [<ffffffff8107db14>] ? hrtimer_nanosleep+0x8a/0x110
[  265.243048]  [<ffffffff8111d9a1>] ? do_vfs_ioctl+0x360/0x424
[  265.243054]  [<ffffffff81046bd9>] ? restore_altstack+0xf/0x21
[  265.243060]  [<ffffffff8111daae>] ? SyS_ioctl+0x49/0x77
[  265.243065]  [<ffffffff8179afbd>] ? stub_rt_sigreturn+0x6d/0xb0
[  265.243071]  [<ffffffff8179a972>] ? system_call_fastpath+0x12/0x17
[  445.323989] INFO: rcu_sched self-detected stall on CPU { 2}  (t=240003
jiffies g=3276                                                                 
               c=3275 q=6349)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20150408/ab0f09ad/attachment-0001.html>


More information about the intel-gfx-bugs mailing list