<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 - Constant "Resetting rcs0 for hang on rcs0" and machine lockup"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=111805">111805</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Constant "Resetting rcs0 for hang on rcs0" and machine lockup
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

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

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

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>not set
          </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>kenny@panix.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=145504" name="attach_145504" title="egrep -r . /sys/kernel/debug/dri">attachment 145504</a> <a href="attachment.cgi?id=145504&action=edit" title="egrep -r . /sys/kernel/debug/dri">[details]</a></span>
egrep -r . /sys/kernel/debug/dri

I'm running the latest tip of Linus' tree, which incorporates the DRM/i915
changes of Thursday September 19th.

Since then, I've had my box (HP Spectre X360) lock up hard several times,
usually when a secondary monitor is connected. I have OOPSes logged to pstore,
but they never leave any OOPs, plus SysRq is unresponsive, so I have to
hard-power-cycle the machine.

I've tried not enabling GuC/HuC, no difference.

However, the last time it happened, I was able to get it to SysRq "S" and was
able to save some of the OOPS into /var/log/syslog. Unfortunately I don't have
a /sys/class/drm/card0/error file (if there's a way to trigger creation, I can
add it as an additional comment).

I have attached the output of "egrep -r . /sys/kernel/debug/dri".

>From the syslog, I do have this:

