insmod(8)

insmod8

Simple program to insert a module into the linux kernel

Usage

insmod [OPTIONS] [filename] [module options]

Overview

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.

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.

Releases

14 releases since Debian 2.2 (Potato); the text changed 13 times.

  1. 2.2
  2. 3.0
  3. 3.1
  4. 4.0
  5. 5.0
  6. 6.0
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. Arch

--force since Debian 13 (Trixie); --help since Debian 13 (Trixie); --syslog since Debian 13 (Trixie); --verbose since Debian 13 (Trixie); --version since Debian 13 (Trixie); -V since Debian 13 (Trixie); -f since Debian 13 (Trixie); -h since Debian 13 (Trixie); -s since Debian 13 (Trixie); -v since Debian 13 (Trixie).

--autoclean until Debian 4.0 (Etch); --blob until Debian 4.0 (Etch); --kallsyms until Debian 4.0 (Etch); --lock until Debian 4.0 (Etch); --map until Debian 4.0 (Etch); --name until Debian 4.0 (Etch); --noload until Debian 4.0 (Etch); --numeric-only until Debian 4.0 (Etch); --persist until Debian 4.0 (Etch); --prefix until Debian 4.0 (Etch); --probe until Debian 4.0 (Etch); --quiet until Debian 4.0 (Etch); --root until Debian 4.0 (Etch); -L until Debian 4.0 (Etch); -N until Debian 4.0 (Etch); -O until Debian 4.0 (Etch); -P until Debian 4.0 (Etch); -S until Debian 4.0 (Etch); -X until Debian 2.2 (Potato); -Y until Debian 2.2 (Potato); -e until Debian 4.0 (Etch); -k until Debian 4.0 (Etch); -m until Debian 4.0 (Etch); -n until Debian 4.0 (Etch); -o until Debian 4.0 (Etch); -p until Debian 4.0 (Etch); -q until Debian 4.0 (Etch); -r until Debian 4.0 (Etch); -x until Debian 2.2 (Potato); -y until Debian 2.2 (Potato).

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.

Authors

Numerous contributions have come from the linux-modules mailing list <[email protected]> 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.

Lucas De Marchi <[email protected]> is the current maintainer of the project.

From kmod 34.3-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.