System freeze at "Loading kernel modules" after upgrade to 14.2-RELEASE

As the title says, after upgrading from 14.1-RELEASE-p6 to 14.2-RELEASE, my machine get stuck at "Loading kernel modules" shortly after boot. I did the usual steps to upgrade: `freebsd-update fetch install`, `freebsd-update -r 14.2-RELEASE upgrade` and did what it asked me to do (e.g. `freebsd-update install`, etc). I suspect this might be the graphics driver. How do I enable debugging info to confirm this?

P.S. I never had any issues upgrading before, and I have successfully upgraded my other machines to 14.2-RELEASE. This seem to be specific to this ThinkPad T14s. (to temporarily use the system, I revert the boot environment in the loader menu to the previous version)
 
Boot to single user mode and disable kld_list in /etc/rc.conf. See if it can boot properly without any of those being loaded.
 
I removed i915kms from the modules list (the only other module being 'fusefs'), and that didn't help. I wanted to try removing 'fusefs' next but noticed a message on the console a few lines before where it froze: "no pools available to import". Not sure if that's the issue, but that's where I shifted my focus, and I think I made things worse now. Some threads suggested that the mountpoint for my zroot pool is not what it's supposed to be (I forgot what it was), so I tried setting that 'none', '/', '/zroot', etc but none of that helped. In fact, I can no longer boot into previous BEs either; it complains about not finding /etc/rc.conf and other files. I'm now suspecting whether I forgot to run the second `freebsd-update install` after the reboot. Anyway, here are the relevant pieces of info:

zfs1.jpg

zfs2.jpg

zfs3.jpg

zfs4.jpg
 
You don't need to import the pool - it's already working?
Did you set any "vfs.root.mountfrom" in your /boot/loader.conf?
 
Yes, but this is single user mode. In multi-user mode, I get:

Code:
< ... >
Trying to mount root from zfs:zroot/ROOT/default []...
uhub0: 5 ports with 5 removable, self powered
< ...>
no pools available to import
Starting file system checks:
/dev/nvd0p1: FILESYSTEM CLEAN; SKIPPING CHECKS
Mounting local filesystems:.
eval: zfs: not found
eval: touch: not found
/etc/rc: cannot create /dev/null: No such file or directory

/etc/rc: date: not found

And the system seemingly freezes (holding down the power button does allow it to display shutdown messages and halt).

I always had zfs_enable="YES" in rc.conf but not vfs.root.mountfrom (and it has always worked).
 
out of curiosity, what does your /etc/fstab look like? we notice that after it mounts local filesystems, it can't find /sbin/zfs, /usr/bin/touch, and (most tellingly) /dev/null, which suggests that something may have mounted over the top of /.
 
This is my fstab:
Code:
/dev/nvd0p1          /boot/efi          msdosfs          rw          2          2
/dev/nvd0p3          none               swap             sw          0          0
fdesc                /dev/fd            fdescfs          rw          0          0
proc                 /proc              procfs           rw          0          0
 
hmm, so that isn't the issue. you'll have to do more extensive debugging of the startup process, unfortunately.

just noticed, though, that your ZFS dataset zpool/ROOT has a mountpoint set. On my system, only the subchildren have a mountpoint set. Try, from single-user, zfs set zpool/ROOT mountpoint=none and see if that helps
 
Back
Top