Date: Sun, 29 Nov 2020 07:55:05 -0800 From: Kevin Oberman <rkoberman@gmail.com> To: Thomas Mueller <mueller6722@twc.com> Cc: "freebsd-x11@freebsd.org" <freebsd-x11@freebsd.org> Subject: Re: [Bug 251007] need update graphics/drm-kmod Message-ID: <CAN6yY1tRHvzvybswxtUDt7zm1iHOU8JbRCMkGAH57Fg-n-92ig@mail.gmail.com> In-Reply-To: <5fc35cd2.1c69fb81.38cc3.dc2bSMTPIN_ADDED_MISSING@mx.google.com> References: <bug-251007-7141@https.bugs.freebsd.org/bugzilla/> <bug-251007-7141-HmOcylTZzC@https.bugs.freebsd.org/bugzilla/> <5fc35cd2.1c69fb81.38cc3.dc2bSMTPIN_ADDED_MISSING@mx.google.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 29, 2020 at 12:33 AM Thomas Mueller <mueller6722@twc.com> wrote: > (In reply to comment #5 from rkoberman@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@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1tRHvzvybswxtUDt7zm1iHOU8JbRCMkGAH57Fg-n-92ig>