<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [APL KBL] igt/gem_exec_reloc subtests fail"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94001#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [APL KBL] igt/gem_exec_reloc subtests fail"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94001">bug 94001</a>
              from <span class="vcard"><a class="email" href="mailto:christophe.prigent@intel.com" title="cprigent <christophe.prigent@intel.com>"> <span class="fn">cprigent</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=122290" name="attach_122290" title="dmesg-bsw-gem_exec_reloc">attachment 122290</a> <a href="attachment.cgi?id=122290&action=edit" title="dmesg-bsw-gem_exec_reloc">[details]</a></span>
dmesg-bsw-gem_exec_reloc

Reproduced on BSW:

# ./gem_exec_reloc --run-subtest cpu-31
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.4.0-nightly x86_64)
(gem_exec_reloc:1628) ioctl-wrappers-CRITICAL: Test assertion failure function
gem_execbuf, file ioctl_wrappers.c:557:
(gem_exec_reloc:1628) ioctl-wrappers-CRITICAL: Failed assertion:
__gem_execbuf(fd, execbuf) == 0
(gem_exec_reloc:1628) ioctl-wrappers-CRITICAL: Last errno: 14, Bad address
(gem_exec_reloc:1628) ioctl-wrappers-CRITICAL: error: -14 != 0
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [gem_execbuf+0x57]
  #2 [from_mmap+0x153]
  #3 [__real_main218+0x44a]
  #4 [main+0x29]
  #5 [__libc_start_main+0xf5]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
Subtest cpu-31 failed.
**** DEBUG ****
(gem_exec_reloc:1628) intel-os-DEBUG: Checking 1 surfaces of size 2,147,483,648
bytes (total 2,147,487,744) against RAM
(gem_exec_reloc:1628) intel-os-DEBUG: Test requirement passed:
!(!__intel_check_memory(count, size, mode, &required, &total))
(gem_exec_reloc:1628) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
(gem_exec_reloc:1628) ioctl-wrappers-CRITICAL: Test assertion failure function
gem_execbuf, file ioctl_wrappers.c:557:
(gem_exec_reloc:1628) ioctl-wrappers-CRITICAL: Failed assertion:
__gem_execbuf(fd, execbuf) == 0
(gem_exec_reloc:1628) ioctl-wrappers-CRITICAL: Last errno: 14, Bad address
(gem_exec_reloc:1628) ioctl-wrappers-CRITICAL: error: -14 != 0
****  END  ****
Subtest cpu-31: FAIL (2.357s)
#
#
# ./gem_exec_reloc --run-subtest gtt-28
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.4.0-nightly x86_64)
(gem_exec_reloc:1982) CRITICAL: Test assertion failure function from_mmap, file
gem_exec_reloc.c:159:
(gem_exec_reloc:1982) CRITICAL: Failed assertion: value == obj.offset + max - 1
(gem_exec_reloc:1982) CRITICAL: error: 0x1007b6fff != 0x1007fefff
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [from_mmap+0x30f]
  #2 [__real_main218+0x3da]
  #3 [main+0x29]
  #4 [__libc_start_main+0xf5]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Subtest gtt-28 failed.
**** DEBUG ****
(gem_exec_reloc:1982) intel-os-DEBUG: Checking 1 surfaces of size 268,435,456
bytes (total 268,439,552) against RAM
(gem_exec_reloc:1982) intel-os-DEBUG: Test requirement passed:
!(!__intel_check_memory(count, size, mode, &required, &total))
(gem_exec_reloc:1982) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
(gem_exec_reloc:1982) CRITICAL: Test assertion failure function from_mmap, file
gem_exec_reloc.c:159:
(gem_exec_reloc:1982) CRITICAL: Failed assertion: value == obj.offset + max - 1
(gem_exec_reloc:1982) CRITICAL: error: 0x1007b6fff != 0x1007fefff
****  END  ****
Subtest gtt-28: FAIL (8.646s)
#
#
# ./gem_exec_reloc --run-subtest gtt-29
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.4.0-nightly x86_64)
(gem_exec_reloc:2068) CRITICAL: Test assertion failure function from_mmap, file
gem_exec_reloc.c:159:
(gem_exec_reloc:2068) CRITICAL: Failed assertion: value == obj.offset + max - 1
(gem_exec_reloc:2068) CRITICAL: error: 0x100f6efff != 0x100ffefff
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [from_mmap+0x30f]
  #2 [__real_main218+0x3da]
  #3 [main+0x29]
  #4 [__libc_start_main+0xf5]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Subtest gtt-29 failed.
