<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - [APL] [BAT] gem_exec_nop / basic sporadically fail"
href="https://bugs.freedesktop.org/show_bug.cgi?id=96606#c27">Comment # 27</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - [APL] [BAT] gem_exec_nop / basic sporadically fail"
href="https://bugs.freedesktop.org/show_bug.cgi?id=96606">bug 96606</a>
from <span class="vcard"><a class="email" href="mailto:elio.martinez.monroy@intel.com" title="Elio <elio.martinez.monroy@intel.com>"> <span class="fn">Elio</span></a>
</span></b>
<pre>After installing guc and dmc, it seems that it is not loading guc no matter the
grub parameters.
(01:45 PM) [gfx@gfx-Kabylake-Client-platform] [tests]$ : sudo ./gem_exec_nop
--r basic-parallel
IGT-Version: 1.16-g48a9e1e (x86_64) (Linux: 4.8.0guccarlos+ x86_64)
Using Execlists submission
(gem_exec_nop:1110) ioctl-wrappers-CRITICAL: Test assertion failure function
gem_execbuf, file ioctl_wrappers.c:589:
(gem_exec_nop:1110) ioctl-wrappers-CRITICAL: Failed assertion:
__gem_execbuf(fd, execbuf) == 0
(gem_exec_nop:1110) ioctl-wrappers-CRITICAL: error: -5 != 0
Stack trace:
#0 [__igt_fail_assert+0x101]
#1 [gem_execbuf+0x44]
#2 [nop_on_ring+0x8f]
#3 [parallel+0xb7]
#4 [__real_main299+0x235]
#5 [main+0x23]
#6 [__libc_start_main+0xf0]
#7 [_start+0x29]
#8 [<unknown>+0x29]
Subtest basic-parallel failed.
**** DEBUG ****
(gem_exec_nop:1110) ioctl-wrappers-CRITICAL: Test assertion failure function
gem_execbuf, file ioctl_wrappers.c:589:
(gem_exec_nop:1110) ioctl-wrappers-CRITICAL: Failed assertion:
__gem_execbuf(fd, execbuf) == 0
(gem_exec_nop:1110) ioctl-wrappers-CRITICAL: error: -5 != 0
**** END ****
Subtest basic-parallel: FAIL (0.002s)
(01:45 PM) [gfx@gfx-Kabylake-Client-platform] [tests]$ : sudo ./gem_exec_nop
--r basic-series
IGT-Version: 1.16-g48a9e1e (x86_64) (Linux: 4.8.0guccarlos+ x86_64)
Using Execlists submission
(gem_exec_nop:1113) ioctl-wrappers-CRITICAL: Test assertion failure function
gem_execbuf, file ioctl_wrappers.c:589:
(gem_exec_nop:1113) ioctl-wrappers-CRITICAL: Failed assertion:
__gem_execbuf(fd, execbuf) == 0
(gem_exec_nop:1113) ioctl-wrappers-CRITICAL: error: -5 != 0
Stack trace:
#0 [__igt_fail_assert+0x101]
#1 [gem_execbuf+0x44]
#2 [nop_on_ring+0x8f]
#3 [series+0xb4]
#4 [__real_main299+0x3c3]
#5 [main+0x23]
#6 [__libc_start_main+0xf0]
#7 [_start+0x29]
#8 [<unknown>+0x29]
Subtest basic-series failed.
**** DEBUG ****
(gem_exec_nop:1113) ioctl-wrappers-CRITICAL: Test assertion failure function
gem_execbuf, file ioctl_wrappers.c:589:
(gem_exec_nop:1113) ioctl-wrappers-CRITICAL: Failed assertion:
__gem_execbuf(fd, execbuf) == 0
(gem_exec_nop:1113) ioctl-wrappers-CRITICAL: error: -5 != 0
**** END ****
Subtest basic-series: FAIL (0.002s)
*********************************************************************
Dmesg showing guc is not being loaded
Please consider that initrd.img and vmlinuz are copied just after installing
the firmwares.
[ 0.000000] Command line: vmlinuz root=/dev/sda2 initrd=initrd.img idle=halt
log_buf_len=4M i915.enable_rc6=1 i915.preliminary_hw_support=1 drm.debug=0xe
i915.enable_guc_enable=2 i915.enable_guc_submission=2 resume=/dev/sda3
[ 0.000000] Kernel command line: vmlinuz root=/dev/sda2 initrd=initrd.img
idle=halt log_buf_len=4M i915.enable_rc6=1 i915.preliminary_hw_support=1
drm.debug=0xe i915.enable_guc_enable=2 i915.enable_guc_submission=2
resume=/dev/sda3
[ 3.489294] usb usb1: Manufacturer: Linux 4.8.0guccarlos+ xhci-hcd
[ 3.511896] usb usb2: Manufacturer: Linux 4.8.0guccarlos+ xhci-hcd
[ 4.264850] i915: unknown parameter 'enable_guc_enable' ignored
[ 4.270563] Setting dangerous option enable_guc_submission - tainting kernel
[ 4.273606] [drm:intel_device_info_dump [i915]] i915 device info: has_guc:
yes
[ 4.324637] [drm:intel_guc_setup [i915]] GuC fw status: path
i915/bxt_guc_ver8_7.bin, fetch NONE, load NONE
[ 4.324684] [drm:intel_guc_setup [i915]] *ERROR* GuC init failed: -5
I will try with Rodrigo's patches and share my findings so far.</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 on the CC list for the bug.</li>
</ul>
</body>
</html>