From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 22 23:20:43 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 176E510656A5 for ; Tue, 22 Dec 2009 23:20:43 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id C650F8FC22 for ; Tue, 22 Dec 2009 23:20:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id E9FB35E0FB; Wed, 23 Dec 2009 00:20:41 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -2.242 X-Spam-Level: X-Spam-Status: No, score=-2.242 tagged_above=-999 required=5 tests=[AWL=0.358, BAYES_00=-2.599, SPF_PASS=-0.001] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id x7q9G6RCxlgM; Wed, 23 Dec 2009 00:20:39 +0100 (CET) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mx1.bjare.net (Postfix) with ESMTP id 4CB655E0BA; Wed, 23 Dec 2009 00:20:38 +0100 (CET) Message-ID: <4B315448.909@eskk.nu> Date: Wed, 23 Dec 2009 00:20:40 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.1.5) Gecko/20091221 Thunderbird/3.0 MIME-Version: 1.0 To: Mario Lobo References: <4B314586.1030301@fletchermoorland.co.uk> <4B314CBB.1030506@eskk.nu> <200912222001.08532.lobo@bsd.com.br> In-Reply-To: <200912222001.08532.lobo@bsd.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: VirtualBox error if kernel module loader in /boot/loader.conf (WAS Re: Loading kernel modules for virtualbox via script) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Dec 2009 23:20:43 -0000 > This is a known problem for a while but I think it's almost microscopic. > > > Just place the following script in /usr/local/etc/rc.d/vboxkos > > ----------------------------------- > #!/bin/sh > echo ' VirtualBox' > /sbin/kldload vboxnetflt > /sbin/kldload vboxnetadp<- optional > ------------------------------------ > > and take vboxnetflt_load="YES" out of loader.conf. > Load only vboxdrv.ko there ! > > The modules will be loaded late enough and everything will work. I placed the vboxkos script as you described, set the same owner and group and rights as the files already present. Unfortunately the vboxnetflt module did not get loaded. /Les