<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [SKL]igt/gem_reloc_vs_gpu doesn't exit testing and kernel BUG at drivers/gpu/drm/i915/i915_gem.c:2247!"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90050">90050</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[SKL]igt/gem_reloc_vs_gpu doesn't exit testing and kernel BUG at drivers/gpu/drm/i915/i915_gem.c:2247!
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>huax.lu@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=115111" name="attach_115111" title="dmesg">attachment 115111</a> <a href="attachment.cgi?id=115111&action=edit" title="dmesg">[details]</a></span>
dmesg

==System Environment==
--------------------------
Regression: not sure

Non-working platforms: SKL

==kernel==
--------------------------
drm-intel-nightly/5ea91de4ff45adb60031853d64314c3405378fbd
commit 5ea91de4ff45adb60031853d64314c3405378fbd
Author: Daniel Vetter <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>>
Date:   Tue Apr 14 20:00:06 2015 +0200

    drm-intel-nightly: 2015y-04m-14d-17h-59m-22s UTC integration manifest

==Bug detailed description==
-----------------------------
Run ./gem_reloc_vs_gpu --run-subtest forked-interruptible-thrash-inactive-hang
20 cycles on SKL, it happens on the 16th cycle.

output error: 
Failed assertion: gtt_relocs
Last errno: 5, Input/output error

dmesg:
[ 4656.471553] ------------[ cut here ]------------
[ 4656.471606] WARNING: CPU: 0 PID: 8632 at
drivers/gpu/drm/i915/i915_gem.c:1999 i915_gem_object_put_pages_gtt+0x47/0x14d
[i915]()
[ 4656.471610] [drm:i915_reset_and_wakeup] resetting chip
[ 4656.471618] WARN_ON(ret != -EIO)
[ 4656.471622] Modules linked in: dm_mod snd_hda_codec_realtek ppdev
snd_hda_codec_generic pcspkr snd_hda_intel snd_hda_controller snd_hda_codec
snd_hda_core i2c_i801 snd_hwdep snd_pcm snd_timer snd soundcore joydev wmi
battery parport_pc parport ac acpi_cpufreq i915 button video drm_kms_helper drm
[ 4656.471688] CPU: 0 PID: 8632 Comm: gem_reloc_vs_gp Not tainted
4.0.0_drm-intel-nightly_5ea91d_20150415+ #1272
[ 4656.471694] Hardware name: Intel Corporation Skylake Client platform/Skylake
Y LPDDR3 RVP3, BIOS SKLSE2R1.86C.B067.R00.1412310711 12/31/2014
[ 4656.471699]  0000000000000000 0000000000000009 ffffffff81795847
ffff880086623d38
[ 4656.471707]  ffffffff8103bd5a 00000000000004f4 ffffffffa009e288
0000000000000001
[ 4656.471715]  ffff880088384700 0000000000000000 ffffffffa010ce40
ffff880086623e18
[ 4656.471723] Call Trace:
[ 4656.471737]  [<ffffffff81795847>] ? dump_stack+0x40/0x50
[ 4656.471749]  [<ffffffff8103bd5a>] ? warn_slowpath_common+0x98/0xb0
[ 4656.471792]  [<ffffffffa009e288>] ? i915_gem_object_put_pages_gtt+0x47/0x14d
[i915]
[ 4656.471804]  [<ffffffff8103bdb7>] ? warn_slowpath_fmt+0x45/0x4a
[ 4656.471842]  [<ffffffffa009dfbb>] ?
i915_gem_object_set_to_cpu_domain+0x27/0x133 [i915]
[ 4656.471917]  [<ffffffffa009e288>] ? i915_gem_object_put_pages_gtt+0x47/0x14d
[i915]
[ 4656.471966]  [<ffffffffa009fb2e>] ? i915_gem_object_put_pages+0x77/0xcf
[i915]
[ 4656.472029]  [<ffffffffa00a2b60>] ? i915_gem_shrink+0x177/0x1dc [i915]
[ 4656.472065]  [<ffffffffa008fea3>] ? i915_drop_caches_set+0x87/0xb7 [i915]
[ 4656.472085]  [<ffffffff8112c632>] ? simple_attr_write+0x81/0xae
[ 4656.472098]  [<ffffffff8110f29d>] ? vfs_write+0xb0/0x186
[ 4656.472106]  [<ffffffff8110fc0c>] ? SyS_write+0x41/0x84
[ 4656.472115]  [<ffffffff8179b0f2>] ? system_call_fastpath+0x12/0x17
[ 4656.472121] ---[ end trace fd9a6691bb0a99a2 ]---
[ 4656.472206] ------------[ cut here ]------------
[ 4656.528352] kernel BUG at drivers/gpu/drm/i915/i915_gem.c:2247!


==Reproduce steps==
---------------------------- 
1. run ./gem_reloc_vs_gpu --run-subtest
forked-interruptible-thrash-inactive-hang 20 cycles.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>