Solved Linux 5.5.19 DRM or greater i.e. graphics/drm-devel-kmod on FreeBSD 13⋯

grahamperrin

Son of Beastie

Reaction score: 828
Messages: 2,659

Please: has anyone attempted to build a modified graphics/drm-devel-kmod on any build of FreeBSD 13?

Most recently, <https://cgit.freebsd.org/ports/diff...e?id=0e09699300d49bbd304b5be47462ef3b615202c3> bumped the minimum OSVERSION to 1400024.

The local copy of <https://cgit.freebsd.org/ports/tree/graphics/drm-devel-kmod/Makefile> can be edited to artificially reduce the minimum, however I assume that much more would be required for the port to build; then more, for an installation of the module to be loadable and usable

Partial context

Superior DRM available for 1400024 and greater:

Can graphics/drm-devel-kmod not be compiled from ports on 13-stable? Sorry if this has been answered elsewhere; i've looked but not found anything to suggest it can't.

1300139 FreeBSD 13.0-RELEASE-p4 – without modifying the Makefile (and without helloSystem):

Code:
root@mowa219-gjp4-vm-freebsd-13-zfs:/usr/ports/graphics/drm-devel-kmod # freebsd-version -kru
13.0-RELEASE-p4
13.0-RELEASE-p4
13.0-RELEASE-p4
root@mowa219-gjp4-vm-freebsd-13-zfs:/usr/ports/graphics/drm-devel-kmod # uname -aKU
FreeBSD mowa219-gjp4-vm-freebsd-13-zfs 13.0-RELEASE-p4 FreeBSD 13.0-RELEASE-p4 #0: Tue Aug 24 07:33:27 UTC 2021     root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64 1300139 1300139
root@mowa219-gjp4-vm-freebsd-13-zfs:/usr/ports/graphics/drm-devel-kmod # make configure
===>  drm-devel-kmod-5.5.19.g20210709 not supported on older CURRENT, no
kernel support.
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/drm-devel-kmod
root@mowa219-gjp4-vm-freebsd-13-zfs:/usr/ports/graphics/drm-devel-kmod #
 

mer

Aspiring Daemon

Reaction score: 398
Messages: 628

If they bumped OSVERSION, then that implies changes in the kernel, not just the drm module. You could look at the commits for I think the linuxkpi bits of the kernel or see if there is anything on the mailing lists.
 
Top