Bug #6456
closedvm-bhyve not correctly detecting the modules in kernel
0%
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
Updated by Jose Luis Duran almost 9 years ago
This was fixed in vm-bhyve v0.12.3.
(https://github.com/churchers/vm-bhyve/commit/a74ef7e04a5fa5ce256fe2f213dec6f51b8f8847)
Updated by Kill Bill over 8 years ago
Jose Luis Duran wrote:
This was fixed in vm-bhyve v0.12.3.
(https://github.com/churchers/vm-bhyve/commit/a74ef7e04a5fa5ce256fe2f213dec6f51b8f8847)
Considering the current package version is vm-bhyve-1.1.5, this just can be closed, no?