Bug 94546 - [BSW] igt / gem_reloc_vs_gpu / forked-interruptible-faulting-reloc-thrash-inactive-hang fails
Summary: [BSW] igt / gem_reloc_vs_gpu / forked-interruptible-faulting-reloc-thrash-ina...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-14 21:44 UTC by cprigent
Modified: 2016-09-12 09:08 UTC (History)
1 user (show)

See Also:
i915 platform: BSW/CHT
i915 features: GEM/Other


Attachments
dmesg (126.13 KB, text/plain)
2016-03-14 21:44 UTC, cprigent
no flags Details

Description cprigent 2016-03-14 21:44:55 UTC
Created attachment 122301 [details]
dmesg

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 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
  commit afd2ff9b7e1b367172f18ba7f693dfb62bdcb2dc
  Author: Linus Torvalds <torvalds@linux-foundation.org>
  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 http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git

One external screen connected to HDMI


Steps:
-------
1. Execute IGT test:
# ./gem_reloc_vs_gpu --run-subtest forked-interruptible-faulting-reloc-thrash-inactive-hang

Actual result:
---------------
1. Test is Fail, output:
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.4.0-nightly x86_64)
(gem_reloc_vs_gpu:1530) igt-gt-CRITICAL: Test assertion failure function eat_error_state, file igt_gt.c:231:
(gem_reloc_vs_gpu:1530) igt-gt-CRITICAL: Failed assertion: write(fd, "", 1) == 1
(gem_reloc_vs_gpu:1530) igt-gt-CRITICAL: Last errno: 4, Interrupted system call
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [igt_post_hang_ring+0xd8]
  #2 [do_test+0x557]
  #3 [__real_main296+0x4de]
  #4 [main+0x29]
  #5 [__libc_start_main+0xf5]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
(gem_reloc_vs_gpu:1528) igt-gt-CRITICAL: Test assertion failure function eat_error_state, file igt_gt.c:231:
(gem_reloc_vs_gpu:1528) igt-gt-CRITICAL: Failed assertion: write(fd, "", 1) == 1
(gem_reloc_vs_gpu:1528) igt-gt-CRITICAL: Last errno: 4, Interrupted system call
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [igt_post_hang_ring+0xd8]
  #2 [do_test+0x557]
  #3 [__real_main296+0x4de]
  #4 [main+0x29]
  #5 [__libc_start_main+0xf5]
child 9 failed with exit status 99
Subtest forked-interruptible-faulting-reloc-thrash-inactive-hang failed.
**** DEBUG ****
(gem_reloc_vs_gpu:1515) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring_id)
(gem_reloc_vs_gpu:1515) ioctl-wrappers-DEBUG: Test requirement passed: has_ban_period
(gem_reloc_vs_gpu:1515) igt-gt-DEBUG: Test requirement passed: has_gpu_reset(fd)
****  END  ****
Subtest forked-interruptible-faulting-reloc-thrash-inactive-hang: FAIL (16.463s)


Expected result:
-----------------
1. Test is Pass
Comment 1 Elio 2016-06-02 22:06:19 UTC
Is this bug the same as 88358?
Comment 2 Chris Wilson 2016-09-09 17:51:42 UTC
commit 821ed7df6e2a1dbae243caebcfe21a0a4329fca0
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Sep 9 14:11:53 2016 +0100

    drm/i915: Update reset path to fix incomplete requests
    
    Update reset path in preparation for engine reset which requires
    identification of incomplete requests and associated context and fixing
    their state so that engine can resume correctly after reset.
    
    The request that caused the hang will be skipped and head is reset to the
    start of breadcrumb. This allows us to resume from where we left-off.
    Since this request didn't complete normally we also need to cleanup elsp
    queue manually. This is vital if we employ nonblocking request
    submission where we may have a web of dependencies upon the hung request
    and so advancing the seqno manually is no longer trivial.


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.