kernel: drmn0: This code is obsolete abandonware. Install the graphics/drm-legacy-kmod pkg

Victor Sudakov vas at sibptus.ru
Mon Dec 30 06:03:10 UTC 2019


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 at fidonet http://vas.tomsk.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20191230/f71ec924/attachment.sig>


More information about the freebsd-questions mailing list