From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx1.pokylinux.org (Postfix) with ESMTP id D89174C804D4 for ; Wed, 20 Apr 2011 10:49:31 -0500 (CDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 20 Apr 2011 08:49:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.64,247,1301900400"; d="scan'208";a="631536263" Received: from unknown (HELO [10.255.12.227]) ([10.255.12.227]) by orsmga002.jf.intel.com with ESMTP; 20 Apr 2011 08:49:31 -0700 Message-ID: <4DAF008F.70706@linux.intel.com> Date: Wed, 20 Apr 2011 08:49:35 -0700 From: Darren Hart User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8 MIME-Version: 1.0 To: Martin Jansa References: <4DA2CC29.7040301@de-haardt.com> <4DAEFAF2.3020507@linux.intel.com> <20110420153153.GK5675@jama.jama.net> In-Reply-To: <20110420153153.GK5675@jama.jama.net> Cc: poky Subject: Re: load kernel module at startup X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2011 15:49:32 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 04/20/2011 08:31 AM, Martin Jansa wrote: > On Wed, Apr 20, 2011 at 08:25:38AM -0700, Darren Hart wrote: >> >> >> On 04/11/2011 02:38 AM, Gerard van den Bosch wrote: >>> Hello, >>> >>> I would like to modprobe my wireless driver kernel module at startup >>> automatically. >>> >>> This works when I generate a rootfs and then boot up the first time so >>> the modules file gets generated and then I can manually add the kernel >>> module in that file and then reboot. >>> >>> When I look in the manpage of update-modules it states that a config >>> file should be added in /etc/modutils but that directory is not in my >>> rootfs. >>> >>> So I was wondering what I have to do to get /etc/modutils directory or >>> an other way to get the kernel module loaded at startup. >>> >>> I am using the Poky 4.0 Laverne release. >> >> I believe you can just add the name of the module to: >> >> /etc/modules >> >> Can you try that? > > module_autoload_module_name to do that, is not supported in Poky? I am not familiar with this technique. -- Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel