All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerard van den Bosch <gerard@de-haardt.com>
To: Darren Hart <dvhart@linux.intel.com>
Cc: poky <poky@yoctoproject.org>
Subject: Re: load kernel module at startup
Date: Thu, 21 Apr 2011 08:14:19 +0200	[thread overview]
Message-ID: <4DAFCB3B.20208@de-haardt.com> (raw)
In-Reply-To: <4DAEFAF2.3020507@linux.intel.com>

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





      parent reply	other threads:[~2011-04-21  6:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-11  9:38 load kernel module at startup Gerard van den Bosch
2011-04-20 15:25 ` Darren Hart
2011-04-20 15:31   ` Martin Jansa
2011-04-20 15:49     ` Darren Hart
2011-04-21  6:27       ` Martin Jansa
2011-04-21  9:23         ` Gerard van den Bosch
2011-04-21 22:02           ` Darren Hart
2011-04-22  6:19             ` Gerard van den Bosch
2011-04-21  6:14   ` Gerard van den Bosch [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DAFCB3B.20208@de-haardt.com \
    --to=gerard@de-haardt.com \
    --cc=dvhart@linux.intel.com \
    --cc=poky@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.