From owner-freebsd-questions@freebsd.org Mon Dec 30 09:08:58 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 26AC81DA4ED for ; Mon, 30 Dec 2019 09:08:58 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47mWnj1GY8z3HJk for ; Mon, 30 Dec 2019 09:08:56 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=4+wjaeb56Ib/6RFU9qXq8W4t4Wl7uMdq07ltCW/ZeGY=; b=jIZXuIBD3updWdn1+xQdSOuZV/ Qwo983ts7aYxYQJFKrLpmE3Nq9D3nF5CoVoDbTsb7vh+RRF75SX9vDXPZ6xMQtyumd6hjJ4KwV4bY K+B6zt4sWB9R2Q0FkTcKwZZdLd1WFj5g+vMDo3wy7QmVXKPn/q/RrodGl7pBTYGijhck=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1ilr2l-0009x9-7N for freebsd-questions@freebsd.org; Mon, 30 Dec 2019 16:08:55 +0700 Date: Mon, 30 Dec 2019 16:08:55 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: kernel: drmn0: This code is obsolete abandonware. Install the graphics/drm-legacy-kmod pkg Message-ID: <20191230090855.GA37814@admin.sibptus.ru> References: <20191230045740.GA20668@admin.sibptus.ru> <20191230065405.eb83eb86.freebsd@edvax.de> <20191230060307.GA25721@admin.sibptus.ru> <20191230072754.0c7a8920.freebsd@edvax.de> <20191230064017.GA28510@admin.sibptus.ru> <20191230091749.b86d5622.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline In-Reply-To: <20191230091749.b86d5622.freebsd@edvax.de> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 47mWnj1GY8z3HJk X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=jIZXuIBD; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-8.35 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-3.25)[ip: (-9.88), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.40), country: US(-0.05)]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Dec 2019 09:08:58 -0000 --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Polytropon wrote: > > > > > On Mon, 30 Dec 2019 11:57:40 +0700, Victor Sudakov wrote: > > > > > > On an "HP ProBook 6560b" notebook running FreeBSD 12.1, I've in= stalled > > > > > > graphics/drm-kmod and loaded it via > > > > > > kld_list=3D"/boot/modules/radeonkms.ko" in rc.conf. The X serve= r even works OK. > > > > > >=20 > > > > > > # pkg which "/boot/modules/radeonkms.ko" > > > > > > /boot/modules/radeonkms.ko was installed by > > > > > > package drm-fbsd12.0-kmod-4.16.g20191120 > > > > > >=20 > > > > > > However, the kernel complains: > > > > > >=20 > > > > > > "kernel: drmn0: This code is obsolete abandonware. > > > > > > Install the graphics/drm-legacy-kmod pkg" > > > > > >=20 > > > > > > Is this some kind of bug? > > > > >=20 > > > > > No, it's intended. You'll also see such warnings during > > > > > the boot process and in the system message log file. > > > > >=20 > > > >=20 > > > > It cannot be intended with graphics/drm-kmod installed which is by > > > > definition not "legacy" or "obsolete". Quite the opposite, it shoul= d be > > > > the newer driver. > > >=20 > > > Not really. From the description: > > >=20 > > > amdgpu, i915, and radeon DRM modules for the > > > linuxkpi-based KMS components on amd64, i915 > > > and radeonkms DRM modules from the former > > > base DRM component on other architectures. > > >=20 > > > Metaport for different versions of Linux > > > DRM based on the FreeBSD version in use. > > >=20 > > > This port is a meta-port of the drivers previously contained > >=20 > > Which "this port", graphics/drm-legacy-kmod (which I don't have > > installed) or graphics/drm-kmod (which I have installed)? >=20 > The graphics/drm-kmod (installed) =3D "old drivers" at the > moment; graphics/drm-legacy-kmod will be "the new name" > for the "old drivers". Well, quoting https://wiki.freebsd.org/Graphics about drm-kmod Generally speaking if you have a system with one of these graphics adapters it is suggested to install the drm-kmod metaport, which should work well on systems starting with the "Broadwell" generation. This code is under active development and allows us to track more closely the drivers present in the Linux kernel. "This code is under active development" does not sound like "old drivers." > > > in the OS installation (course of migrating OS components to > > > individual packages). So it contains the "old drivers", that's > > > why it'll be replaced by the "legacy"-named package, and the > > > corresponding stuff will be removed from the OS entirely. > > >=20 > > > There will be packages specific to OS versions, to better > > > match them, for example graphics/drm-fbsd12.0-kmod for > > > FreeBSD 12, and graphics/drm-fbsd13.0-kmod for upcoming > > > FreeBSD 13. This way, legacy stuff (for old hardware) can > > > be separated from new development for more recent hardware. > > >=20 > >=20 > > Well, in my case > >=20 > > # pkg which "/boot/modules/radeonkms.ko"=20 > > /boot/modules/radeonkms.ko was installed by package > > drm-fbsd12.0-kmod-4.16.g20191120 > >=20 > > this is probably *the* OS specific version. >=20 > Very strange. You said you have drm-kmod installed,=20 Well, I ran "pkg install graphics/drm-kmod" which resulted in the following packages being installed: # pkg info -dr graphics/drm-kmod drm-kmod-g20190710 Depends on : drm-fbsd12.0-kmod-4.16.g20191120 > you get the "it's obsolete" message from something installed > by drm-fbsd12.0-kmod?=20 Yes! That's the point of my question. > Is that obsolete, too? ;-) I asked first!!! :-) [dd] > >=20 > > This is what I seem to have: > >=20 > > # pkg which "/boot/modules/radeonkms.ko"=20 > > /boot/modules/radeonkms.ko was installed by package > > drm-fbsd12.0-kmod-4.16.g20191120 >=20 > The "new drivers" then. Again, that should not issue the > abandonware message initially discussed. >=20 >=20 >=20 > Very strange... Indeed. That's why I started the thread. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --jRHKVT23PllUwdXP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJeCb6nAAoJEA2k8lmbXsY09CwH+gJBl1KmOxO1UOirN30nUNCQ C7QWWvx/7VhnZGWqR+UjJGHBJgjb8fHR0tNkoNsxVDVQyKyFUycED1zMpp+1GW8d ns8eNmtG3q78vsLOS6ZJ5hHpy8FTSyM65BZUBXx3RC6oes8ejTJYdpwCxB5TcukJ 0sm45O4CBp/eNwnkJUpimWFpobVx+qEBkp2Dk+yfmi4x/lmIa/yOPPEa2pC22EZm IUt58PR9yQ2+VYphpQXNM62frSZXWXc6Da26Z00N/G6CHfkm7HDa2XII+KBsSbep rMUW0PHEm7EO3vXr3EelStsbPViomd9Pp0j9ZtZiccFD2BieRCrU/st1JvXmGSU= =I4FN -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP--