<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 - [IGT] [GLK] [regresion] gem_exec_reloc some subtest causes assertion failure"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101635">101635</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[IGT] [GLK] [regresion] gem_exec_reloc some subtest causes assertion failure
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>DRI 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>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>humberto.i.perez.rodriguez@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=132320" name="attach_132320" title="dmesg.log">attachment 132320</a> <a href="attachment.cgi?id=132320&action=edit" title="dmesg.log">[details]</a></span>
dmesg.log

The following test cases assertion failure


notes : this is the same failure with FWs (GUC/HUC/GUC) as without FWs

test output
=========================================================
IGT-Version: 1.19-g9918014 (x86_64) (Linux:
4.12.0-rc7-drm-tip-ww26-commit-85a692e+ x86_64)
(gem_exec_reloc:1502) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_exec_reloc:1502) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(gem_exec_reloc:1502) drmtest-DEBUG: Test requirement passed: drmSetMaster(fd)
== 0
(gem_exec_reloc:1502) drmtest-DEBUG: Test requirement passed:
is_i915_device(fd) && has_known_intel_chipset(fd)
(gem_exec_reloc:1502) ioctl-wrappers-DEBUG: Test requirement passed: err == 0
(gem_exec_reloc:1502) ioctl-wrappers-DEBUG: Test requirement passed:
has_ban_period || has_bannable
(gem_exec_reloc:1502) igt-gt-DEBUG: Test requirement passed: has_gpu_reset(fd)
(gem_exec_reloc:1502) igt-core-DEBUG: Starting subtest: gtt-30
(gem_exec_reloc:1502) intel-os-DEBUG: Checking 2 surfaces of size 1,073,741,824
bytes (total 2,147,487,744) against RAM
(gem_exec_reloc:1502) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_exec_reloc:1502) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(gem_exec_reloc:1502) intel-os-DEBUG: Test requirement passed:
__intel_check_memory(count, size, mode, &required, &total)
(gem_exec_reloc:1502) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
(gem_exec_reloc:1502) CRITICAL: Test assertion failure function from_mmap, file
gem_exec_reloc.c:175:
(gem_exec_reloc:1502) CRITICAL: Failed assertion: value == obj.offset + max - 1
(gem_exec_reloc:1502) CRITICAL: error: 0x203ffff != 0x1ffffff
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [from_mmap+0x365]
  #2 [__real_main651+0xd65]
  #3 [main+0x33]
  #4 [__libc_start_main+0xf1]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Subtest gtt-30 failed.
**** DEBUG ****
(gem_exec_reloc:1502) intel-os-DEBUG: Checking 2 surfaces of size 1,073,741,824
bytes (total 2,147,487,744) against RAM
(gem_exec_reloc:1502) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_exec_reloc:1502) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(gem_exec_reloc:1502) intel-os-DEBUG: Test requirement passed:
__intel_check_memory(count, size, mode, &required, &total)
(gem_exec_reloc:1502) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
(gem_exec_reloc:1502) CRITICAL: Test assertion failure function from_mmap, file
gem_exec_reloc.c:175:
(gem_exec_reloc:1502) CRITICAL: Failed assertion: value == obj.offset + max - 1
(gem_exec_reloc:1502) CRITICAL: error: 0x203ffff != 0x1ffffff
****  END  ****
Subtest gtt-30: FAIL (87.576s)
(gem_exec_reloc:1502) igt-core-DEBUG: Exiting with status code 99
(gem_exec_reloc:1502) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'


======================================
             Software
======================================
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 50.51
bios release date           : 06/02/2017
ksc                         : 1.32


======================================
        Graphic drivers
======================================
Component: drm
    tag: libdrm-2.4.80-29-g7e6bf88
    commit: 7e6bf88cac315a9fa41818cf72a7b5d18a2cb1fc
Component: cairo
    tag: 1.15.4-28-g57b4050
    commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51
Component: intel-gpu-tools
    tag: intel-gpu-tools-1.18-284-g9918014
    commit: 9918014df55d0393f99a31e3c398a4b38c90bb80
Component: piglit
    tag: piglit-v1
    commit: 1b8356e6dfa07480c154fccb47f6ef9c908ef652


======================================
             Kernel
======================================
commit 85a692e2c6a7cf93082044d776e838cb9e9b2146
Author:     Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
AuthorDate: Wed Jun 28 15:25:29 2017 +0100
Commit:     Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
CommitDate: Wed Jun 28 15:25:29 2017 +0100


======================================
             Hardware
======================================
platform                   : Geminilake
motherboard model          : Geminilake
motherboard id             : GLKRVP1DDR4(05)
form factor                : Hand Held
manufacturer               : IntelCorp.
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU @ 1.10GHz
gpu card                   : Intel Corporation Device 3184 (rev 01) (prog-if 00
[VGA controller])
memory ram                 : 3.67 GB
max memory ram             : 16 GB
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 122
cpu stepping               : 0
hard drive                 : 74GiB (80GB)
current cd clock frequency : 79200 kHz
maximum cd clock frequency : 316800 kHz
displays connected         : eDP-1 DP-1 HDMI-A-2

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.4
guc fw loaded             : SUCCESS
guc version wanted        : 10.56
guc version found         : 10.56

======================================
             kernel parameters
======================================
drm.debug=0x1e i915.alpha_support=1 resume=/dev/sda3 fastboot
i915.enable_guc_loading=2 i915.enable_guc_submission=2 log_buf_len=1M

attachments
=======================================
dmesg.log
kern.log



last know good kernel from drm-tip
=========================================
commit 2c9abf8ec88cf4b3d3735976bb0ff7a4991946b2
Author:     Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
AuthorDate: Thu Jun 1 14:29:38 2017 +0100
Commit:     Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
CommitDate: Thu Jun 1 14:29:38 2017 +0100</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 the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>