Re: [Bug 251007] need update graphics/drm-kmod

Kevin Oberman <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <CAN6yY1tRHvzvybswxtUDt7zm1iHOU8JbRCMkGAH57Fg-n-92ig@mail.gmail.com>
On Sun, Nov 29, 2020 at 12:33 AM Thomas Mueller <[email protected]> wrote:

> (In reply to comment #5 from [email protected])
> > 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: [email protected]
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.