From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cpsmtpb-ews02.kpnxchange.com (cpsmtpb-ews02.kpnxchange.com [213.75.39.5]) by mx1.pokylinux.org (Postfix) with ESMTP id 38BCD4C80050 for ; Thu, 21 Apr 2011 01:14:24 -0500 (CDT) Received: from cpbrm-ews08.kpnxchange.com ([10.94.84.139]) by cpsmtpb-ews02.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 21 Apr 2011 08:14:23 +0200 Received: from CPSMTPM-CMT104.kpnxchange.com ([195.121.3.20]) by cpbrm-ews08.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 21 Apr 2011 08:14:23 +0200 Received: from mail.de-haardt.com ([86.81.67.223]) by CPSMTPM-CMT104.kpnxchange.com with Microsoft SMTPSVC(7.0.6002.18264); Thu, 21 Apr 2011 08:14:23 +0200 Received: from [192.168.1.160] ([192.168.1.160]) (authenticated user gerard@de-haardt.com) by mail.de-haardt.com (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)); Thu, 21 Apr 2011 08:14:20 +0200 Message-ID: <4DAFCB3B.20208@de-haardt.com> Date: Thu, 21 Apr 2011 08:14:19 +0200 From: Gerard van den Bosch User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8 MIME-Version: 1.0 To: Darren Hart References: <4DA2CC29.7040301@de-haardt.com> <4DAEFAF2.3020507@linux.intel.com> In-Reply-To: <4DAEFAF2.3020507@linux.intel.com> X-OriginalArrivalTime: 21 Apr 2011 06:14:23.0051 (UTC) FILETIME=[5BAAD1B0:01CBFFEB] X-RcptDomain: yoctoproject.org 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: Thu, 21 Apr 2011 06:14:24 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 04/20/2011 05:25 PM, 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? That's true and that works but the problem is when I generate the rootfs the /etc/modules file isn't there. It is generated by the update-modules script that is located in recipes-kernel, and as far as I can understand that script looks in /etc/modutils directory but I don't have that directory either. Regards, Gerard