Solved Upgrade 12.1 -> 12.2 failure

I have just run freebsd-update -r 12.2 upgrade and all appeared to go well, but on reboot the system started OK but the screen went blank at the point the video mode changes.

Any ideas about what to look for?

Can I revert to 12.1?
 
How can I tell? The thing wizzes past to quickly. Would I be able to tell using dmesg after rebooting and going into single-user mode?
 
So, if you boot to single-user mode, the screen stays on? Then it's the drm driver. And sure you should find its messages in dmesg, and also in /var/log/messages.
 
I have just run freebsd-update -r 12.2 upgrade and all appeared to go well, but on reboot the system started OK but the screen went blank at the point the video mode changes.
Looks like I was a bit too quick to diagnose failure..... After a reboot, I happened to leave the system for over ten minutes and the display of the booting process resumed, but something must be wrong for it to take so long..... It was very quick before the upgrade.
 
Did you read the release notes and errata? Maybe it'll help.
[2020-11-11] Due to slight changes to the ABI and KBI between FreeBSD 12.1 and FreeBSD 12.2, it is important to note that certain third-party kernel modules may need to be rebuilt locally, until FreeBSD 12.1 reaches end of life.
Of note, this includes, but is not limited to, graphics/*-kmod, net/*-kmod, and possibly others that are too extensive to list.
 
After taking out this line from /etc/rc.conf:-

kld_list='i915kms'
I was able to boot up quickly, so it looks like /boot/kernel/i915kms.ko was causing the problem. After running:-

pkg install drm-kmod

and changing /etc/rc.conf to

kld_list='/boot/modules/i915kms.ko'
things are working normally again.
 
Back
Top