----
Sep 25 16:47:48 hp-x360n kernel: [ 5527.664338] i915 0000:00:02.0: GPU HANG:
ecode 9:1:0x00000000, hang on rcs0
Sep 24 16:47:48 hp-x360n kernel: [ 5527.664340] GPU hangs can indicate a bug
anywhere in the entire gfx stack, including userspace.
Sep 24 16:47:48 hp-x360n kernel: [ 5527.664341] Please file a _new_ bug report
on bugs.freedesktop.org against DRI -> DRM/Intel
Sep 24 16:47:48 hp-x360n kernel: [ 5527.664342] drm/i915 developers can then
reassign to the right component if it's not a kernel issue.
Sep 24 16:47:48 hp-x360n kernel: [ 5527.664342] The GPU crash dump is required
to analyze GPU hangs, so please always attach it.
Sep 24 16:47:48 hp-x360n kernel: [ 5527.664343] GPU crash dump saved to
/sys/class/drm/card0/error
Sep 24 16:47:48 hp-x360n kernel: [ 5527.665348] i915 0000:00:02.0: Resetting
rcs0 for hang on rcs0
Sep 24 16:47:48 hp-x360n kernel: [ 5527.666072] [drm:gen8_reset_engines [i915]]
*ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Sep 24 16:47:48 hp-x360n kernel: [ 5527.675065] i915 0000:00:02.0: Resetting
chip for hang on rcs0
Sep 24 16:47:48 hp-x360n kernel: [ 5527.676851] [drm:gen8_reset_engines [i915]]
*ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Sep 24 16:47:48 hp-x360n kernel: [ 5527.677568] [drm:gen8_reset_engines [i915]]
*ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423700] INFO: task kworker/7:1H:28983
blocked for more than 122 seconds.
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423702]       Tainted: G     U     O   
  5.3.0-Kenny+ #3
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423703] "echo 0 >
/proc/sys/kernel/hung_task_timeout_secs" disables this message.
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423704] kworker/7:1H    D    0 28983   
  2 0x80004000
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423730] Workqueue: events_highpri
intel_atomic_cleanup_work [i915]
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423731] Call Trace:
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423736]  ? __schedule+0x293/0x530
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423737]  schedule+0x36/0xc0
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423739] 
schedule_preempt_disabled+0x11/0x20
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423741] 
__mutex_lock.isra.10+0x2f0/0x4f0
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423759] 
intel_cleanup_plane_fb+0x2d/0x80 [i915]
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423762] 
drm_atomic_helper_cleanup_planes+0x4f/0x70
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423780] 
intel_atomic_cleanup_work+0x1f/0x50 [i915]
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423783]  process_one_work+0x1fb/0x3e0
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423785]  worker_thread+0x2d/0x3d0
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423786]  kthread+0x10c/0x130
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423788]  ? process_one_work+0x3e0/0x3e0
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423789]  ?
kthread_create_on_node+0x60/0x60
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423790]  ret_from_fork+0x1f/0x30
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423792] INFO: task kworker/1:0H:30982
blocked for more than 122 seconds.
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423793]       Tainted: G     U     O   
  5.3.0-Kenny+ #3
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423793] "echo 0 >
/proc/sys/kernel/hung_task_timeout_secs" disables this message.
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423794] kworker/1:0H    D    0 30982   
  2 0x80004000
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423817] Workqueue: events_highpri
intel_atomic_cleanup_work [i915]
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423818] Call Trace:
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423820]  ? __schedule+0x293/0x530
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423821]  schedule+0x36/0xc0
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423823] 
schedule_preempt_disabled+0x11/0x20
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423824] 
__mutex_lock.isra.10+0x2f0/0x4f0
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423826]  ? set_next_entity+0x98/0x1a0
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423843] 
intel_cleanup_plane_fb+0x2d/0x80 [i915]
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423845] 
drm_atomic_helper_cleanup_planes+0x4f/0x70
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423861] 
intel_atomic_cleanup_work+0x1f/0x50 [i915]
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423863]  process_one_work+0x1fb/0x3e0
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423865]  worker_thread+0x2d/0x3d0
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423866]  kthread+0x10c/0x130
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423867]  ? process_one_work+0x3e0/0x3e0
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423868]  ?
kthread_create_on_node+0x60/0x60
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423869]  ret_from_fork+0x1f/0x30
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423885] INFO: task kworker/u16:4:17890
blocked for more than 122 seconds.
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423886]       Tainted: G     U     O   
  5.3.0-Kenny+ #3
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423887] "echo 0 >
/proc/sys/kernel/hung_task_timeout_secs" disables this message.
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423887] kworker/u16:4   D    0 17890   
  2 0x80004000
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423905] Workqueue: i915
__i915_gem_free_work [i915]
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423906] Call Trace:
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423908]  ? __schedule+0x293/0x530
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423909]  schedule+0x36/0xc0
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423910] 
schedule_preempt_disabled+0x11/0x20
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423912] 
__mutex_lock.isra.10+0x2f0/0x4f0
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423928]  ?
i915_global_objects_shrink+0x20/0x20 [i915]
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423943] 
__i915_gem_free_objects+0x66/0x1b0 [i915]
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423946]  process_one_work+0x1fb/0x3e0
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423947]  worker_thread+0x2d/0x3d0
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423948]  kthread+0x10c/0x130
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423950]  ? process_one_work+0x3e0/0x3e0
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423951]  ?
kthread_create_on_node+0x60/0x60
Sep 24 16:49:54 hp-x360n kernel: [ 5653.423952]  ret_from_fork+0x1f/0x30
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304145] INFO: task kworker/7:1H:28983
blocked for more than 245 seconds.
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304152]       Tainted: G     U     O   
  5.3.0-Kenny+ #3
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304154] "echo 0 >
/proc/sys/kernel/hung_task_timeout_secs" disables this message.
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304158] kworker/7:1H    D    0 28983   
  2 0x80004000
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304243] Workqueue: events_highpri
intel_atomic_cleanup_work [i915]
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304247] Call Trace:
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304261]  ? __schedule+0x293/0x530
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304267]  schedule+0x36/0xc0
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304273] 
schedule_preempt_disabled+0x11/0x20
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304279] 
__mutex_lock.isra.10+0x2f0/0x4f0
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304347] 
intel_cleanup_plane_fb+0x2d/0x80 [i915]
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304356] 
drm_atomic_helper_cleanup_planes+0x4f/0x70
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304420] 
intel_atomic_cleanup_work+0x1f/0x50 [i915]
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304429]  process_one_work+0x1fb/0x3e0
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304435]  worker_thread+0x2d/0x3d0
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304439]  kthread+0x10c/0x130
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304444]  ? process_one_work+0x3e0/0x3e0
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304448]  ?
kthread_create_on_node+0x60/0x60
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304473]  ret_from_fork+0x1f/0x30
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304478] INFO: task kworker/1:0H:30982
blocked for more than 245 seconds.
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304480]       Tainted: G     U     O   
  5.3.0-Kenny+ #3
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304482] "echo 0 >
/proc/sys/kernel/hung_task_timeout_secs" disables this message.
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304483] kworker/1:0H    D    0 30982   
  2 0x80004000
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304528] Workqueue: events_highpri
intel_atomic_cleanup_work [i915]
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304530] Call Trace:
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304535]  ? __schedule+0x293/0x530
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304539]  schedule+0x36/0xc0
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304543] 
schedule_preempt_disabled+0x11/0x20
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304547] 
__mutex_lock.isra.10+0x2f0/0x4f0
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304551]  ? set_next_entity+0x98/0x1a0
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304594] 
intel_cleanup_plane_fb+0x2d/0x80 [i915]
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304599] 
drm_atomic_helper_cleanup_planes+0x4f/0x70
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304640] 
intel_atomic_cleanup_work+0x1f/0x50 [i915]
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304644]  process_one_work+0x1fb/0x3e0
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304648]  worker_thread+0x2d/0x3d0
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304651]  kthread+0x10c/0x130
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304654]  ? process_one_work+0x3e0/0x3e0
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304657]  ?
kthread_create_on_node+0x60/0x60
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304660]  ret_from_fork+0x1f/0x30
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304680] INFO: task kworker/u16:4:17890
blocked for more than 245 seconds.
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304682]       Tainted: G     U     O   
  5.3.0-Kenny+ #3
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304683] "echo 0 >
/proc/sys/kernel/hung_task_timeout_secs" disables this message.
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304685] kworker/u16:4   D    0 17890   
  2 0x80004000
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304728] Workqueue: i915
__i915_gem_free_work [i915]
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304730] Call Trace:
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304734]  ? __schedule+0x293/0x530
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304738]  schedule+0x36/0xc0
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304742] 
schedule_preempt_disabled+0x11/0x20
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304746] 
__mutex_lock.isra.10+0x2f0/0x4f0
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304787]  ?
i915_global_objects_shrink+0x20/0x20 [i915]
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304827] 
__i915_gem_free_objects+0x66/0x1b0 [i915]
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304832]  process_one_work+0x1fb/0x3e0
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304836]  worker_thread+0x2d/0x3d0
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304839]  kthread+0x10c/0x130
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304842]  ? process_one_work+0x3e0/0x3e0
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304845]  ?
kthread_create_on_node+0x60/0x60
Sep 24 16:51:57 hp-x360n kernel: [ 5776.304848]  ret_from_fork+0x1f/0x30
----</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>