**** DEBUG ****
(gem_exec_reloc:2068) intel-os-DEBUG: Checking 1 surfaces of size 536,870,912
bytes (total 536,875,008) against RAM
(gem_exec_reloc:2068) intel-os-DEBUG: Test requirement passed:
!(!__intel_check_memory(count, size, mode, &required, &total))
(gem_exec_reloc:2068) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
(gem_exec_reloc:2068) CRITICAL: Test assertion failure function from_mmap, file
gem_exec_reloc.c:159:
(gem_exec_reloc:2068) CRITICAL: Failed assertion: value == obj.offset + max - 1
(gem_exec_reloc:2068) CRITICAL: error: 0x100f6efff != 0x100ffefff
****  END  ****
Subtest gtt-29: FAIL (17.215s)
#
#
# ./gem_exec_reloc --run-subtest gtt-30
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.4.0-nightly x86_64)
(gem_exec_reloc:2165) CRITICAL: Test assertion failure function from_mmap, file
gem_exec_reloc.c:159:
(gem_exec_reloc:2165) CRITICAL: Failed assertion: value == obj.offset + max - 1
(gem_exec_reloc:2165) CRITICAL: error: 0x101edefff != 0x101ffefff
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [from_mmap+0x30f]
  #2 [__real_main218+0x3da]
  #3 [main+0x29]
  #4 [__libc_start_main+0xf5]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Subtest gtt-30 failed.
**** DEBUG ****
(gem_exec_reloc:2165) intel-os-DEBUG: Checking 1 surfaces of size 1,073,741,824
bytes (total 1,073,745,920) against RAM
(gem_exec_reloc:2165) intel-os-DEBUG: Test requirement passed:
!(!__intel_check_memory(count, size, mode, &required, &total))
(gem_exec_reloc:2165) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
(gem_exec_reloc:2165) CRITICAL: Test assertion failure function from_mmap, file
gem_exec_reloc.c:159:
(gem_exec_reloc:2165) CRITICAL: Failed assertion: value == obj.offset + max - 1
(gem_exec_reloc:2165) CRITICAL: error: 0x101edefff != 0x101ffefff
****  END  ****
Subtest gtt-30: FAIL (34.718s)
#
#
# ./gem_exec_reloc --run-subtest gtt-31
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.4.0-nightly x86_64)
(gem_exec_reloc:2355) ioctl-wrappers-CRITICAL: Test assertion failure function
gem_execbuf, file ioctl_wrappers.c:557:
(gem_exec_reloc:2355) ioctl-wrappers-CRITICAL: Failed assertion:
__gem_execbuf(fd, execbuf) == 0
(gem_exec_reloc:2355) ioctl-wrappers-CRITICAL: Last errno: 14, Bad address
(gem_exec_reloc:2355) ioctl-wrappers-CRITICAL: error: -14 != 0
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [gem_execbuf+0x57]
  #2 [from_mmap+0x153]
  #3 [__real_main218+0x3da]
  #4 [main+0x29]
  #5 [__libc_start_main+0xf5]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
Subtest gtt-31 failed.
**** DEBUG ****
(gem_exec_reloc:2355) intel-os-DEBUG: Checking 1 surfaces of size 2,147,483,648
bytes (total 2,147,487,744) against RAM
(gem_exec_reloc:2355) intel-os-DEBUG: Test requirement passed:
!(!__intel_check_memory(count, size, mode, &required, &total))
(gem_exec_reloc:2355) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
(gem_exec_reloc:2355) ioctl-wrappers-CRITICAL: Test assertion failure function
gem_execbuf, file ioctl_wrappers.c:557:
(gem_exec_reloc:2355) ioctl-wrappers-CRITICAL: Failed assertion:
__gem_execbuf(fd, execbuf) == 0
(gem_exec_reloc:2355) ioctl-wrappers-CRITICAL: Last errno: 14, Bad address
(gem_exec_reloc:2355) ioctl-wrappers-CRITICAL: error: -14 != 0
****  END  ****
Subtest gtt-31: FAIL (6.998s)
#
#
# ./gem_exec_reloc --run-subtest mmap-31
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.4.0-nightly x86_64)
(gem_exec_reloc:2531) ioctl-wrappers-CRITICAL: Test assertion failure function
gem_execbuf, file ioctl_wrappers.c:557:
(gem_exec_reloc:2531) ioctl-wrappers-CRITICAL: Failed assertion:
__gem_execbuf(fd, execbuf) == 0
(gem_exec_reloc:2531) ioctl-wrappers-CRITICAL: Last errno: 14, Bad address
(gem_exec_reloc:2531) ioctl-wrappers-CRITICAL: error: -14 != 0
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [gem_execbuf+0x57]
  #2 [from_mmap+0x153]
  #3 [__real_main218+0x47f]
  #4 [main+0x29]
  #5 [__libc_start_main+0xf5]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
