logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

insmod - Simple program to insert a module into the Linux Kernel

Authors

       Numerous  contributions have come from the linux-modules mailing list <linux-modules@vger.kernel.org> and
       Github. If you have a clone of kmod.git itself, the output of git-shortlog(1) and git-blame(1)  can  show
       you the authors for specific parts of the project.

       LucasDeMarchi <lucas.de.marchi@gmail.com> is the current maintainer of the project.

kmod                                               2025-06-11                                          INSMOD(8)

Bugs

       Please direct any bug reports to kmod's  issue  tracker  at  https://github.com/kmod-project/kmod/issues/
       alongside with version used, steps to reproduce the problem and the expected outcome.

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(1) usually gives more information about errors.

Name

       insmod - Simple program to insert a module into the Linux Kernel

Options

-f, --force
           This option can be extremely dangerous: it tells the kernel to ignore the module version and vermagic
           fields  when  loading.  With  this  option,  you  can load modules build locally or by third parties,
           although this can lead to memory corruption, system crashes and data loss.

       -s, --syslog
           Send errors to syslog instead of standard error.

       -v, --verbose
           Print messages about what the program is doing. Usually insmod prints messages only if something goes
           wrong.

       -V, --version
           Show version of program and exit.

       -h, --help
           Print the help message and exit.

See Also

modprobe(8), rmmod(8), lsmod(8), modinfo(8), depmod(8)

Synopsis

insmod [OPTIONS] [filename] [moduleoptions]

See Also