Actions
Bug #6456
closedvm-bhyve not correctly detecting the modules in kernel
Status:
Not a Bug
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
06/06/2016
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:
Description
Trying to run bhyve in pfsense 2.3.1. I have install vm-bhyve. But I found it is not working properly when executing "vm init". The the routine "vm-common" is issuing the command kldstat with the wrong parameter. It is using -n instead of -m.
It wrong identified that the if_bridge kernel module was not loaded.
Here is the patch
--- vm-common.orig 2015-11-11 15:30:13.000000000 0000
++ vm-common 2016-06-06 19:44:31.838580000 +0000@ -41,7 +41,7
@
#
__load_module(){
local _mod="$1"
- kldstat -n ${_mod} >/dev/null 2>&1
+ kldstat -m ${_mod} >/dev/null 2>&1
if [ $? -ne 0 ]; then
kldload ${_mod} >/dev/null 2>&1
[ $? -ne 0 ] && __err "unable to load ${_mod}.ko!"
Thank you
Actions