Bug 94678 - [SKL/IVB] gem_evict_alignment@minor-hang crashes
Summary: [SKL/IVB] gem_evict_alignment@minor-hang crashes
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
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-23 21:04 UTC by Jairo Miramontes
Modified: 2016-10-14 07:15 UTC (History)
1 user (show)

See Also:
i915 platform: IVB, SKL
i915 features: GEM/Other


Attachments
dmesg log (123.09 KB, text/plain)
2016-03-23 21:04 UTC, Jairo Miramontes
no flags Details
dmesg (231.96 KB, text/plain)
2016-06-03 22:01 UTC, Elio
no flags Details

Description Jairo Miramontes 2016-03-23 21:04:52 UTC
Created attachment 122507 [details]
dmesg log

Test igt@gem_evict_alignment@minor-hang  crashes on the following setup:

Steps  to reproduce 
1.-Install IGT ( version below)
2.-./run-tests -t gem_evict_alignment@minor-hang
Expected output 
   "result": "pass"
Actual output
   "result": "crash"

-------
 --- Software information ---

 ++ Kernel version                      : 4.4.4-040404-generic
 ++ Linux distribution                  : Ubuntu 15.10
 ++ Architecture                        : 64-bit
 ++ Mesa version                        : 11.1.2
 ++ xf86-video-intel version            : 2.99.917
 ++ Xorg-Xserver version                : 1.18.1
 ++ DRM version                         : 2.4.67
 ++ VAAPI version                       : Intel i965 driver for Intel(R) Skylake - 1.7.0.pre1 (1.7.0.pre1)
 ++ Cairo version                       : 1.15.2
 ++ Intel GPU Tools version             : Tag [intel-gpu-tools-1.14] / Commit [1112abe]
 ++ Kernel driver in use                : i915
 ++ Bios revision                       : 1.0


 --- Hardware information ---

 ++ Platform                            : SKL
 ++ Motherboard model                   : Inspiron 15-7568
 ++ Motherboard type                    : 02HK88 Laptop
 ++ Motherboard manufacturer            : Dell Inc.
 ++ CPU family                          : Core i7
 ++ CPU information                     : Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
 ++ GPU Card                            : Intel Corporation Sky Lake Integrated Graphics (rev 07) (prog-if 00 [VGA controller])
 ++ Memory ram                          : 8 GB
 ++ Maximum memory ram allowed          : 8 GB
 ++ Display resolution                  :
 ++ CPU's number                        : 4
 ++ Hard drive capacity                 : 1.00 TB


Attached dmesg.log with drm.debug=0xe
Kernel version 4.4.4 was used as part of the Quarterly Release testing, will test again with a newer version.
Comment 1 Chris Wilson 2016-03-23 21:08:42 UTC
[   71.803972] [drm:intel_guc_ucode_load] GuC fw status: fetch SUCCESS, load SUCCESS
[   71.803975] [drm:intel_guc_ucode_load] GuC fw fetch status SUCCESS
[   71.910647] [drm:guc_ucode_xfer_dma] DMA status 0x10, GuC status 0x40000026
[   71.910649] [drm:guc_ucode_xfer_dma] returning -110
[   71.910744] [drm:i915_gem_init_hw [i915]] *ERROR* Failed to initialize GuC, error -110 (ignored)
... a few more hangs ...
[   99.781162] [drm:intel_guc_ucode_load] GuC fw status: fetch SUCCESS, load FAIL
[   99.781190] [drm:i915_gem_init_hw [i915]] *ERROR* Failed to initialize GuC, error -8 (ignored)
[   99.781811] ------------[ cut here ]------------
[   99.781831] WARNING: CPU: 1 PID: 64 at /home/kernel/COD/linux/drivers/gpu/drm/i915/intel_lrc.c:702 intel_logical_ring_begin+0x1ab/0x250 [i915]()
[   99.781832] WARN_ON(&target->list == &ring->request_list)

The ENOSPC should be fixed in 4.5.

Not sure about the timeout for guc_ucode_xfer_dma() and then persistent failure. That looks eerily like some patches I've just seen on the ml.
Comment 2 Elio 2016-06-03 21:59:30 UTC
This test is now skipping but it never cuts the latest instruction in terminal.

./gem_evict_alignment --run-subtest minor-hang
IGT-Version: 1.14-g303b380 (x86_64) (Linux: 4.6.0-drm-intel-nightly-ww23-commit-fb023a2+ x86_64)
Test requirement not met in function intel_require_memory, file intel_os.c:289:
Test requirement: __intel_check_memory(count, size, mode, &required, &total)
Estimated that we need 402,653,184 objects and 402,849,792 MiB for the test, but only have 7,427 MiB available (RAM) and a maximum of 777,605 objects
Subtest minor-hang: SKIP (0.000s)

Configuration:

Software information
============================================
Kernel version                  : 4.6.0-drm-intel-nightly-ww23-commit-fb023a2+
Linux distribution              : Ubuntu 16.04 LTS
Architecture                    : 64-bit
xf86-video-intel version        : 2.99.917
Xorg-Xserver version            : 1.18.3
DRM version                     : 2.4.68
VAAPI version                   : Intel i965 driver for Intel(R) Skylake - 1.7.0
Cairo version                   : 1.15.2
Intel GPU Tools version         : Tag [intel-gpu-tools-1.14-348-g303b380] / Commit [303b380]
Kernel driver in use            : i915
Hardware acceleration           :
Bios revision                   : 1.0
 


 Hardware information
============================================
Platform                        : SKL
Motherboard model               : Inspiron 15-7568
Motherboard type                : 02HK88 Laptop
Motherboard manufacturer        : Dell Inc.
CPU family                      : Core i7
CPU information                 : Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
GPU Card                        : Intel Corporation Sky Lake Integrated Graphics (rev 07) (prog-if 00 [VGA controller])
Memory ram                      : 8 GB
Maximum memory ram allowed      : 8 GB
Display resolution              :
CPU's number                    : 4
Hard drive Capacity             : 1.00 TB

 Firmwares information
============================================
DMC fw loaded                   : yes
DMC version                     : 1.26
GUC fw loaded                   : NONE
GUC version wanted              : 6.1
GUC version found               : 0.0
Comment 3 Elio 2016-06-03 22:01:03 UTC
Created attachment 124313 [details]
dmesg
Comment 4 yann 2016-10-14 07:15:06 UTC
closing based on comment #2, no crash anymore


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.