Disabling vmm.ko

Status
Not open for further replies.

xoro

Cadet
Joined
Oct 29, 2017
Messages
2
I am running FreeNAS 11 as a bhyve guest system on FreeBSD.
To get FreeNAS to run stable as a bhyve guest I have to unload the vmm.ko module.
How can I disable the vmm.ko kernel module in FreeNAS during startup?
 

bigphil

Patron
Joined
Jan 30, 2014
Messages
486
You can try by creating a tunable and rebooting.
Variable: vmm_load
Value: NO
Type: Loader
Enabled: True
 

xoro

Cadet
Joined
Oct 29, 2017
Messages
2
Thanks for your quick answer.
I added the tunable and rebooted.
After the reboot the vmm.ko is still loaded.

I tried to "kldunload vmm.ko" as postinit command in Tasks -> Init/Shutdown Scripts.
This worked.
But is there not a more elegant way to disable a specific kernel module in FreeNAS?
 
Status
Not open for further replies.
Top