<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 - [SNB] igt@drv_module_reload@basic-reload-final fails and hard hangs the system"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100858">100858</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[SNB] igt@drv_module_reload@basic-reload-final fails and hard hangs the system
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>XOrg git
          </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>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>krisman@collabora.co.uk
          </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>When running igt@drv_module_reload@basic-reload-final, the first iteration hits
an assertion failure and any further invocation will hard hang the system. 
Network connection is lost, no console output, etc.  I'm trying to collect a
crash dump next.

This might be two separate issues, but until confirmed, I think they should be
considered related and handled together.  The output of the 2 subsequent
invocations:

root@collab-x220:~/work/igt-gpu-tools# tests/drv_module_reload --run-subtest
basic-reload-final --debug
IGT-Version: 1.18-g8039c0ef6e51 (x86_64) (Linux: 4.11.0-rc8.intel-boxes+
x86_64)
(drv_module_reload:1181) igt-core-DEBUG: Starting subtest: basic-reload-final
(drv_module_reload:1181) igt-kmod-DEBUG: Could not remove module drm_kms_helper
(No such file or directory)
(drv_module_reload:1181) igt-kmod-DEBUG: Could not remove module drm (No such
file or directory)
(drv_module_reload:1181) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(drv_module_reload:1181) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(drv_module_reload:1181) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(drv_module_reload:1181) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(drv_module_reload:1181) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(drv_module_reload:1181) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(drv_module_reload:1181) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(drv_module_reload:1181) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(drv_module_reload:1181) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(drv_module_reload:1181) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(drv_module_reload:1181) CRITICAL: Test assertion failure function store_dword,
file drv_module_reload.c:111:
(drv_module_reload:1181) CRITICAL: Failed assertion: *batch == 0xc0ffee
(drv_module_reload:1181) CRITICAL: error: 0 != 12648430
Stack trace:
  #0 [__igt_fail_assert+0x16e]
  #1 [store_dword+0x35d]
  #2 [gem_exec_store+0x48]
  #3 [__real_main308+0x1e0]
  #4 [main+0x49]
  #5 [__libc_start_main+0xf1]
  #6 [_start+0x2a]
  #7 [<unknown>+0x2a]
Subtest basic-reload-final failed.
**** DEBUG ****
(drv_module_reload:1181) igt-kmod-DEBUG: Could not remove module drm_kms_helper
(No such file or directory)
(drv_module_reload:1181) igt-kmod-DEBUG: Could not remove module drm (No such
file or directory)
(drv_module_reload:1181) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(drv_module_reload:1181) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(drv_module_reload:1181) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(drv_module_reload:1181) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(drv_module_reload:1181) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(drv_module_reload:1181) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(drv_module_reload:1181) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(drv_module_reload:1181) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(drv_module_reload:1181) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(drv_module_reload:1181) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(drv_module_reload:1181) CRITICAL: Test assertion failure function store_dword,
file drv_module_reload.c:111:
(drv_module_reload:1181) CRITICAL: Failed assertion: *batch == 0xc0ffee
(drv_module_reload:1181) CRITICAL: error: 0 != 12648430
****  END  ****
Subtest basic-reload-final: FAIL (1.584s)
(drv_module_reload:1181) igt-core-DEBUG: Exiting with status code 99
root@collab-x220:~/work/igt-gpu-tools# tests/drv_module_reload --run-subtest
basic-reload-final --debug
IGT-Version: 1.18-g8039c0ef6e51 (x86_64) (Linux: 4.11.0-rc8.intel-boxes+
x86_64)
(drv_module_reload:1200) igt-core-DEBUG: Starting subtest: basic-reload-final

^C</pre>
        </div>
      </p>


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

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