Upgrade from 15.0 to 15.1 failing

I have been upgrading my systems in my homelab from 15.0-RELEASE 15.1-RELEASE-p1. Everything worked great...Except my laptop, a Thinkpad W520, which uses the drm-66-kmod module. Everything else either uses nvidia or no graphics driver at all on the servers.

I go through the upgrade steps, and the freebsd-update upgrade -r 15.1-RELEASE gives me the following error, which I have never encountered before (this laptop has been with me since FBSD-11 or 12):

Code:
The following modules have been installed from packages.
As a consequence they might not work when performing a major or minor upgrade.
It is advised to rebuild these ports:

Module                                              Package                                                        Port
------                                              -------                                                        ----
/boot/modules/amdgpu.ko                             drm-66-kmod-6.6.25.1500068_9                                   graphics/drm-66-kmod
/boot/modules/dmabuf.ko                             drm-66-kmod-6.6.25.1500068_9                                   graphics/drm-66-kmod
/boot/modules/drm.ko                                drm-66-kmod-6.6.25.1500068_9                                   graphics/drm-66-kmod
/boot/modules/i915kms.ko                            drm-66-kmod-6.6.25.1500068_9                                   graphics/drm-66-kmod

There are nearly 1000 modules in the list above. So if I let the upgrade complete, do the freebsd-update install, the reboot results in a kernel panic involving the drm-66 kernel modules, either the i915kms or the drm modules.

I tried forcing the system to upgrade them before rebooting the last time, but the system says "already up to date." I feel like I am missing a step.

Can someone point me in the right direction?
 
before rebooting into 15.1 comment out lines in /etc/rc.conf that talk about i915kms or amdgpu.
then reboot: if you are booting into a graphical environment, boot into single user with networking.
You want to end up at a console.
then login and:
pkg delete drm-kmod drm-66-kmod
pkg install drm-kmod
That should ensure your drm stuff is consistent with the 15.1 release
Then reenable the lines in /etc/rc.conf
You can manually kldload i915kms or reboot
 
Thanks, Gentlemen. Strange that I have never had to do that in the past. Probably the change to the FreeBSD-ports-kmods repo?
That may be part of it; I think it also may be "15.1 is released, 15.0 is not yet EOL so initially built for 15.0" We've run into it in the past relates to when the old one goes EOL and quarterly is updated.
 
Back
Top