[Bug 100585] New: [BXT]gem_mmap/swap-bo causing page allocation failure
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Apr 5 16:34:00 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=100585
Bug ID: 100585
Summary: [BXT]gem_mmap/swap-bo causing page allocation failure
Product: DRI
Version: DRI git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Intel
Assignee: intel-gfx-bugs at lists.freedesktop.org
Reporter: elio.martinez.monroy at intel.com
QA Contact: intel-gfx-bugs at lists.freedesktop.org
CC: intel-gfx-bugs at lists.freedesktop.org
Created attachment 130700
--> https://bugs.freedesktop.org/attachment.cgi?id=130700&action=edit
dmesg log
The following test is failing "gem_mmap at swap-bo" causing a page allocation
failure:
Reproduce steps:
1.-Install IGT tools
2.-Execute $./sudo -E ./gem_mmap --run-subtest
Expected results:
The test should pass
Actual Result: fail
Output:
IGT-Version: 1.18-g56741ce (x86_64) (Linux:
4.11.0-rc5-drm-tip-qa-ww14-commit-5bc82ec+ x86_64)
(gem_mmap:1613) ioctl-wrappers-CRITICAL: Test assertion failure function
gem_set_domain, file ioctl_wrappers.c:435:
(gem_mmap:1613) ioctl-wrappers-CRITICAL: Failed assertion: __gem_set_domain(fd,
handle, read, write) == 0
(gem_mmap:1613) ioctl-wrappers-CRITICAL: Last errno: 12, Cannot allocate memory
(gem_mmap:1613) ioctl-wrappers-CRITICAL: error: -12 != 0
Stack trace:
#0 [__igt_fail_assert+0x101]
#1 [gem_set_domain+0x44]
#2 [test_huge_bo+0xe8]
#3 [__real_main119+0x386]
#4 [main+0x33]
#5 [__libc_start_main+0xf1]
#6 [_start+0x29]
#7 [<unknown>+0x29]
Subtest swap-bo failed.
**** DEBUG ****
(gem_mmap:1613) intel-os-DEBUG: Checking 1 surfaces of size 1,939,865,600 bytes
(total 1,939,869,696) against RAM + swap
(gem_mmap:1613) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_mmap:1613) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(gem_mmap:1613) intel-os-DEBUG: Test requirement passed:
__intel_check_memory(count, size, mode, &required, &total)
(gem_mmap:1613) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
(gem_mmap:1613) DEBUG: Test requirement passed: ptr_cpu
(gem_mmap:1613) ioctl-wrappers-CRITICAL: Test assertion failure function
gem_set_domain, file ioctl_wrappers.c:435:
(gem_mmap:1613) ioctl-wrappers-CRITICAL: Failed assertion: __gem_set_domain(fd,
handle, read, write) == 0
(gem_mmap:1613) ioctl-wrappers-CRITICAL: Last errno: 12, Cannot allocate memory
(gem_mmap:1613) ioctl-wrappers-CRITICAL: error: -12 != 0
**** END ****
Subtest swap-bo: FAIL (0.915s)
Configuration:
Kernel version:
4.11.0-rc5 commit-5bc82ec
Component : drm
url : http://cgit.freedesktop.org/mesa/drm
tag : libdrm-2.4.76-16-g6312017
commit : 6312017
author : Emil Velikov <emil.l.velikov at gmail.com>
age : Mon Apr 3 18:01:49 2017 +0100 7 hours ago
comment : configure.ac: bring back pthread-stubs check
Component : mesa
url : http://cgit.freedesktop.org/mesa/mesa
tag : 17.0-branchpoint-2397-g405ef7b
commit : 405ef7b
author : Jason Ekstrand <jason at jlekstrand.net>
age : Mon Apr 3 16:58:35 2017 -0700 30 minutes ago
comment : intel/vec4: Add some fall through comments
Component : xf86-video-intel
url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel
tag : 2.99.917-770-gcb6ba2d
commit : cb6ba2d
author : Chris Wilson <chris at chris-wilson.co.uk>
age : Sat Mar 25 01:21:46 2017 +0000 10 days ago
Component : libva
url : http://cgit.freedesktop.org/libva
tag : libva-1.7.3.pre1-85-gefc164d
commit : efc164d
author : Xiang Haihao <haihao.xiang at intel.com>
age : Tue Mar 7 23:42:43 2017 +0800 4 weeks ago
comment : Bump libva to 1.8.1.pre1 for development
Component : intel-driver
url : http://cgit.freedesktop.org/vaapi/intel-driver
tag : 1.7.3-359-g437cbe0
commit : 437cbe0
author : Víctor Manuel Jáquez Leal <vjaquez at igalia.com>
age : Wed Mar 29 08:29:46 2017 +0800 6 days ago
comment : gen8: accept P010 as valid format
Component : cairo
url : http://cgit.freedesktop.org/cairo
tag : 1.15.4-11-gcffa452
commit : cffa452
author : Debarshi Ray <debarshir at freedesktop.org>
age : Wed Mar 15 20:26:22 2017 -0700 3 weeks ago
comment : doc: Clarify when the device scale is inherited and when
Component : xserver
url : http://cgit.freedesktop.org/xorg/xserver
tag : xorg-server-1.19.0-184-ge4d0757
commit : e4d0757
author : Adam Jackson <ajax at redhat.com>
age : Thu Mar 30 11:32:02 2017 -0400 4 days ago
comment : xfree86: Remove driver entity hooks and private
Component : macros
url : https://cgit.freedesktop.org/xorg/util/macros
tag : util-macros-1.19.1-2-g39f07f7
commit : 39f07f7
author : Emil Velikov <emil.veliko at collabora.com>
age : Mon Feb 20 10:16:40 2017 +1000 6 weeks ago
comment : Rework INSTALL_CMD to touch/echo >&2 only as needed
Component : intel-gpu-tools
url : https://cgit.freedesktop.org/xorg/app/intel-gpu-tools
tag : intel-gpu-tools-1.18-56-g56741ce
commit : 56741ce
author : Chris Wilson <chris at chris-wilson.co.uk>
age : Mon Apr 3 19:19:42 2017 +0100 6 hours ago
comment : tests/gem_media_fill: Fixup typo
Component : piglit
url : https://cgit.freedesktop.org/piglit
tag : piglit-v1
commit : 3d1cbd9
author : Vinson Lee <vlee at freedesktop.org>
age : Mon Apr 3 15:46:33 2017 -0700 2 hours ago
comment : glslparsertest: Add test case for FDO bug #100438.
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20170405/d5afb3eb/attachment.html>
More information about the intel-gfx-bugs
mailing list