Bug 104253 - [IGT][BXT] failure function userptr
Summary: [IGT][BXT] failure function userptr
Status: CLOSED DUPLICATE of bug 95424
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: 2017-12-13 23:50 UTC by Octavio
Modified: 2018-01-04 18:20 UTC (History)
1 user (show)

See Also:
i915 platform: BXT
i915 features:


Attachments
dmesg log (104.87 KB, text/plain)
2017-12-13 23:50 UTC, Octavio
no flags Details

Description Octavio 2017-12-13 23:50:56 UTC
Created attachment 136161 [details]
dmesg log

The below test fail with this configuration:

igt@gem_shrink@pwrite-oom

==============================================
output
==============================================
(gem_shrink:2355) ioctl-wrappers-CRITICAL: Test assertion failure function gem_write, file ioctl_wrappers.c:355:
(gem_shrink:2382) ioctl-wrappers-CRITICAL: Test assertion failure function gem_write, file ioctl_wrappers.c:355:
(gem_shrink:2418) ioctl-wrappers-CRITICAL: Test assertion failure function gem_write, file ioctl_wrappers.c:355:
(gem_shrink:2465) ioctl-wrappers-CRITICAL: Test assertion failure function gem_write, file ioctl_wrappers.c:355:
(gem_shrink:2465) ioctl-wrappers-CRITICAL: Failed assertion: __gem_write(fd, handle, offset, buf, length) == 0
Received signal SIGSEGV.
Stack trace: 
 #0 [fatal_sig_handler+0x132]
(gem_shrink:2338) CRITICAL: Test assertion failure function userptr, file gem_shrink.c:192:
(gem_shrink:2338) CRITICAL: Failed assertion: ptr != (void *)-1
(gem_shrink:2338) CRITICAL: Last errno: 12, Cannot allocate memory
Received signal SIGSEGV.
Stack trace: 
(gem_shrink:2382) ioctl-wrappers-CRITICAL: Failed assertion: __gem_write(fd, handle, offset, buf, length) == 0
Received signal SIGSEGV.
Stack trace: 
(gem_shrink:2465) ioctl-wrappers-CRITICAL: Last errno: 28, No space left on device
(gem_shrink:2465) ioctl-wrappers-CRITICAL: error: -28 != 0
(gem_shrink:2374) ioctl-wrappers-CRITICAL: Test assertion failure function gem_write, file ioctl_wrappers.c:355:
(gem_shrink:2374) ioctl-wrappers-CRITICAL: Failed assertion: __gem_write(fd, handle, offset, buf, length) == 0
(gem_shrink:2374) ioctl-wrappers-CRITICAL: Last errno: 28, No space left on device
(gem_shrink:2374) ioctl-wrappers-CRITICAL: error: -28 != 0
(gem_shrink:2382) ioctl-wrappers-CRITICAL: Last errno: 28, No space left on device
(gem_shrink:2382) ioctl-wrappers-CRITICAL: error: -28 != 0
Subtest pwrite-oom failed.
Comment 1 Octavio 2017-12-13 23:51:16 UTC
======================================
        Graphic stack
======================================

======================================
             Software
======================================
kernel version              : 4.15.0-rc2-drm-intel-qa-ww49-commit-bdf9b36+
hostname                    : gfx-desktop
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 5.6
bios release date           : 06/19/2017
ksc                         : 18.0
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
        Graphic drivers
======================================
grep: /opt/X11R7/var/log/Xorg.0.log: No such file or directory
libdrm                      : 2.4.88
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.20-200-g39ac6b8
intel-gpu-tools (commit)    : 39ac6b8

======================================
             Hardware
======================================
motherboard model          : NUC6CAYS
motherboard id             : NUC6CAYB
form factor                : Desktop
manufacturer               : Intelcorporation
cpu family                 : Celeron
cpu family id              : 6
cpu information            : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
gpu card                   : Intel Corporation Device 5a85 (rev 0b) (prog-if 00 [VGA controller])
memory ram                 : 15.52 GB
max memory ram             : 32 GB
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 92
cpu stepping               : 9
socket                     : Other
signature                  : Type 0, Family 6, Model 92, Stepping 9
hard drive                 : 111GiB (120GB)
current cd clock frequency : 288000 kHz
maximum cd clock frequency : 624000 kHz
displays connected         : DP-2

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.7
guc fw loaded             : fetch SUCCESS, load SUCCESS
guc version wanted        : wanted 9.29, found 9.29
guc version found         : wanted 9.29, found 9.29

======================================
             kernel parameters
======================================
quiet splash drm.debug=0xe intel_iommu=igfx_off i915.enable_guc=3 drm.debug=0xe resume=/dev/sda2
Comment 2 Chris Wilson 2017-12-14 08:15:53 UTC

*** This bug has been marked as a duplicate of bug 95424 ***


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.