compiled kernel can NOT boot without trying to mount root

Hi

I have rebuilt kernel to enable Netflix RACK TCP stack on FreeBSD 12.0 new created vultr VPS by following this blog:

https://calomel.org/freebsd_network_tuning.html

Code:
# cat /usr/src/sys/amd64/conf/CALOMEL
include GENERIC
ident   CALOMEL
makeoptions WITH_EXTRA_TCP_STACKS=1
options TCPHPTS


Boot failed after reboot with new kernel, hang without trying to mount root :

zOnxAyd.png


old kernel booting would try mount / root :

XRZfQ6y.png
 
One thing I've learned over the past 15 or so years of using FreeBSD, don't tune for the sake of tuning. Only tune when there's an actual need for it.
 
That... is a useless comment that will stamp forever mediocrity on the world of searchers for an answer to a non-booting FreeBSD.

The minimum answer should have been to boot verbose (-v) and get further detail. Better would be a link to diagnose a non-booting system.

I recommend backing out your changes, try to build a generic kernel, and verify that the process of building and installing works. Then go on to optimize bits rather than big changes all at once. Booting in between to know you are still good. Nowadays (14+?), the argument to not build, but tune what you can with sysctl is stronger since the freebsd-update will not update a custom install.
 
Back
Top