FreeBSD 12.2 and the drm-kmod package.

Today I've upgraded from FreeBSD 12.1 to 12.2 (because I was warned that 12.1 will be EOL very soon) and I've encountered a kernel panic when loading the drm-kmod module at boot. I expected this since I knew about the bug that affects this package.

I know that a solution is to use ports to install an updated version of drm-kmod but I don't want to use ports because I don't want to mix ports and packages.

I managed to avoid the kernel panic by commenting out the kld_load line in /etc/rc.conf so FreeBSD 12.2 can at least boot in text mode. But obviously I want to use Xorg so my question is: when will the updated drm-kmod be available as a package for FreeBSD 12.2?

Thanks.
 
I know that a solution is to use ports to install an updated version of drm-kmod but I don't want to use ports because I don't want to mix ports and packages.
It's not an "updated" version of drm-kmod, it's exactly the same version. But if you build it from ports it will be compiled specifically for your currently running kernel version. The package has been built for the 12.1 kernel. The module depends on various kernel structures and calls, if it's been compiled for 12.1 it will crash if you try to load it on a 12.2 kernel.

when will the updated drm-kmod be available as a package for FreeBSD 12.2?
When 12.1 is end-of-life (should be happening at the end of this month) all FreeBSD 12 repositories will start building packages on 12.2.

 
SirDice: thanks for clarification. So I should wait until this issue is solved.

shkhln: perhaps. But what is fun for someone can be quite the opposite for someone else. Yeah, I have some bad memories about mixing.
 
Nearly a month passed since FreeBSD 12.1 is EoL and it seems that the drm-kmod package is still not built for FreeBSD 12.2 although I have applied every update for this package. But every time when I try to use it, it just crashes on FreeBSD 12.2, just like it did before FreeBSD 12.1 was EoL-ed.

I still don't want to use ports so I'm really frustrated that this problem still persists. How long will it take for this package to be built for 12.2?
 
Note that graphics/drm-kmod is a meta-port/package. It has nothing of itself, it simply depends on, in this case, graphics/drm-fbsd12.0-kmod. Removing and reinstalling drm-kmod is a no-op. Force a reinstall of drm-fbsd12.0-kmod to make sure you're getting the rebuilt version; pkg install -f drm-fbsd12.0-kmod. From pkg(8)'s point of view, nothing has changed, so it's not going to (re)install it automatically.
 
SirDice: thanks a lot! Your suggestion on reinstalling drm-fbsd12.0-kmod worked and now I have graphics acceleration on FreeBSD 12.2.
I didn't know that drm-kmod is just a meta-package.

And pkg upgrade -f seems useful for making sure that all packages are properly updated.
 
Back
Top