Automatic module insert in boot time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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 copied the the file hello.ko to the following directories:

- /lib/modules/2.6.38-8-generic/kernel
- /lib/modules/2.6.38-8-generic/kernel/drivers
- /lib/modules/2.6.38-8-generic/kernel/drivers/hello

The hello module prints (printk) message to kern.log and responds to open/read/write/ioctl and close functions.

I don't see the init log messages in the kern.log file.

While I use "insmod hello.ko" command, the command succeeds and I see the log messages.

Can anyone help me why the automatically insertion of the module does not succeed?

Thank you.

Yacob.
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux