Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2019 13:03:07 +0700
From:      Victor Sudakov <vas@sibptus.ru>
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>
In-Reply-To: <20191230065405.eb83eb86.freebsd@edvax.de>
References:  <20191230045740.GA20668@admin.sibptus.ru> <20191230065405.eb83eb86.freebsd@edvax.de>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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="/boot/modules/radeonkms.ko" in rc.conf. The X server even works OK.
> > 
> > # pkg which "/boot/modules/radeonkms.ko"
> > /boot/modules/radeonkms.ko was installed by
> > package drm-fbsd12.0-kmod-4.16.g20191120
> > 
> > However, the kernel complains:
> > 
> > "kernel: drmn0: This code is obsolete abandonware.
> > Install the graphics/drm-legacy-kmod pkg"
> > 
> > Is this some kind of bug?
> 
> No, it's intended. You'll also see such warnings during
> the boot process and in the system message log file.
> 

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?
> 
> No idea. 

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.
> 
> >From the package description:
> 
> 	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.

> 
> So graphics/drm-kmod will be for newer graphics hardware,

True. It's not "obsolete abandonware", it it?


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJeCZMbAAoJEA2k8lmbXsY0xq0IAKEuLGcKhWgtkzvSP9fqX2/G
Ljkoxoz7qI+pdASqiH8fX3RNKLcvlQHgoxm3CxQSyKoIc3zBNCzehRP9cEqpmKFv
/3R30C4Lpv8IC3j28RpgfIWJiKEqZF0g2jcCDhXtOAROmlfT62K4qzc8DQUMe8Qp
zeek1bayD/C7H7gqlLwWY1lwqWdw9j19u5PvRXebXK2gpyR0N+RLwH+fLCIN/iEY
SunTr1uNqJQAJ/BccshOgCqHiujXFpSlQxkND4Lr3/V8DhoAhTrLXv/AXLJkcO7l
VjhM6/kQe7W0yE2b2C9PH3hkwqpA5IpV1HhvJOFSsOYUQqM2J6rJ9DckR3C3+ak=
=Qn2t
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191230060307.GA25721>