Subtest mmap-31 failed.
**** DEBUG ****
(gem_exec_reloc:2531) intel-os-DEBUG: Checking 1 surfaces of size 2,147,483,648
bytes (total 2,147,487,744) against RAM
(gem_exec_reloc:2531) intel-os-DEBUG: Test requirement passed:
!(!__intel_check_memory(count, size, mode, &required, &total))
(gem_exec_reloc:2531) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
(gem_exec_reloc:2531) ioctl-wrappers-CRITICAL: Test assertion failure function
gem_execbuf, file ioctl_wrappers.c:557:
(gem_exec_reloc:2531) ioctl-wrappers-CRITICAL: Failed assertion:
__gem_execbuf(fd, execbuf) == 0
(gem_exec_reloc:2531) ioctl-wrappers-CRITICAL: Last errno: 14, Bad address
(gem_exec_reloc:2531) ioctl-wrappers-CRITICAL: error: -14 != 0
****  END  ****
Subtest mmap-31: FAIL (1.485s)
#
#
# ./gem_exec_reloc --run-subtest wc-31
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.4.0-nightly x86_64)
(gem_exec_reloc:2579) ioctl-wrappers-CRITICAL: Test assertion failure function
gem_execbuf, file ioctl_wrappers.c:557:
(gem_exec_reloc:2579) ioctl-wrappers-CRITICAL: Failed assertion:
__gem_execbuf(fd, execbuf) == 0
(gem_exec_reloc:2579) ioctl-wrappers-CRITICAL: Last errno: 14, Bad address
(gem_exec_reloc:2579) ioctl-wrappers-CRITICAL: error: -14 != 0
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [gem_execbuf+0x57]
  #2 [from_mmap+0x153]
  #3 [__real_main218+0x412]
  #4 [main+0x29]
  #5 [__libc_start_main+0xf5]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
Subtest wc-31 failed.
**** DEBUG ****
(gem_exec_reloc:2579) intel-os-DEBUG: Checking 1 surfaces of size 2,147,483,648
bytes (total 2,147,487,744) against RAM
(gem_exec_reloc:2579) intel-os-DEBUG: Test requirement passed:
!(!__intel_check_memory(count, size, mode, &required, &total))
(gem_exec_reloc:2579) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
(gem_exec_reloc:2579) ioctl-wrappers-CRITICAL: Test assertion failure function
gem_execbuf, file ioctl_wrappers.c:557:
(gem_exec_reloc:2579) ioctl-wrappers-CRITICAL: Failed assertion:
__gem_execbuf(fd, execbuf) == 0
(gem_exec_reloc:2579) ioctl-wrappers-CRITICAL: Last errno: 14, Bad address
(gem_exec_reloc:2579) ioctl-wrappers-CRITICAL: error: -14 != 0
****  END  ****
Subtest wc-31: FAIL (3.063s)

Hardware: 
Motherboard: Aspire XC-704 
cpu model name : Intel(R) Pentium(R) CPU N3700 @ 1.60GHz 
cpu model : 76 
cpu family : 6 
Graphic card: Device 22b1 (rev 21)


Software:
Bios: R01-A2
Kernel mainline 4.4.0 from
<a href="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git">https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git</a>
  commit afd2ff9b7e1b367172f18ba7f693dfb62bdcb2dc
  Author: Linus Torvalds <<a href="mailto:torvalds@linux-foundation.org">torvalds@linux-foundation.org</a>>
  Date:   Sun Jan 10 15:01:32 2016 -0800
  Linux 4.4
drm: libdrm-2.4.67-5 ea07de9 from git://anongit.freedesktop.org/mesa/drm
mesa: tag mesa-11.1.2 7bcd827 from git://anongit.freedesktop.org/mesa/mesa
cairo: tag 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
waffle: master bb29b2a from git://github.com/waffle-gl/waffle
xorg-server-macros: tag: util-macros-1.19.0-2 d7acec2 from
git://git.freedesktop.org/git/xorg/util/macros
xserver: tag: xorg-server-1.18.1 23e60f9 from
git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel: tag 2.99.917-560 d167280 from
git://anongit.freedesktop.org/xorg/driver/xf86-video-intel
libva: tag libva-1.7.0.pre1 35f1447 from
git://git.freedesktop.org/git/vaapi/libva
vaapi-intel-driver: tag 1.7.0.pre1 ab8e4e3 from
git://anongit.freedesktop.org/vaapi/intel-driver
IGT 1.14 364d378 from
<a href="http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git">http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git</a>

One external screen connected to HDMI</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>