Project

General

Profile

Actions

Bug #6456

closed

vm-bhyve not correctly detecting the modules in kernel

Added by Pedro Ramos almost 9 years ago. Updated over 7 years ago.

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 #2

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?

Actions #3

Updated by Kill Bill over 7 years ago

As noted above, long fixed.

Actions #4

Updated by Jim Thompson over 7 years ago

  • Status changed from New to Not a Bug
Actions

Also available in: Atom PDF