Hey,
I'm using a custom kernel with vnet enabeld. I stumbled over the tcp fast open option and created a new kernel named VNET_NEW.
Now I have two custom kernels VNET-KERNEL (old) , VNET_NEW (new) in this directory.
/usr/obj/usr/src/sys/
I don't know how the zfs boot process works , but I think it loads /bootpool/boot/kernel ?
As you can the see kernel seems to be build at may 23 22:50 which should be the new VNET_NEW .
But it is not loaded , after a reboot.
If I do a installkernel I can see that eveything ist coppied to /boot/kernel.
But for me it looks like that that /bootpol/boot/kernel is used ... .
So that can not work...
I think there is a missing symlink or something like that ?
EDIT:
Removed the /boot dir . created a symlink for /boot to /bootpool/boot/
I'm using a custom kernel with vnet enabeld. I stumbled over the tcp fast open option and created a new kernel named VNET_NEW.
Now I have two custom kernels VNET-KERNEL (old) , VNET_NEW (new) in this directory.
/usr/obj/usr/src/sys/
Code:
freebsd% ls -l
total 1082
drwxr-xr-x 3 root wheel 4031 May 22 11:27 GENERIC
drwxr-xr-x 3 root wheel 230 May 22 21:11 VNET-KERNEL
drwxr-xr-x 3 root wheel 230 May 23 23:35 VNET_NEW
drwxr-xr-x 12 root wheel 12 May 23 23:38 boot
I don't know how the zfs boot process works , but I think it loads /bootpool/boot/kernel ?
Code:
freebsd% pwd
/bootpool/boot
freebsd% ls -l | grep kernel
drwxr-xr-x 2 root wheel 815 May 23 22:50 kernel
drwxr-xr-x 2 root wheel 815 May 21 23:02 kernel.old
drwxr-xr-x 2 root wheel 850 Apr 17 21:29 kernel.old1
freebsd%
As you can the see kernel seems to be build at may 23 22:50 which should be the new VNET_NEW .
But it is not loaded , after a reboot.
Code:
FreeBSD freebsd.home.lan 11.1-RELEASE-p10 FreeBSD 11.1-RELEASE-p10 #4 r334026: Tue May 22 11:21:24 CEST 2018 root@freebsd.home.lan:/usr/obj/usr/src/sys/VNET-KERNEL
If I do a installkernel I can see that eveything ist coppied to /boot/kernel.
But for me it looks like that that /bootpol/boot/kernel is used ... .
So that can not work...
I think there is a missing symlink or something like that ?
Code:
freebsd% pwd
/boot
freebsd% ls -l
total 83
-r--r--r-- 1 root wheel 829 May 22 11:42 device.hints
-rw------- 1 root wheel 4096 May 24 11:26 entropy
drwxr-xr-x 2 root wheel 815 May 24 12:11 kernel
drwxr-xr-x 2 root wheel 815 May 23 22:32 kernel.old
drwxr-xr-x 2 root wheel 816 May 22 22:02 kernel.old1
freebsd% pwd
/boot
EDIT:
Removed the /boot dir . created a symlink for /boot to /bootpool/boot/