==System Environment== -------------------------- Regression: not sure Non-working platforms: BYT ==kernel== -------------------------- drm-intel-nightly/bd21cf795cf5dc278f1451d0f7a597cb1d13c2ba ==Bug detailed description== It fails once when run 5 cycles with -nightly kernel. output: IGT-Version: 1.8-gcba3088 (x86_64) (Linux: 3.18.0-rc2_drm-intel-nightly_bd21cf_20141030+ x86_64) gem_cpu_reloc: 44%Test assertion failure function exec, file gem_cpu_reloc.c:120: Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0 Last errno: 22, Invalid argument ==Reproduce steps== ---------------------------- 1. ./gem_cpu_reloc
drm.debug=7 dmesg?
(In reply to Chris Wilson from comment #1) > drm.debug=7 dmesg? Only reproduce once as above and didn't save dmesg. I run it more than 10 cycles just now, I can't reproduce the fail. It also fails when run automation testing, the log as below: Dmesg: <6>[ 2060.756282] [drm] stuck on render ring <6>[ 2060.799888] [drm] GPU HANG: ecode 0:0x00000000, in gem_cpu_reloc [1443], reason: Ring hung, action: reset <6>[ 2060.799893] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace. <6>[ 2060.799896] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel <6>[ 2060.799898] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue. <6>[ 2060.799900] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it. <6>[ 2060.799903] [drm] GPU crash dump saved to /sys/class/drm/card0/error <5>[ 2060.813413] drm/i915: Resetting chip after gpu hang <6>[ 2071.773663] [drm] stuck on render ring <6>[ 2071.800593] [drm] GPU HANG: ecode 0:0x00000000, in gem_cpu_reloc [1443], reason: Ring hung, action: reset <3>[ 2071.800794] [drm:i915_set_reset_status.part.30 [i915]] *ERROR* gpu hanging too fast, banning! <5>[ 2071.810344] drm/i915: Resetting chip after gpu hang Output: command pid dev master a uid magic Test Environment check: Succeeded. [1/1] dmesg-fail: 1 Running Test(s): 0 [1/1] dmesg-fail: 1 Running Test(s): 1 Thank you for running Piglit! Results have been written to /GFX/Test/Piglit/piglit/t { "results_version": 1, "time_elapsed": 25.40916419029236, "tests": { "igt/gem_cpu_reloc": { "dmesg": "[ 2060.813413] drm/i915: Resetting chip after gpu hang\n[ 2071.800794] [drm:i915_set_reset_status.part.30 [i915]] *ERROR* gpu hanging too fast, banning!\n[ 2071.810344] drm/i915: Resetting chip after gpu hang", "returncode": 99, "err": "", "environment": "PIGLIT_SOURCE_DIR=\"/GFX/Test/Piglit/piglit\" PIGLIT_PLATFORM=\"mixed_glx_egl\"", "command": "/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests/gem_cpu_reloc", "result": "dmesg-fail", "time": 25.231271028518677, "out": "IGT-Version: 1.8-gab5f7ea (x86_64) (Linux: 3.18.0-rc2_drm-intel-nightly_bd21cf_20141030+ x86_64)\nTest assertion failure function exec, file gem_cpu_reloc.c:120:\nFailed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0\nLast errno: 5, Input/output error\n" } }, "name": "t", "options": { "profile": [ "tests/igt.py" ], "dmesg": false, "execute": true, "platform": "mixed_glx_egl", "valgrind": false, "sync": false, "filter": [ "igt/gem_cpu_reloc$" ], "concurrent": "some", "exclude_tests": [], "env": { "lspci": "00:00.0 Host bridge: Intel Corporation ValleyView SSA-CUnit\n00:02.0 VGA compatible controller: Intel Corporation ValleyView Gen7\n00:13.0 SATA controller: Intel Corporation ValleyView 6-Port SATA AHCI Controller\n00:14.0 USB controller: Intel Corporation ValleyView USB xHCI Host Controller\n00:1a.0 Encryption controller: Intel Corporation ValleyView SEC\n00:1b.0 Audio device: Intel Corporation ValleyView High Definition Audio Controller\n00:1c.0 PCI bridge: Intel Corporation ValleyView PCI Express Root Port\n00:1c.1 PCI bridge: Intel Corporation ValleyView PCI Express Root Port\n00:1c.2 PCI bridge: Intel Corporation ValleyView PCI Express Root Port\n00:1c.3 PCI bridge: Intel Corporation ValleyView PCI Express Root Port\n00:1f.0 ISA bridge: Intel Corporation ValleyView Power Control Unit\n00:1f.3 SMBus: Intel Corporation ValleyView SMBus Controller\n01:00.0 Ethernet controller: Intel Corporation 82572EI Gigabit Ethernet Controller (Copper) (rev 06)\n", "uname": "Linux x-byt06 3.18.0-rc2_drm-intel-nightly_bd21cf_20141030+ #998 SMP Thu Oct 30 11:24:33 CST 2014 x86_64 x86_64 x86_64 GNU/Linux\n" }, "exclude_filter": [] } }
*** This bug has been marked as a duplicate of bug 85671 ***
Reproduce it on latest -nightly kernel. Fail rate: 3/5. Reopen it. output: IGT-Version: 1.9-geb799b2 (x86_64) (Linux: 3.18.0_drm-intel-nightly_4fa231_20141229+ x86_64) gem_cpu_reloc: 33%Test assertion failure function exec, file gem_cpu_reloc.c:122: Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0 Last errno: 22, Invalid argument
Created attachment 111499 [details] dmesg
this issue also happened on bsw.
Created attachment 112586 [details] dmesg on BSW
Seems fixed now (at least for 10 iterations): [root@jbarnes-byt tests]$ for i in `seq 1 10`; do ./gem_cpu_reloc ;done IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64) gem_cpu_reloc: 100% Test suceeded, cleanup up - this might take a while. SUCCESS (75.020s) IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64) gem_cpu_reloc: 100% Test suceeded, cleanup up - this might take a while. SUCCESS (75.368s) IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64) gem_cpu_reloc: 100% Test suceeded, cleanup up - this might take a while. SUCCESS (75.212s) IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64) gem_cpu_reloc: 100% Test suceeded, cleanup up - this might take a while. SUCCESS (75.796s) IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64) gem_cpu_reloc: 100% Test suceeded, cleanup up - this might take a while. SUCCESS (75.096s) IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64) gem_cpu_reloc: 100% Test suceeded, cleanup up - this might take a while. SUCCESS (75.044s) IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64) gem_cpu_reloc: 100% Test suceeded, cleanup up - this might take a while. SUCCESS (75.972s) IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64) gem_cpu_reloc: 100% Test suceeded, cleanup up - this might take a while. SUCCESS (74.916s) IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64) gem_cpu_reloc: 100% Test suceeded, cleanup up - this might take a while. SUCCESS (74.764s) IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64) gem_cpu_reloc: 100% Test suceeded, cleanup up - this might take a while. SUCCESS (75.136s)
Tested it on the latest nightly kernel and igt. This issue does not exists on BYT, but it still exists on BSW. output ---------------------- IGT-Version: 1.10-ge8457ed (x86_64) (Linux: 4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64) gem_cpu_reloc: 45%Test assertion failure function copy, file gem_cpu_reloc.c:106: Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0 Last errno: 5, Input/output error Stack trace: #0 [__igt_fail_assert+0xfc] #1 [copy+0x14f] #2 [main+0x1c1] #3 [__libc_start_main+0xf5] #4 [_start+0x29] #5 [<unknown>+0x29] Test gem_cpu_reloc failed. **** DEBUG **** (gem_cpu_reloc:4260) drmtest-DEBUG: Test requirement passed: fd >= 0 Checking 131073 surfaces of size 4096 bytes (total 603987968) against RAM Test requirement passed: !(total <= required) Test requirement passed: !igt_run_in_simulation() Test assertion failure function copy, file gem_cpu_reloc.c:106: Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0 Last errno: 5, Input/output error **** END **** FAIL (22.621s) root@x-bsw08:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# uname -a Linux x-bsw08 4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ #196 SMP Fri Apr 3 09:04:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux root@x-bsw08:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# root@x-bsw08:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# root@x-bsw08:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./gem_cpu_reloc IGT-Version: 1.10-ge8457ed (x86_64) (Linux: 4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64) gem_cpu_reloc: 100% Test suceeded, cleanup up - this might take a while. SUCCESS (39.585s) root@x-bsw08:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# root@x-bsw08:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./gem_cpu_reloc IGT-Version: 1.10-ge8457ed (x86_64) (Linux: 4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64) gem_cpu_reloc: 83%Test assertion failure function copy, file gem_cpu_reloc.c:106: Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0 Last errno: 5, Input/output error Stack trace: #0 [__igt_fail_assert+0xfc] #1 [copy+0x14f] #2 [main+0x339] #3 [__libc_start_main+0xf5] #4 [_start+0x29] #5 [<unknown>+0x29] Test gem_cpu_reloc failed. **** DEBUG **** (gem_cpu_reloc:4278) drmtest-DEBUG: Test requirement passed: fd >= 0 Checking 131073 surfaces of size 4096 bytes (total 603987968) against RAM Test requirement passed: !(total <= required) Test requirement passed: !igt_run_in_simulation() Test assertion failure function copy, file gem_cpu_reloc.c:106: Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0 Last errno: 5, Input/output error **** END **** FAIL (42.156s) root@x-bsw08:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./gem_cpu_reloc IGT-Version: 1.10-ge8457ed (x86_64) (Linux: 4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64) gem_cpu_reloc: 0%Test assertion failure function copy, file gem_cpu_reloc.c:106: Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0 Last errno: 5, Input/output error Stack trace: #0 [__igt_fail_assert+0xfc] #1 [copy+0x14f] #2 [main+0x1c1] #3 [__libc_start_main+0xf5] #4 [_start+0x29] #5 [<unknown>+0x29] Test gem_cpu_reloc failed. **** DEBUG **** (gem_cpu_reloc:4291) drmtest-DEBUG: Test requirement passed: fd >= 0 Checking 131073 surfaces of size 4096 bytes (total 603987968) against RAM Test requirement passed: !(total <= required) Test requirement passed: !igt_run_in_simulation() Test assertion failure function copy, file gem_cpu_reloc.c:106: Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0 Last errno: 5, Input/output error **** END **** FAIL (10.195s) root@x-bsw08:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# for i `sed 1 10`; do ./gem_cpu_reloc ; done -bash: syntax error near unexpected token ``sed 1 10`' root@x-bsw08:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# for i `seq 1 10`; do ./gem_cpu_reloc ; done -bash: syntax error near unexpected token ``seq 1 10`' root@x-bsw08:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# for i in `seq 1 10`; do ./gem_cpu_reloc ; done IGT-Version: 1.10-ge8457ed (x86_64) (Linux: 4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64) gem_cpu_reloc: 0%Test assertion failure function copy, file gem_cpu_reloc.c:106: Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0 Last errno: 5, Input/output error Stack trace: #0 [__igt_fail_assert+0xfc] #1 [copy+0x14f] #2 [main+0x1c1] #3 [__libc_start_main+0xf5] #4 [_start+0x29] #5 [<unknown>+0x29] Test gem_cpu_reloc failed. **** DEBUG **** (gem_cpu_reloc:4308) drmtest-DEBUG: Test requirement passed: fd >= 0 Checking 131073 surfaces of size 4096 bytes (total 603987968) against RAM Test requirement passed: !(total <= required) Test requirement passed: !igt_run_in_simulation() Test assertion failure function copy, file gem_cpu_reloc.c:106: Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0 Last errno: 5, Input/output error **** END **** FAIL (10.463s) IGT-Version: 1.10-ge8457ed (x86_64) (Linux: 4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64) gem_cpu_reloc: 80%Test assertion failure function copy, file gem_cpu_reloc.c:106: Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0 Last errno: 5, Input/output error Stack trace: #0 [__igt_fail_assert+0xfc] #1 [copy+0x14f] #2 [main+0x339] #3 [__libc_start_main+0xf5] #4 [_start+0x29] #5 [<unknown>+0x29] Test gem_cpu_reloc failed. **** DEBUG **** (gem_cpu_reloc:4322) drmtest-DEBUG: Test requirement passed: fd >= 0 Checking 131073 surfaces of size 4096 bytes (total 603987968) against RAM Test requirement passed: !(total <= required) Test requirement passed: !igt_run_in_simulation() Test assertion failure function copy, file gem_cpu_reloc.c:106: Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0 Last errno: 5, Input/output error **** END **** FAIL (42.013s) IGT-Version: 1.10-ge8457ed (x86_64) (Linux: 4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64) gem_cpu_reloc: 18%Test assertion failure function copy, file gem_cpu_reloc.c:106: Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0 Last errno: 5, Input/output error Stack trace: #0 [__igt_fail_assert+0xfc] #1 [copy+0x14f] #2 [main+0x1c1] #3 [__libc_start_main+0xf5] #4 [_start+0x29] #5 [<unknown>+0x29] Test gem_cpu_reloc failed. **** DEBUG **** (gem_cpu_reloc:4332) drmtest-DEBUG: Test requirement passed: fd >= 0 Checking 131073 surfaces of size 4096 bytes (total 603987968) against RAM Test requirement passed: !(total <= required) Test requirement passed: !igt_run_in_simulation() Test assertion failure function copy, file gem_cpu_reloc.c:106: Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0 Last errno: 5, Input/output error **** END **** FAIL (16.785s) IGT-Version: 1.10-ge8457ed (x86_64) (Linux: 4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64) gem_cpu_reloc: 57%Test assertion failure function copy, file gem_cpu_reloc.c:106: Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0 Last errno: 5, Input/output error Stack trace: #0 [__igt_fail_assert+0xfc] #1 [copy+0x14f] #2 [main+0x279] #3 [__libc_start_main+0xf5] #4 [_start+0x29] #5 [<unknown>+0x29] Test gem_cpu_reloc failed. **** DEBUG **** (gem_cpu_reloc:4346) drmtest-DEBUG: Test requirement passed: fd >= 0 Checking 131073 surfaces of size 4096 bytes (total 603987968) against RAM Test requirement passed: !(total <= required) Test requirement passed: !igt_run_in_simulation() Test assertion failure function copy, file gem_cpu_reloc.c:106: Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0 Last errno: 5, Input/output error **** END **** FAIL (33.672s) IGT-Version: 1.10-ge8457ed (x86_64) (Linux: 4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64) gem_cpu_reloc: 14%Test assertion failure function copy, file gem_cpu_reloc.c:106: Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0 Last errno: 5, Input/output error Stack trace: #0 [__igt_fail_assert+0xfc] #1 [copy+0x14f] #2 [main+0x1c1] #3 [__libc_start_main+0xf5] #4 [_start+0x29] #5 [<unknown>+0x29] Test gem_cpu_reloc failed. **** DEBUG **** (gem_cpu_reloc:4355) drmtest-DEBUG: Test requirement passed: fd >= 0 Checking 131073 surfaces of size 4096 bytes (total 603987968) against RAM Test requirement passed: !(total <= required) Test requirement passed: !igt_run_in_simulation() Test assertion failure function copy, file gem_cpu_reloc.c:106: Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0 Last errno: 5, Input/output error **** END **** FAIL (14.705s) IGT-Version: 1.10-ge8457ed (x86_64) (Linux: 4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64) gem_cpu_reloc: 34%Test assertion failure function copy, file gem_cpu_reloc.c:106: Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0 Last errno: 5, Input/output error Stack trace: #0 [__igt_fail_assert+0xfc] #1 [copy+0x14f] #2 [main+0x1c1] #3 [__libc_start_main+0xf5] #4 [_start+0x29] #5 [<unknown>+0x29] Test gem_cpu_reloc failed. **** DEBUG **** (gem_cpu_reloc:4368) drmtest-DEBUG: Test requirement passed: fd >= 0 Checking 131073 surfaces of size 4096 bytes (total 603987968) against RAM Test requirement passed: !(total <= required) Test requirement passed: !igt_run_in_simulation() Test assertion failure function copy, file gem_cpu_reloc.c:106: Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0 Last errno: 5, Input/output error **** END **** FAIL (25.715s) IGT-Version: 1.10-ge8457ed (x86_64) (Linux: 4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64) gem_cpu_reloc: 0%Test assertion failure function copy, file gem_cpu_reloc.c:106: Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0 Last errno: 5, Input/output error Stack trace: #0 [__igt_fail_assert+0xfc] #1 [copy+0x14f] #2 [main+0x1c1] #3 [__libc_start_main+0xf5] #4 [_start+0x29] #5 [<unknown>+0x29] Test gem_cpu_reloc failed. **** DEBUG **** (gem_cpu_reloc:4385) drmtest-DEBUG: Test requirement passed: fd >= 0 Checking 131073 surfaces of size 4096 bytes (total 603987968) against RAM Test requirement passed: !(total <= required) Test requirement passed: !igt_run_in_simulation() Test assertion failure function copy, file gem_cpu_reloc.c:106: Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0 Last errno: 5, Input/output error **** END **** FAIL (11.316s) IGT-Version: 1.10-ge8457ed (x86_64) (Linux: 4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64) gem_cpu_reloc: 100% Test suceeded, cleanup up - this might take a while. SUCCESS (44.295s) IGT-Version: 1.10-ge8457ed (x86_64) (Linux: 4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64) gem_cpu_reloc: 100% Test suceeded, cleanup up - this might take a while. SUCCESS (37.948s) IGT-Version: 1.10-ge8457ed (x86_64) (Linux: 4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64) gem_cpu_reloc: 68%Test assertion failure function copy, file gem_cpu_reloc.c:106: Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0 Last errno: 5, Input/output error Stack trace: #0 [__igt_fail_assert+0xfc] #1 [copy+0x14f] #2 [main+0x339] #3 [__libc_start_main+0xf5] #4 [_start+0x29] #5 [<unknown>+0x29] Test gem_cpu_reloc failed. **** DEBUG **** (gem_cpu_reloc:4404) drmtest-DEBUG: Test requirement passed: fd >= 0 Checking 131073 surfaces of size 4096 bytes (total 603987968) against RAM Test requirement passed: !(total <= required) Test requirement passed: !igt_run_in_simulation() Test assertion failure function copy, file gem_cpu_reloc.c:106: Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8))), &execbuf)) == 0 Last errno: 5, Input/output error **** END **** FAIL (37.186s)
still happen on SKL-Y with the latest kernel : Kernel commit log: commit b4c4542ba1abfb0d3d6913504502573bf2c62b12 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Fri Aug 28 15:51:30 2015 +0200 drm-intel-nightly: 2015y-08m-28d-13h-50m-34s UTC integration manifest
Reproduced on BSW with 4.3.0-rc2-drm-intel-nightly Hardware: ========= Platform: Braswell M CPU : Intel(R) Celeron N3060 1.60GHz @ 1.6 GHz (family: 6, model: 76 stepping: 4) SoC : BSW D0 QDF : K6XC CRB : BRASWELL RVP Fab2 Mandatory Reworks : All Feature Reworks: F28, F32,F33 & F37 Optional reworks : O-01a Software : Linux distribution: Ubuntu 14.04 LTS 64 bits BIOS : BRAS.X64.B084.R00.1508310642 TXE FW : 2.0.0.2073 Ksc : 1.08 kernel 4.3.0-rc2-drm-intel-nightly+ commit 794e1cdfb84be003dbd287c69501c98ec280a89b Author: Jani Nikula <jani.nikula@intel.com> Date: Mon Sep 28 17:28:29 2015 +0300 drm-intel-nightly: 2015y-09m-28d-14h-28m-11s UTC integration manifest cairo: (HEAD, tag: 1.14.2) 93422b3cb5e0ef8104b8194c8873124ce2f5ea2d from git://git.freedesktop.org/git/cairo drm: (HEAD, tag: libdrm-2.4.64, tag: 2.4.64) ab2fadabde3829b1ec56bd4756165dd9bd281488 from git://git.freedesktop.org/git/mesa/drm intel-driver: (HEAD, origin/master, origin/HEAD, master) 2a72f99d24714f2a58f400ef63b913d4cf9080b3 from git://git.freedesktop.org/git/vaapi/intel-driver libva: (HEAD, tag: libva-1.6.1, origin/v1.6-branch) 613eb962b45fbbd1526d751e88e0d8897af6c0e0 from git://git.freedesktop.org/git/vaapi/libva mesa: (HEAD, tag: mesa-10.6.7) 32efdc87cbf89cfe08ad9571cd756e27c803caa8 from git://git.freedesktop.org/git/mesa/mesa xf86-video-intel: (HEAD, origin/master, origin/HEAD, master) f0fd4d500de03c30c7ce19915f85acadd1ca4e5d from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel xserver: (HEAD, tag: xorg-server-1.17.2) 2123f7682d522619f101b05fb75efa75dabbe371 from git://git.freedesktop.org/git/xorg/xserver intel-gpu-tools: (HEAD, tag: intel-gpu-tools-1.12) 1f9e0550455be4b219954a026407dd23ec21b299 from git://git.freedesktop.org/git/xorg/app/intel-gpu-tools
(In reply to Rami from comment #11) > Reproduced on BSW with 4.3.0-rc2-drm-intel-nightly Reproduced what? Always attach fresh output so that we can confirm it is the same bug, and hopefully gain further insight.
gem_cpu_reloc@basic and full are Pass with last setup on BSW-M. Let's check on BYT and SKL before closing it. Platform: Braswell M CPU : Intel(R) Celeron N3060 1.60GHz @ 1.6 GHz (family: 6, model: 76 stepping: 4) SoC : BSW D0 QDF : K6XC CRB : BRASWELL RVP Fab2 Mandatory Reworks : All Feature Reworks: F28, F32, F33, F35, F37 Optional reworks : O-01a; O-02, O-03 Software BIOS : BRAS.X64.B084.R00.1508310642 TXE FW : 2.0.0.2073 Ksc : 1.08 Linux distribution: Ubuntu 14.04 LTS 64 bits kernel 4.3.0-rc6-drm-intel-nightly+ (ab48d30) from git://anongit.freedesktop.org/drm-intel commit ab48d308f2fe5a8ad3d2fd57d313e74995cf1c20 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Fri Oct 23 12:03:04 2015 +0200 drm-intel-nightly: 2015y-10m-23d-10h-02m-25s UTC integration manifest Mesa 11.0.4 from http://cgit.freedesktop.org/mesa/mesa/ xf86-video-intel - 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/ Libdrm - 2.4.65 from http://cgit.freedesktop.org/mesa/drm/ Libva - 1.6.1 from http://cgit.freedesktop.org/libva/ vaapi intel-driver - 1.6.1 from http://cgit.freedesktop.org/vaapi/intel-driver Cairo - 1.14.2 from http://cgit.freedesktop.org/cairo Xorg Xserver - 1.17.2 from http://cgit.freedesktop.org/xorg/xserver
gem_cpu_reloc@full is Fail on SKL with kernel drm-intel-nightly 4.4.0-rc8 Dell Inspiron 15 7000 2-1 Intel Core (TM) i7 CPU @ 6500 2.5 Intel HD Graphics Linux distribution: Ubuntu 15.10 64 bits Kernel: drm-intel-nightly 4.4.0-rc8 8834392 from http://cgit.freedesktop.org/drm-intel/ libdrm-2.4.66 from http://cgit.freedesktop.org/mesa/drm/ xf86-video-intel 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/ mesa-11.0.8 from http://cgit.freedesktop.org/mesa/mesa/ libva-1.6.2 from http://cgit.freedesktop.org/libva/ intel-driver 1.6.2 from http://cgit.freedesktop.org/vaapi/intel-driver cairo 1.15.2 from http://cgit.freedesktop.org/cairo DMC and GUC firmware from https://01.org/linuxgraphics/intel-linux-graphics-firmwares IGT 1.13 cd658a7c6bca74eb897a8ae87751029793f0c4f4 from http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/
There is no information here about the latest failures.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.