From owner-freebsd-questions@freebsd.org Mon Dec 30 06:03:10 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 12A841D6888 for ; Mon, 30 Dec 2019 06:03:10 +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 47mRgK0mDGz4cn9 for ; Mon, 30 Dec 2019 06:03:08 +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=QPuWrzyijxKza1sDmL8YlWdoCuaMOg47cOxupOipqDk=; b=g7fdMbpt47y5OIQwh1iY0WFXCj gIsrCvP6G6gG/K7hTnoC7J/541sHAUWdWwrJeLkQMZtiexXPE5HG2fDCyb130mdTGQMBvfWj7W49+ hy95yhW2I1BqQw+fjVERx75PXGS4EWXfL5HUzy0QXCRWjZaVG6lEnX1TkLWqbd/DZ9C0=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1ilo8x-0006oF-NF for freebsd-questions@freebsd.org; Mon, 30 Dec 2019 13:03:07 +0700 Date: Mon, 30 Dec 2019 13:03:07 +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: <20191230060307.GA25721@admin.sibptus.ru> References: <20191230045740.GA20668@admin.sibptus.ru> <20191230065405.eb83eb86.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: <20191230065405.eb83eb86.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: 47mRgK0mDGz4cn9 X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=g7fdMbpt; 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.38), 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 06:03:10 -0000 --vtzGhvizbBRQ85DL 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 installed > > graphics/drm-kmod and loaded it via > > kld_list=3D"/boot/modules/radeonkms.ko" in rc.conf. The X server even w= orks 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 It cannot be intended with graphics/drm-kmod installed which is by definition not "legacy" or "obsolete". Quite the opposite, it should be the newer driver. > > Why would graphics/drm-kmod be considered obsolete? >=20 > No idea.=20 Is this some kind of bug? > There now is a "legacy" package that is to be used. > I haven't tried this yet, but it should provide the same > functionality. Sidenote: I see the same with Intel graphics > in an older Lenovo Thinkpad. >=20 > >From the package description: >=20 > Legacy DRM driver that used to be in FreeBSD base > before the removal in FreeBSD 13. For newer Intel > and AMD hardware, please use graphics/drm-kmod > which will pick an appropriate driver for your > system. That is it! As I wrote before, I use graphics/drm-kmod, but still see complaints about "obsolete abandonware." If it is intended, then it's a very odd intention. >=20 > So graphics/drm-kmod will be for newer graphics hardware, True. It's not "obsolete abandonware", it it? --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJeCZMbAAoJEA2k8lmbXsY0xq0IAKEuLGcKhWgtkzvSP9fqX2/G Ljkoxoz7qI+pdASqiH8fX3RNKLcvlQHgoxm3CxQSyKoIc3zBNCzehRP9cEqpmKFv /3R30C4Lpv8IC3j28RpgfIWJiKEqZF0g2jcCDhXtOAROmlfT62K4qzc8DQUMe8Qp zeek1bayD/C7H7gqlLwWY1lwqWdw9j19u5PvRXebXK2gpyR0N+RLwH+fLCIN/iEY SunTr1uNqJQAJ/BccshOgCqHiujXFpSlQxkND4Lr3/V8DhoAhTrLXv/AXLJkcO7l VjhM6/kQe7W0yE2b2C9PH3hkwqpA5IpV1HhvJOFSsOYUQqM2J6rJ9DckR3C3+ak= =Qn2t -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL--