From owner-freebsd-questions@FreeBSD.ORG Mon Dec 21 16:35:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2344106568B for ; Mon, 21 Dec 2009 16:35:43 +0000 (UTC) (envelope-from listreader@lazlarlyricon.com) Received: from proxy1.bredband.net (proxy1.bredband.net [195.54.101.71]) by mx1.freebsd.org (Postfix) with ESMTP id 9D7058FC08 for ; Mon, 21 Dec 2009 16:35:43 +0000 (UTC) Received: from ipb1.telenor.se (195.54.127.164) by proxy1.bredband.net (7.3.140.3) id 4AD3E1C001E34AD0 for freebsd-questions@freebsd.org; Mon, 21 Dec 2009 17:35:42 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AthYAPoyL0tV44PPPGdsb2JhbACBSoJAlHKCSAEBAQEeGQuIO6NJjjaBL4ItUgSFaQ X-IronPort-AV: E=Sophos;i="4.47,432,1257116400"; d="scan'208";a="18604003" Received: from c-cf83e355.09-42-6e6b7010.cust.bredbandsbolaget.se (HELO lazlar.kicks-ass.net) ([85.227.131.207]) by ipb1.telenor.se with ESMTP; 21 Dec 2009 17:35:42 +0100 Message-ID: <4B2FA3DD.5050206@lazlarlyricon.com> Date: Mon, 21 Dec 2009 17:35:41 +0100 From: Rolf Nielsen User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Leslie Jensen References: <4B2F60BA.7010002@bsdforen.de> <4B2F9CEF.6050501@eskk.nu> In-Reply-To: <4B2F9CEF.6050501@eskk.nu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Loading kernel modules for virtualbox via script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Dec 2009 16:35:44 -0000 Leslie Jensen wrote: > > Following the suggestion here: > http://forums.freebsd.org/showpost.php?p=45664&postcount=5 > > To load two kernel modules via a script in /etc/rc.d/ > > Produces the following: > > WARNING: Ignoring old-style startup script /etc/rc.d/ > > I found the answer here: > > http://sourceforge.net/tracker/index.php?func=detail&aid=2896643&group_id=151951&atid=782616 > > > > I would like a suggestion on how to load the modules! > > Thanks > > /Leslie > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > > Can't you load the modules from /boot/loader.conf? AFAIK VirtualBox places its modules in /boot/modules, which makes them loadable by load_modulename="YES" in /boot/loader.conf, where modulename should be replaced by the filename of the module(s), omitting the leading path and the .ko suffix, e.g. nvidia_load=YES" loads /boot/modules/nvidia.ko.