Maybe /boot/defaults/loader.conf is missing or mangled?
Juha
Juha
unload
load boot/kernel.old/kernel
load boot/kernel.old/opensolaris.ko
load boot/kernel.old/zfs.ko
boot
zfs_load="YES"
kern.geom.label.gptid.enable="0"
accf_http_load="YES"
kern.hz="100"
# Loader for Hyper-V KVP driver --do not modify
hv_kvp_load="YES"
ls -l /boot/kernel|grep zfs.ko
-r-xr-xr-x 1 root wheel 2431936 Jun 27 12:52 zfs.ko
ls -l /boot/kernel.old|grep zfs.ko
-r -xr-xr-x 1 root wheel 2320168 May 6 06:16 zfs.ko
While bjeurissen summary on Mar 7 was helpful, the rest of this thread is not. There does not appear to be a resolution, or a recognition that something in the ' FreeBSD-update upgrade ' process breaks 10.1 systems that are installed on a zfs root. I just did a 10.1-RELEASE to 10.3-RELEASE upgrade and hit the same issue.
In any case, it is not clear where to go from here.
#gpart show
=> 34 536870845 ada0 GPT (256G)
34 1024 1 FreeBSD-boot (512K)
1058 50331648 2 FreeBSD-swap (24G)
50332706 486538173 3 FreeBSD-zfs (232G)
No, don't read between the lines. I merely mentioned that I recently upgraded without having any requirements to update my bootcode.I don't understand the comment about make.conf since this is not a custom kernel. Is it possible the RELEASE build forgot to include opensolaris.ko as a dependency after 10.1?
So I looked into the 10.3 binary upgrade and it mentions 2 specific complications, one of which being to be careful to double check that a new kernel is placed in boot/kernel.As I recall, swap outside zfs is the installer default. I don't believe I specified anything more than swap size and mine looks like:
# freebsd-update fetch
# freebsd-update install
# freebsd-update upgrade -r 11.0-RELEASE
# freebsd-update install
# reboot
# lsdev
disk devices:
disk0: BIOS drive C:
disk0p1: FreeBSD boot
disk0p2: FreeBSD swap
disk0p3: FreeBSD ZFS
disk1: BIOS drive D:
pxe devices:
zfs devices:
zfs:zroot
zfs:theghetto
OK
# unload
# load boot/kernel.old1/kernel
# load boot/kernel.old1/opensolaris.ko
# load boot/kernel.old1/zfs.ko
# menu
# login root
# mount -u / (changes root filesystem from read-only to read/write)
# mount -a (attempts to mount any other filesystems in /etc/fstab)
# cd /boot/defaults
# vi loader.conf
:w!
# ctrl d
# reboot
# freebsd-update install
# freebsd-update install
# shutdown -r now
uname -a
FreeBSD 11.0-RELEASE-p2 FreeBSD 11.0-RELEASE-p2 #0: Mon Oct 24 06:55:27 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
MODULES_OVERRIDE = accf_http zfs opensolaris krpc
MODULES_OVERRIDE = accf_http zfs xdr cryptodev crypto krpc