Bug 219223

Summary: ipfw failing to load
Product: Base System Reporter: Ben <ben>
Component: kernAssignee: freebsd-ipfw (Nobody) <ipfw>
Status: Closed Works As Intended    
Severity: Affects Only Me CC: ae, thj
Priority: ---    
Version: 11.0-STABLE   
Hardware: amd64   
OS: Any   

Description Ben 2017-05-11 16:38:27 UTC
I've been using freebsd-update to manage my system updates on multiple systems, physical and virtual, and today noticed that ipfw is not functioning. I've tried rebooting my systems but am still unable to get ipfw running.

Ben

--

root@freebsd-vm:/boot/kernel # freebsd-version
11.0-RELEASE-p10

root@freebsd-vm:/boot/kernel # ls -l ipfw*
-r-xr-xr-x  2 root  wheel  256336 Jan 20 02:46 ipfw.ko
-r-xr-xr-x  2 root  wheel   37872 Jan 20 02:46 ipfw_nat.ko

root@freebsd-vm:/boot/kernel # ipfw list
ipfw: retrieving config failed: Protocol not available

root@freebsd-vm:/boot/kernel # service ipfw start
kldload: an error occurred while loading the module. Please check dmesg(8) for more details.
/etc/rc.d/ipfw: WARNING: Unable to load kernel module ipfw

root@freebsd-vm:/boot/kernel # dmesg
...
KLD ipfw.ko: depends on kernel - not available or version mismatch
linker_load_file: Unsupported file type
Comment 1 Andrey V. Elsukov freebsd_committer freebsd_triage 2017-05-17 11:09:59 UTC
Your kernel is out of sync with your modules. Something wrong went with your update.