upgrading from 14.0 -> 14.1 and umodem_load="YES"

From: Matthew Luckie <mjl_at_luckie.org.nz>
Date: Fri, 07 Jun 2024 01:10:39 UTC
Hi,

I recently did freebsd-upgrade of a Pi4 from 14.0 to 14.1.  With the new 
kernel, the system did not boot.  I plugged in a screen and keyboard, 
and was able to get the system to boot kernel.old (14.0) and then the 
14.1 kernel by doing

unload
load /boot/kernel/kernel
boot

The issue was that I had the following in my /boot/loader.conf:

# Configure USB OTG; see usb_template(4).
hw.usb.template=3
umodem_load="YES"
# Multiple console (serial+efi gop) enabled.
boot_multicons="YES"
boot_serial="NO"
# Disable the beastie menu and color
beastie_disable="YES"
loader_color="NO"

If I change umodem_load to "NO", then the system boots.  Note that 
umodem brings in ucom.  I probably added umodem_load myself (I was 
experimenting with a USB 3g modem at one point).

I've put photos I took of the system booting at:

https://users.caida.org/~mjl/tmp/IMG_6932.JPG
https://users.caida.org/~mjl/tmp/IMG_6933.JPG

Note that when the system correctly boots (with umodem_load="NO") it 
uses sdhci_bcm0-slot0, not sdhci_bcm1-slot0 as in the photo.

Also, I did not have any usb devices plugged into the Pi4, except for a 
dell keyboard.

I've left umodem_load="NO" as it is, as I have no need for umodem now, 
and I can boot the system just fine.  I am just sending this in case 
this is a regression from 14.0 -> 14.1.

Matthew