Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 2020 08:55:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 249476] graphics/drm-fbsd12.0-kmod i915kms GT2 attach returned 19
Message-ID:  <bug-249476-7141-vxk2cMTDAg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-249476-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-249476-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 (Nobody)
<x11@FreeBSD.org> for maintainer-feedback:
Bug 249476: graphics/drm-fbsd12.0-kmod i915kms GT2 attach returned 19
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249476



--- Description ---
Intel Haswell GT2 Server HD Graphics P4600 vendor=3D0x8086,dev=3D0x041a,rev=
id=3D0x06
download.freebsd.org: FreeBSD 12.2-BETA1 r365618 GENERIC amd64
pkg.freebsd.org:
FreeBSD:12:amd64/latest/All/drm-fbsd12.0-kmod-4.16.g20200221.txz

Up to date as above.

Modules kldload and kldstat ok...
Loaded /.../i915kms.ko, id=3D8
i915kms.ko, drm.ko, linuxkpi.ko, linuxkpi_gplv2.ko, debugfs.ko

But the only dmesg output says they are broken...
kernel: anon_inodefs registered
kernel: debugfs registered
kernel: drmn0: <drmn> on vgapci0
kernel: device_attach: drmn0 attach returned 19

Then upon kldunload of i915kms it panics.



The drm shipped in BETA1, and in drm-legacy-kmod-g20200825, both work.

But they do throw some issues...
kernel: info: [drm] Memory usable by graphics device =3D 2048M
kernel: info: [drm] MTRR allocation failed.  Graphics performance may suffe=
r.
kernel: error: [drm:pidxxx:i915_write32] *ERROR* Unknown unclaimed register
before writing to c5100
...
kernel: error: [drm:pidxxx:drm_mm_takedown] *ERROR* Memory manager not clea=
n.
Delaying takedown
kernel: Warning: memory type drm_sman leaked memory on destroy (4 allocatio=
ns,
512 bytes leaked).

Intel-ARK says this unit has max 1.7GB video mem shared from dram.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249476-7141-vxk2cMTDAg>