Bug 88094

Summary: [BDW]igt/gem_reset_stats/ban-bsd sporadically fails and causes *ERROR* gpu hanging too fast, banning!
Product: DRI Reporter: lu hua <huax.lu>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED WONTFIX QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: christophe.prigent, florian, intel-gfx-bugs
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: BYT, SKL i915 features: GEM/Other
Attachments:
Description Flags
dmesg none

Description lu hua 2015-01-06 06:15:04 UTC
Created attachment 111828 [details]
dmesg

==System Environment==
--------------------------
Regression: not sure

Non-working platforms: BDW

==kernel==
--------------------------
drm-intel-nightly/07d0c831d9207c937595f081c8fddbddbf53756f
commit 07d0c831d9207c937595f081c8fddbddbf53756f
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Tue Dec 30 15:02:01 2014 +0200

    drm-intel-nightly: 2014y-12m-30d-13h-01m-34s UTC integration manifest

==Bug detailed description==
-----------------------------
It sporadically fails and causes *ERROR* gpu hanging too fast, banning! on BDW with -nightly kernel. fail rate:1/15

output:
IGT-Version: 1.9-gcb512b6 (x86_64) (Linux: 3.19.0-rc2_drm-intel-nightly_07d0c8_20150105+ x86_64)
retrying for ban (9)
Test assertion failure function inject_hang_ring, file gem_reset_stats.c:332:
Failed assertion: gem_exec(fd, &execbuf) == 0
Last errno: 5, Input/output error

==Reproduce steps==
---------------------------- 
1. ./gem_reset_stats --run-subtest ban-bsd
Comment 1 Rodrigo Vivi 2015-01-21 23:53:31 UTC
How sporadically?  It seems working well for me.
btw: that error on dmesg is expected on this test.
Comment 2 lu hua 2015-01-22 03:24:35 UTC
Test on the latest -nightly kernel, it has bug 88688.
Test on drm-intel-nightly_be0b52_20150119, it fails 2 in 5 runs.
output:
IGT-Version: 1.9-g3d65ff7 (x86_64) (Linux: 3.19.0-rc4_drm-intel-nightly_be0b52_20150119+ x86_64)
retrying for ban (9)
(gem_reset_stats:4722) CRITICAL: Test assertion failure function inject_hang_ring, file gem_reset_stats.c:332:
(gem_reset_stats:4722) CRITICAL: Failed assertion: gem_exec(fd, &execbuf) == 0
(gem_reset_stats:4722) CRITICAL: Last errno: 5, Input/output error
Subtest ban-bsd: FAIL (27.890s)
Comment 3 Humberto Israel Perez Rodriguez 2015-09-23 16:58:41 UTC
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
Comment 4 Elio 2015-10-15 23:58:29 UTC
Still present on BYT with latest configuration:

Kernel: http://vanaheimr.fr.intel.com/shared/out/kernels/drm-intel/WW42.1_4.3.0-rc4_c38f2c2/
 xorg-server-1.17.2
libdrm-2.4.65
xf86-video-intel2.99.917
mesa-11.0.2
libva-1.6.1
intel-driver 1.6.1
cairo 1.14.2
intel-gpu-tools-1.12
Comment 5 Humberto Israel Perez Rodriguez 2015-10-28 18:45:37 UTC
The following tests cases also fail on BYT-M with the next configuration :

<%gem_reset_stats@ban-blt%>

Ubuntu 14.04.03 x86_x64 LTS
xorg-server : 1.17.2
libdrm : 2.4.65
xf86-video-intel : 2.99.917
mesa : 11.0.4
libva : 1.6.1
intel: driver 1.6.1
cairo : 1.14.2
intel-gpu-tools : 1.12 (commit a2c6786)

Kernel: drm-intel-nightly: 2015y-10m-23d-09h-56m-09s
commit 87074657f22e38163e712ca417e1a398d00096b6
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Fri Oct 23 11:56:52 2015 +0200
Comment 6 Chris Wilson 2016-03-03 13:00:35 UTC
The test can't be generating the same output, so please provide current debug logs.
Comment 7 Ricardo 2017-02-20 18:38:56 UTC
this bug has not been commented for several months, requested new logs with no response. please huax.lu@intel.com if you encounter the issue again open a new bug

This bug will be closed due to lack of reponse

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.