Upgrade FreeBSD from 12.4 to 13.2 with mount error 19

Background:
I am trying to upgrade FreeBSD 12.4 to FreeBSD 13.2, after i execute the follow commands, then the error 19 occurs.

# freebsd-update fetch
# freebsd-update install
# freebsd-update -r 13.2-RELEASE upgrade
# freebsd-update install
# reboot



IMG_5225.jpg

Code:
mountroot: waiting for device /dev/nvd0p2...
Mounting from ufs: /dev/nvd0p2 failed with error 19.
Loader variables:
vfs.root.mount from=ufs: /dev/nvd0p2
vfs.root.mount from.options=rw
Manual root filesystem specification:
<fstype>: <device> [options] Mount <device> using filesystem <fstype> and with the specified (optional) option list.
eg. ufs: /dev/da0sia
zfs:zroot/ROOT/default
cd9660: /dev/cd0 ro (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 />
List valid disk boot devices
Yield second (for background tasks>
<empty line> Abort manual input
?
mountroot>

IMG_5228.jpg


Code:
mountroot> ?
List of GEOM managed disk devices:
  diskid/DISK-E0181705s1 diskid/DISK-E0181705 mmcsd0s1 mmcsd0
mountroot>

Kernel Information
[h@laptop ~]$ uname -a
FreeBSD laptop 12.4-RELEASE-p4 FreeBSD 12.4-RELEASE-p4 GENERIC amd64

/etc/fstab
[h@laptop ~]$ cat /etc/fstab
# Device Mountpoint FStype Options Dump Pass#
/dev/nvd0p2 / ufs rw 1 1
/dev/nvd0p3 none swap sw 0 0
Filesystem Information
[h@laptop ~]$ df -Th
Filesystem Type Size Used Avail Capacity Mounted on
/dev/nvd0p2 ufs 458G 118G 303G 28% /
devfs devfs 1.0K 1.0K 0B 100% /dev



Disk Device Information
Code:
[h@laptop ~]$ geom disk list                                                          
Geom name: nvd0                                                                            
Providers:                                                                                 
1. Name: nvd0                                                                              
   Mediasize: 512110190592 (477G)                                                          
   Sectorsize: 512                                                                         
   Mode: r2w2e3                                                                            
   descr: THNSF5512GPUK TOSHIBA                                                            
   lunid: 00080d020032ab1b                                                                 
   ident: 97US10QATR4T                                                                     
   rotationrate: 0                                                                         
   fwsectors: 0                                                                            
   fwheads: 0
Block Device Information
Code:
[h@laptop ~]$ gpart show
=>        40  1000215136  nvd0  GPT  (477G)
          40      409600     1  efi  (200M)
      409640   991543296     2  freebsd-ufs  (473G)
   991952936     8262240     3  freebsd-swap  (3.9G)

Code:
[h@laptop ~]$ lsblk
DEVICE         MAJ:MIN SIZE TYPE                                          LABEL MOUNT
nvd0             0:72  477G GPT                                               - -
  nvd0p1         0:73  200M efi                                  msdosfs/EFISYS -
  nvd0p2         0:74  473G freebsd-ufs                                       - /
  nvd0p3         0:75  3.9G freebsd-swap                                      - SWA

Do you have similar issue when you upgrade the FreeBSD? Could you provide some suggestions for me?

Thank you very much.
 
On the mountroot> screen press "scroll lock" and use "page up" to scroll the screen up and check if nvd0 is detected.
 
On the mountroot> screen press "scroll lock" and use "page up" to scroll the screen up and check if nvd0 is detected.

Thanks for the suggestion, i've added add
Code:
kern.geom.label.disk_ident.enable=0
in the file /boot/loader.conf, then reboot.

Code:
[h@laptop ~]$ cat /boot/loader.conf 
cuse_load="YES"
#vboxdrv_load="YES"
bitmap_name="/boot/splash"
# Touchpad & TrackPoint #
hw.psm.synaptics_support = 1
hw.psm.trackpoint_support = 1
debug.psm.loglevel = 2 
#hw.psm.mux_disabled = 0
i915kms_load="YES"
# GEOM LABEL
kern.geom.label.disk_ident.enable=0

The result is as below:
Code:
mountroot> ?
List of GEOM managed disk devices:
   mmcsd0s1 mmcsd0
mountroot>
 
On the mountroot> screen press "scroll lock" and use "page up" to scroll the screen up and check if nvd0 is detected.

I've checked only NVME is detected only, and nvd0 is not detected at all.

Code:
nvme: <Generic NVMe Device> mem 0xec000000-0xec003fff at device 0.0 on pci3

When i select the kernel.old to boot the system, the nvd0 is detected in dmesg normally
Code:
[h@laptop ~]$ dmesg |grep nvd0
nvd0: <THNSF5512GPUK TOSHIBA> NVMe namespace
nvd0: 488386MB (1000215216 512 byte sectors)
Trying to mount root from ufs:/dev/nvd0p2 [rw]...
 
Back
Top