[Bug 250193] Kernel panic loading DRM kmods

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 30 06:05:37 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250193

rkoberman at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rkoberman at gmail.com

--- Comment #8 from rkoberman at gmail.com ---
This is a well known problem. While the system ABI is fixed for the life of a
major release, the KBI is not guaranteed stable. Specifically, there was a
significant change in the lkpi code used for graphics drivers and, as a result,
drm-*-kmod packages for 12.1 will not work on 12.2. Full stop!

The only solution is to build a package on a 12.2 system with the full sources
for/usr/src/sys. (cd /usr/ports/graphics/drm-fbsd12.0-kmod && make package)
Once that package is built (in /usr/ports/packages/All), it may be copied to
other 12.2-RELEASE systems with the same arch with "pkg add".

This may apply to other ports that build kmods and the same issue hit
virtualbox-ose-kmod in 11.something. I'm pretty sure I was bitten by one other
case, but I don't recall when.

It seems like a trivial solution is to make a set of trusted packages of every
kmod port for each minor release after .0, sign them, and make them available.
I am still baffled why this has not happened.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.


More information about the freebsd-x11 mailing list