From: bugzilla-daemon@freedesktop.org
Subject: [Bug 109808] ROCm OpenCL segfaults on drm-next-5.1-wip
Date: Sun, 03 Mar 2019 18:39:46 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0950155239=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id BB22589B60
for ; Sun, 3 Mar 2019 18:39:46 +0000 (UTC)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0950155239==
Content-Type: multipart/alternative; boundary="15516383860.BD84Fb297.20607"
Content-Transfer-Encoding: 7bit
--15516383860.BD84Fb297.20607
Date: Sun, 3 Mar 2019 18:39:46 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D109808
--- Comment #1 from Philip Yang ---
Error code -19 means NODEV, please check if the running kernel enables the
kernel config option CONFIG_ZONE_DEVICE (read kernel config from file
/proc/config.gz).
init_user_pages return -NODEV if userptr support is not enabled, userptr
support depends on kernel option CONFIG_HMM_MIRROR/CONFIG_HMM, which depend=
s on
kernel option CONFIG_ZONE_DEVICE.
CONFIG_ZONE_DEVICE, CONFIG_HMM is by default ON, but kernel config file may=
not
select to set CONFIG_ZONE_DEVICE if the kernel config file is from old kern=
el.
If userptr support is not enabled, then clinfo and KFD usreptr support will
return error -19.
Please correct kernel config file by adding CONFIG_ZONE_DEVICE=3Dy
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15516383860.BD84Fb297.20607
Date: Sun, 3 Mar 2019 18:39:46 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
Commen=
t # 1
on bug 10980=
8
from Philip Yang
Error code -19 means NODEV, please check if the running kernel=
enables the
kernel config option CONFIG_ZONE_DEVICE (read kernel config from file
/proc/config.gz).
init_user_pages return -NODEV if userptr support is not enabled, userptr
support depends on kernel option CONFIG_HMM_MIRROR/CONFIG_HMM, which depend=
s on
kernel option CONFIG_ZONE_DEVICE.
CONFIG_ZONE_DEVICE, CONFIG_HMM is by default ON, but kernel config file may=
not
select to set CONFIG_ZONE_DEVICE if the kernel config file is from old kern=
el.
If userptr support is not enabled, then clinfo and KFD usreptr support will
return error -19.
Please correct kernel config file by adding CONFIG_ZONE_DEVICE=3Dy
You are receiving this mail because:
- You are the assignee for the bug.
=
--15516383860.BD84Fb297.20607--
--===============0950155239==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs
--===============0950155239==--