Hello!
Performed an experiment with 13.0 RC2. Everything went well until the DRM needed to be reinstalled. Do you have any ideas how to proceed?
The system is up and working, even my persistent L2ARC from former OpenZFS is there. But I can not build the DRM.
Here is my log:
The system is up and running, but I can not install the graphics/drm-fbsd13-kmod not any other DRM port.
Tried even brute force and commented the OS version check out of Makefile, but the build ends like this:
Performed an experiment with 13.0 RC2. Everything went well until the DRM needed to be reinstalled. Do you have any ideas how to proceed?
The system is up and working, even my persistent L2ARC from former OpenZFS is there. But I can not build the DRM.
Here is my log:
Code:
bectl create working_12.2
cd /usr/src/
svn checkout https://svn.freebsd.org/base/head/ .
cd /root/kernel/
cp TUNAR TUNAR13
ln -s /root/kernel/TUNAR13 /usr/src/sys/amd64/conf/
cd /usr/src/sys/amd64/conf/
diff GENERIC /usr/src.12.2/sys/amd64/conf/GENERIC|grep "<"
diff GENERIC /usr/src.12.2/sys/amd64/conf/GENERIC|grep ">"
vi TUNAR13
make -j 4 buildworld
--------------------------------------------------------------
>>> World build completed on Tue Mar 16 19:45:07 EET 2021
>>> World built in 15328 seconds, ncpu: 4, make -j4
--------------------------------------------------------------
make -j 4 buildkernel KERNCONF=TUNAR13
--------------------------------------------------------------
>>> Kernel build for TUNAR13 completed on Tue Mar 16 20:05:09 EET 2021
--------------------------------------------------------------
>>> Kernel(s) TUNAR13 built in 830 seconds, ncpu: 4, make -j4
--------------------------------------------------------------
zfs snapshot -r flash@2021_latest
make -j 4 installkernel KERNCONF=TUNAR13
make installkernel KERNCONF=TUNAR
--------------------------------------------------------------
>>> Installing kernel TUNAR13 completed on Tue Mar 16 20:09:31 EET 2021
--------------------------------------------------------------
portupgrade -f graphics/drm-kmod
make installworld
--------------------------------------------------------------
>>> Installing everything completed on Tue Mar 16 20:13:07 EET 2021
--------------------------------------------------------------
vi /boot/loader.conf
reboot
uname -a
FreeBSD Demo 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r369476: Tue Mar 16 20:05:07 EET 2021 root@Demo:/usr/obj/usr/src/amd64.amd64/sys/TUNAR13 amd64
pkg_deinstall drm-fbsd12.0-kmod
The system is up and running, but I can not install the graphics/drm-fbsd13-kmod not any other DRM port.
Tried even brute force and commented the OS version check out of Makefile, but the build ends like this:
Code:
--- linux_notifier.o ---
/usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_2/linuxkpi/gplv2/src/linux_notifier.c:9:10: fatal error: 'linux/shrinker.h' file not found
#include <linux/shrinker.h>
^~~~~~~~~~~~~~~~~~
1 error generated.
*** [linux_notifier.o] Error code 1
make[3]: stopped in /usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_2/linuxkpi
1 error
make[3]: stopped in /usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_2/linuxkpi
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/graphics/drm-fbsd13-kmod
*** Error code 1
Stop.
make: stopped in /usr/ports/graphics/drm-fbsd13-kmod