Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2019 06:54:05 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Victor Sudakov <vas@sibptus.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: kernel: drmn0: This code is obsolete abandonware. Install the graphics/drm-legacy-kmod pkg
Message-ID:  <20191230065405.eb83eb86.freebsd@edvax.de>
In-Reply-To: <20191230045740.GA20668@admin.sibptus.ru>
References:  <20191230045740.GA20668@admin.sibptus.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



> Why would graphics/drm-kmod be considered obsolete?

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

So graphics/drm-kmod will be for newer graphics hardware,
and graphics/drm-legacy-kmod will be for older one, previously
supported by either graphics/drm-kmod or kernel modules
directly provided by the FreeBSD OS installation. The times
of "install this, it will pick the correct driver automatically"
seem to be over...

Additionally:

	This version is mostly current with Linux 3.8
	in terms of hardware support.

Modern Linuxism. ;-)

More information here:

https://www.freshports.org/graphics/drm-legacy-kmod




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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