[Bug 251007] need update graphics/drm-kmod

Kevin Oberman rkoberman at gmail.com
Sun Nov 29 15:55:24 UTC 2020


On Sun, Nov 29, 2020 at 12:33 AM Thomas Mueller <mueller6722 at twc.com> wrote:

> (In reply to comment #5 from rkoberman at gmail.com)
> > Since you didn't say how you updated, do you have the sources for 12.2 in
> > /usr/src? You probably do but, just to be sure, you must build from
> ports with
> > the kernel sources used to build your kernel which, I assume, is
> 12.2-RELEASE.
>
> Does that mean that if one updates the src tree but does not rebuild the
> kernel or system at that time, they can not safely rebuild ports such as
> graphics/drm-kmod?`
>
> Tom
>
It means that the module must be compiled against the sources for the
kernel that is running when the module attempts loading. The lkpi is NOT
stable. If it has changed between the kernel that the drm-kmod was built
against and one running, a fail is likely and it is usually a panic. That
is definitely the case between 12.1 and 12.2 as well as between
12.2-RELEASE and 12.2-STABLE. If you have multiple systems running the same
version of the kernel, you need only build the port once and "make package"
after the build but before cleaning and adding the generated package file
on other systems.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman at gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


More information about the freebsd-x11 mailing list