INSMOD(8)

๐Ÿ’– INSMOD โ€” the insmod manual, but make it make sense ๐Ÿ’–

okay bestie, welcome to insmod(8), part of the kmod crew. buckle up, this one's short and honestly a little chaotic. ๐ŸŽ€


โœจ NAME โœจ

insmod โ€” a simple little program that shoves a module into the Linux Kernel. yes literally. that's the whole personality. ๐Ÿซถ


๐ŸŒธ SYNOPSIS ๐ŸŒธ

insmod [OPTIONS] [filename] [module options]

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

so like. insmod is a trivial program whose entire job is inserting a module into the kernel. that's it. that's the job.

bestie real talk: most of y'all should be using modprobe(8) instead. it's the smarter, more clever one โ€” it actually handles module dependencies for you. insmod does not. it does not care. ๐Ÿ’…

and okay, the error reporting? extremely minimal. like, the bare minimum of general error messages, nothing more. because the actual work of trying to link the module now happens inside the kernel, the tea gets spilled by dmesg(1) instead โ€” that's where you go for the real info about what went wrong. ๐Ÿ˜ญ


๐Ÿ’… OPTIONS ๐Ÿ’…

  • -f, --force โ€” ๐Ÿšจ okay this one is EXTREMELY DANGEROUS, I'm not being dramatic, it literally says so ๐Ÿšจ โ€” it tells the kernel to straight up ignore the module version and vermagic fields while loading. with this you can load modules that were built locally or by third partiesโ€ฆ but it can also lead to memory corruption, system crashes and data loss. so like. iconic but at what cost. ๐Ÿ’€
  • -s, --syslog โ€” send errors to syslog instead of standard error. errors go to the group chat instead of your DMs. โœจ
  • -v, --verbose โ€” print messages about what the program is doing. normally insmod is silent unless something goes wrong, so this is your "not me narrating my own life" mode. ๐Ÿ™ˆ
  • -V, --version โ€” show the version of the program and exit. periodt. ๐Ÿ‘‘
  • -h, --help โ€” print the help message and exit. the classic. ๐ŸŽ€

this manual page originally Copyright 2002, Rusty Russell, IBM Corporation. give them their flowers. ๐Ÿ’


๐ŸŒˆ SEE ALSO ๐ŸŒˆ

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

(yeah go read modprobe(8). it's the main character here, iykyk. ๐Ÿงš)


๐Ÿ“ BUGS ๐Ÿ“

found something cursed? ๐Ÿ› please direct any bug reports to kmod's issue tracker at

https://github.com/kmod-project/kmod/issues/

and bestie, include the version used, the steps to reproduce the problem, and the expected outcome. don't leave us guessing, that's not the vibe. ๐Ÿซถ


๐Ÿ’œ AUTHORS ๐Ÿ’œ

numerous contributions have come from the linux-modules mailing list <linux-modules@vger.kernel.org> and Github โ€” so many people, so much love. ๐Ÿฅน 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. detective work, slay.

Lucas De Marchi <lucas.de.marchi@gmail.com> is the current maintainer of the project. ๐Ÿ‘‘


and that's the whole page babes! โœจ this was kmod, dated 2026-10-30, and it's giving INSMOD(8). go forth, insert responsibly, and pls pls pls respect the --force warning. mwah. ๐Ÿ’–๐ŸŽ€๐Ÿฆ‹

๐Ÿ“ฆ where this page comes from
  • arch rolling: kmod 34.3-1 ยท LGPL-2.1-or-later AND GPL-2.0-or-later
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms