Re: Fw: Automatic module insert in boot time
Hello Matt, Thank you for your answer. The driver is a simple one (hello) and does not require any hardware. Sincerely, Yacob Hassidim. ----- Original Message ----- From: "Matt Schulte" <matts@commtech-fastcom.com> To: "Yacob Hassidim" <yacobh@zahav.net.il> Sent: Monday, September 26, 2011 6:59 PM Subject: Re: Fw: Automatic module insert in boot time
I believe the reason it is not installing as you would like with the automatic /etc/modules method is that it requires hardware to be detected before it loads the driver. It will not automatically load drivers unless it detects hardware that needs them.
Matt Schulte
On Mon, Sep 26, 2011 at 6:59 AM, Yacob Hassidim <yacobh@zahav.net.il> wrote:
Hello Mulyadi,
Thank you for your response.
I read the best way to automatically insert a module is via the /etc/modules (see http://www.cyberciti.biz/faq/linux-how-to-load-a-kernel-module-automatically...).
Don't forget I use Ubuntu 11.04.
I tried the rc.local: It works perfectly.
I searched for initramfs file but didn't find at all under Ubuntu.
Sincerely,
Yacob Hassidim.
----- Original Message ----- From: "Mulyadi Santosa" <mulyadi.santosa@gmail.com> To: "Yacob Hassidim" <yacobh@zahav.net.il> Cc: <kernelnewbies@kernelnewbies.org> Sent: Monday, September 26, 2011 11:04 AM Subject: Re: Automatic module insert in boot time
Hi Yacob...
2011/9/26 Yacob Hassidim <yacobh@zahav.net.il>:
________________________________ Hello everyone,
I ask for help to insert/install module automatically in boot time.
I use Ubuntu 11.04.
I try to insert a module automatically in boot time.
I added the name of my module (hello) to the file /etc/modules.
I don't think that is the place.
Boot time? perhaps better to put your modprobe/insmod calling your module in something like rc.local, or manually modify your initrd/initramfs so that it load your module earlier.
-- regards,
Mulyadi Santosa Freelance Linux trainer and consultant
participants (1)
-
Yacob Hassidim