On 06/04/2020 08:21, Hans Petter Selasky wrote:
They don't match, and they can't.
Files in /boot/modules have been installed by drm-fbsd12.0-kmod and
files in /boot/kernel have been installed by
FreeBSD-kernel-venus-12.1_3 (venus is the name I gave the kernel
configuration).
Is drm-fbsd12.0-kmod built using the same sources as
FreeBSD-kernel-venus-12.1_3. Can you try this:
1) Build and install a fresh 12-stable kernel, not release kernel,
from /usr/src
2) Build and install /usr/ports/graphics/gpu-firmware-kmod
3) Build and install /usr/ports/graphics/drm-fbsd12.0-kmod
I built the ports and the kernel on the same system but at different
times. First I updated all sources (/usr/src and /usr/ports) then I
built packages. When that didn't work, few days later I built the
kernel and world. No updates to the sources have been made between
those two.
kldload /boot/modules/drm.ko /boot/modules/amdgpu.ko <- doesn't
work, system halts after loading one of the vega10 modules.
--HPS
I am not sure I understand your question. drm-fbsd12.0-kmod is a port so
it's built from /usr/local/poudriere/ports whereas
FreeBSD-kernel-venus-12.1_3 is one of base packages build from /usr/src.
If you are asking if /usr/src is the same when building ports and kernel
then again, no, because when building ports the jail's /usr/src is used,
whereas when building the kernel the host's /usr/src is used.
But I verified that both are the same, i.e.,
diff -r /usr/src /usr/local/poudriere/jails/12rel1/usr/src
doesn't return any differences, apart from the additional kernel
configuration. They are both 12.1-RELEASE-p3 (checked the version
against sources in Github and SVN).
I can certainly build and install a stable kernel, but I believe I would
also need to recompile the packages with stable /usr/src in the
poudriere's jail, which means creating a new jail and possibly
recompiling all the packages? Can I install stable kernel into
12.1-RELEASE-p3 world?
GrzegorzJ
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"