Attempt to upgrade 14.1 -> 14.2 - boot loops forever

Lenovo ThinkPad T470s
with FreeBSD 14.1

I follow the instructions as per https://www.freebsd.org/releases/14.2R/installation/

So, basically:

root@freeBsd:~ # freebsd-update fetch
root@freeBsd:~ # freebsd-update install
root@freeBsd:~ # freebsd-update -r 14.2-RELEASE upgrade

Then reboot.

The boot fails right away, as seen in screenshot attached.

I think these lines from dmesg were written at the time of that boot:
Code:
│Jan 04 22:34:48 freeBsd shutdown[66125]: reboot by ejner:                                                                                                                                                                                   │
│Jan 04 22:34:48 freeBsd pulseaudio[1996]: [] x11wrap.c: X11 I/O error handler called                                                                                                                                                        │
│Jan 04 22:34:48 freeBsd pulseaudio[1996]: [] x11wrap.c: X11 I/O error exit handler called, preparing to tear down X11 modules                                                                                                               │
│Jan 04 22:34:48 freeBsd console-kit-daemon[1896]: WARNING: Error waiting for native console 9 activation: Inappropriate ioctl for device                                                                                                    │
│Jan 04 22:34:48 freeBsd devd[1442]: notify_clients: send() failed; dropping unresponsive client                                                                                                                                             │
│Jan 04 22:34:48 freeBsd syslogd: last message repeated 4 times                                                                                                                                                                              │
│Jan 04 22:34:48 freeBsd kernel: .                                                                                                                                                                                                           │
│Jan 04 22:34:48 freeBsd pulseaudio[1996]: [] core-util.c: Failed to create secure directory (/var/run/user/1001/pulse): No such file or directory                                                                                                                                                                │
│Jan 04 22:34:48 freeBsd syslogd: exiting on signal 15                                                                                                                                                                                       │
│Jan 04 23:01:59 freeBsd syslogd: kernel boot file is /boot/kernel/kernel

When I do this: (from an install disk, having mounted the harddisk)
Code:
mv /boot/kernel /boot/kernel.BAD
mv /boot/kernel.old /boot/kernel
then the system can boot normally as before the attempted upgrade.

I don't see other posts with a similar error, so thought I'd better report it.
 

Attachments

  • PXL_20250104_213605822.jpg
    PXL_20250104_213605822.jpg
    1.2 MB · Views: 38
Last edited by a moderator:
i195kms is in the /etc/rc.conf file, so I could comment that out.

Code:
kld_list="i915kms"

But I am wary of disabling X11, as I have not installed Wayland on this laptop (yet).

I am in no hurry to upgrade to 14.2 though. This is just a laptop that I use for my hobby projects.

Is this a known issue, and if so, is there a bug report that I can follow?

I would not mind waiting with the upgrade until a fix was available.
 
root@freeBsd:~ # freebsd-update -r 14.2-RELEASE upgrade

Then reboot.
Nothing is changed or upgraded at this point. The freebsd-update -r <release version> upgrade stage only prepares everything, the actual upgrade happens with the freebsd-update install stages.

But I am wary of disabling X11, as I have not installed Wayland on this laptop (yet).
Irrelevant. Just disable the DRM driver while you are upgrading. Then, when the upgrade is finished, build graphics/drm-kmod from ports. You have to do this because the package for the DRM driver is still being built for 14.1.
 
Sorry, in the original post I had simply missed writing in the step:
Code:
freebsd-update install
although in fact I did that before the reboot (as per the instructions, after freebsd-update -r 14.2-RELEASE upgrade)...

I am new to FreeBSD, so I hope you will forgive me SirDice if this is obvious, but IIUC I could now simply wait with upgrading until the graphics/drm-kmod package got built for the 14.2 kernel?
 
Back
Top