<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [HSW]igt/gem_seqno_wrap randomly fail and cause system hang with call trace"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=67198">67198</a>
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>xunx.fang@intel.com, yangweix.shui@intel.com
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>[HSW]igt/gem_seqno_wrap randomly fail and cause system hang with call trace
          </td>
        </tr>

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

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

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

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

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

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

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

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

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

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr></table>
      <p>
        <div>
        <pre>System Environment:
--------------------------
Platform: Haswell
Kernel:   (nightly)b1bc2058d21f02caa2543f8c776fd2c986bbab5d

Bug detailed description:
-------------------------
It happens on haswell with -nightly branch, drm-intel-next-queued branch,
drm-intel-fixes branch. It happens 2 in 5 runs.

output:
gem_seqno_wrap: gem_seqno_wrap.c:501: preset_run_once: Assertion
`write_seqno(1) == 0' failed.

Call trace:
[   59.701938] [drm:i915_hangcheck_elapsed] *ERROR* stuck on blitter ring
[   59.702927] [drm] capturing error event; look for more information in
/sys/class/drm/card0/error
[   59.706398] [drm:i915_driver_open], [   59.706401]
[drm:i915_error_work_func], resetting chip
[   59.706506] ------------[ cut here ]------------
[   59.706507] kernel BUG at drivers/gpu/drm/i915/i915_drv.h:1406!
[   59.706508] invalid opcode: 0000 [#1] SMP
[   59.706509] Modules linked in: netconsole configfs ipv6 dm_mod
snd_hda_codec_realtek acpi_cpufreq coretemp kvm_intel kvm microcode pcspkr
i2c_i801 snd_hda_intel iTCO_wdt iTCO_vendor_support snd_hda_codec snd_hwdep
snd_pcm snd_page_alloc lpc_ich mfd_core snd_timer snd soundcore i915 video
button drm_kms_helper drm mperf freq_table [last unloaded: netconsole]
[   59.706524] CPU: 7 PID: 1036 Comm: kworker/u16:4 Not tainted
3.10.0_nightlytop_b1bc20_20130722_+ #5982
[   59.706525] Hardware name: Intel Corporation Shark Bay Client
platform/Flathead Creek Crb, BIOS HSWLPTU1.86C.0109.R03.1301282055 01/28/2013
[   59.706533] Workqueue: i915 i915_error_work_func [i915]
[   59.706535] task: ffff880244781b40 ti: ffff880242ae2000 task.ti:
ffff880242ae2000
[   59.706535] RIP: 0010:[<ffffffffa00733f5>]  [<ffffffffa00733f5>]
i915_gem_reset+0x11a/0x24c [i915]
[   59.706542] RSP: 0018:ffff880242ae3d28  EFLAGS: 00010246
[   59.706543] RAX: ffff88024469d980 RBX: ffff88023fbad4d8 RCX:
ffff88024469da20
[   59.706544] RDX: 00000000009d5004 RSI: ffff88024469da20 RDI:
ffff88023fbac040
[   59.706545] RBP: 0000000000000002 R08: 0000000000000001 R09:
ffff88023fbad470
[   59.706545] R10: ffff880244a09750 R11: ffffffffa007347b R12:
ffff88023fbac000
[   59.706546] R13: 00000000009d5004 R14: ffff880244448800 R15:
0000000000000011
[   59.706547] FS:  0000000000000000(0000) GS:ffff88024e3c0000(0000)
knlGS:0000000000000000
[   59.706548] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   59.706549] CR2: 0000000001770118 CR3: 0000000242dc0000 CR4:
00000000001407e0
[   59.706549] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[   59.706550] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
[   59.706550] Stack:
[   59.706551]  ffff88023f88b820 ffffffffa00c0a85 ffff880244448800
ffff88023fbad4d0
[   59.706552]  ffff880244a09720 ffff88023fbad5d8 ffffffff8198c5ca
ffff880244448800
[   59.706554]  ffff88023fbac000 0000000000000000 ffff880244448820
0000000000000000
[   59.706556] Call Trace:
[   59.706558]  [<ffffffffa0063303>] ? i915_reset+0x36/0x1a9 [i915]
[   59.706563]  [<ffffffffa0067b2f>] ? i915_error_work_func+0xba/0x14b [i915]
[   59.706569]  [<ffffffff8104069c>] ? process_one_work+0x1c5/0x2df
[   59.706573]  [<ffffffff81040bf3>] ? worker_thread+0x1c7/0x2bc
[   59.706575]  [<ffffffff81040a2c>] ? rescuer_thread+0x251/0x251
[   59.706577]  [<ffffffff8104510a>] ? kthread+0xad/0xb5
[   59.706579]  [<ffffffff8104505d>] ? kthread_freezable_should_stop+0x40/0x40
[   59.706581]  [<ffffffff816f232c>] ? ret_from_fork+0x7c/0xb0
[   59.706584]  [<ffffffff8104505d>] ? kthread_freezable_should_stop+0x40/0x40
[   59.706586] Code: 0f 82 33 01 00 00 39 ca 0f 83 2b 01 00 00 eb 64 44 8b 49
04 48 85 c0 74 1a 48 8b 88 a0 00 00 00 48 05 a0 00 00 00 48 39 c1 75 02 <0f> 0b
4c 8b 41 d8 eb 03 45 31 c0 84 d2 44 89 2c 24 48 8b 13 48
[   59.706606] RIP  [<ffffffffa00733f5>] i915_gem_reset+0x11a/0x24c [i915]
[   59.706612]  RSP <ffff880242ae3d28>
[   59.706613] ---[ end trace 2b81663100df000f ]---


Reproduce steps:
----------------
1. ./gem_seqno_wrap</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 the assignee for the bug.</li>
      </ul>
    </body>
</html>