Linux Commands Examples

A great documentation place for Linux commands

insmod

Simple program to insert a module into the Linux Kernel


see also : modprobe - rmmod - lsmod - modinfo

Synopsis

insmod [filename] [module options...]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

1
source
            
sudo insmod ./hello_world.ko
0
insmod net_drivers.ko
example added by an anonymous user
0
source
            
insmod net_drivers.ko
0
source
            
sudo insmod frontend.ko
0
source
            
insmod nls_base.ko
insmod nls_cp437.ko
insmod nls_iso8859-1.ko
insmod ndas_lpx.ko
insmod ndas_block.ko
insmod ndas_block.ko
insmod ndas_fat.ko
insmod ndas_lpx.o
insmod ndas_block.o
insmod ndas_fat.o
0
source
            
sudo insmod wagusb.ko
0
source
            
insmod rcu_stack.ko
insmod rcu_reader1.ko
0
source
            
sudo insmod ./zsmalloc.ko
sudo insmod ./zstest.ko

description

insmod is a trivial program to insert a module into the kernel. Most users will want to use modprobe(8) instead, which is more clever and can handle module dependencies.

Only the most general of error messages are reported: as the work of trying to link the module is now done inside the kernel, the dmesg usually gives more information about errors.

copyright

This manual page originally Copyright 2002, Rusty Russell, IBM Corporation. Maintained by Jon Masters and others.


see also

modprobe , rmmod , lsmod modinfo


authors

Jon Masters <jcm[:at:]jonmasters[:dot:]org>

Developer

Lucas De Marchi <lucas.demarchi[:at:]profusion[:dot:]mobi>

Developer

How can this site be more helpful to YOU ?


give  feedback