pub/scm/utils/kernel/module-init-tools/module-init-tools.git  about / heads / tags
official module-init-tools tree
$ git log --pretty=format:'%h %s (%cs)%d'
8e4b921 depmod: fix tabs in help output (2011-12-17)
	(HEAD -> master, dev)
e6bac1a announce: module-init-tools to be replaced with new library-based tools (2011-12-15)
4026aad Merge branch 'dev' (2011-06-02)
f357bb2 release: bump release to 3.16 (2011-06-02)
f1d3785 build: remove stale modprobe.d.5 from top-level directory (2011-06-02)
2fd01d4 Merge branch 'dev' of master.kernel.org:/pub/scm/utils/kernel/module-init-tools/module-init-tools into dev (2011-06-02)
f8e5171 Merge branch 'master' of master.kernel.org:/pub/scm/utils/kernel/module-init-tools/module-init-tools (2011-06-02)
e61ce68 release: bump release to 3.15 (2011-06-02)
99f11b1 doc: properly fix documentation generation (2011-06-02)
ad222fe changelog: update changelog for missing v3.14 changes (2011-06-02)
...

$ git cat-file blob HEAD:README
module-init-tools - Linux userspace module loading utilities
------------------------------------------------------------

NOTE: module-init-tools is due to be replaced with a new utility, which will
      be based upon the "libkmod" (kmod) codebase, unified with this one. To
      join in the fun, see #kmod on Freenode, and the mailing list. Consider
      progress of this new project before embarking on new development here.
      Once the replacement is ready, the existing codebase will be obsolete.

Handy Resources:
	- Bugs: Please send email to list
	- Git:  git://git.kernel.org/pub/scm/utils/kernel/module-init-tools/module-init-tools.git
	- IRC:  irc.freenode.org/#module-init-tools
	- Mail: linux-modules@vger.kernel.org
	- Web:  http://modules.wiki.kernel.org/

The module-init-tools are used by modern 2.6 series Linux systems to provide
userspace-side assistance in loading kernel modules and their dependencies.
Originally written to replace the older "modutils", the utilities include
the "modprobe" (load modules and their dependencies), "insmod" (load just
a single module), "modinfo" (retrieve module information), and other related
module management commands. These are intended to be relatively lightweight
in their design, since 2.6 series kernels do much of the work internally.

You will find documentation within the man pages and in this README file,
as well as some hints on development within the HACKING file. You are
encouraged to get involved by signing up to the linux-modules@vger.kernel.org
project mailing list, and posting patches (git pull requests are welcome).
You can also find further information, including the address of the mailing
list, this git repository, and so forth on the module-init-tools wiki.

Development takes place against the latest upstream Linux kernels (2.6.33
as of this writing, though kernel development moves quickly). Backward
compatibility is generally attempted, but forward compatibility (i.e. the
ability for a specific release of module-init-tools to work against data
files created by a later version as yet unreleased version) is not. In
particular, the generated data files within /lib/modules/<kernel version>
must not be assumed to have any particular format, nor should they be
parsed be any other tools. There is a specific "modinfo" utility intended
for the purposes of providing the information stored within those files.

Recent Changes:
	- There is no backwards compatibility for pre-2.6 series kernels. If
	  you intend to use an older kernel (wherein the module utilities
	  must perform various linking stages in userspace), use an older
	  tool such as provided in the "modutils" legacy kernel package.

	- Explicit locking of kernel modules is no longer being performed at
	  load time (the existing implementation required a writeable mount
	  in /lib/modules that is by no means assured - an alternative of
	  using SYSV locks was experimented with but deemed unnecessary).
	  The kernel will handle one modprobe instance racing with another
	  by denying the load and returning an error message.

Work in progress:
	- We are working on soft-dependency support that will allow modules
	  to provide hints as to dependencies that may not be explicit.

Requirements:
	- A 2.6 series Linux kernel with sysfs, procfs, and loadable module
	  support enabled in the kernel configuration. It is also required
	  that sysfs and procfs be mounted in their usual /proc and /sys
	  locations in order for certain functionality to be provided.

	- Module remove support must be enabled if removing is required. Yo
	  can also enable other options such as forced removal, but this is
	  really a bad idea for anything other than development.

	- Module versioning (MODVERSIONS) must be enabled if you would
	  like to try to use modules from one kernel with another, similar
	  one without the kernel complaining loudly at the difference.

Quickstart:
	- Make sure you have appropriate development tools (gcc, GNU autotools,
	  docbook2man, etc. Some distributions may require optional packages
	  for a static version of glibc, as an example).

	- To begin hacking on module-init-tools, you can do the following:

	1). aclocal -I m4 && automake --add-missing --copy && autoconf
	    (or run "autoreconf" from an existing setup)
	2). ./configure
	    (optionally specify "--prefix" or "--mandir" for non /usr/local)
	3). make
	4). make install
	5). depmod
	    (to update /lib/modules/<kernel version> for the latest release)

Please direct any comment/question to the linux-modules mailing list at:
	linux-modules@vger.kernel.org

# heads (aka `branches'):
$ git for-each-ref --sort=-creatordate refs/heads \
	--format='%(HEAD) %(refname:short) %(subject) (%(creatordate:short))'
  dev          depmod: fix tabs in help output (2011-12-17)
* master       depmod: fix tabs in help output (2011-12-17)
  dev-old      Merge commit '66876e3ee43d52f1b41c56e5bab542b7c205b91b' into dev (2010-03-09)
  alan-softdep-merge tests: enable leak checking under --valgrind (2010-03-02)
  alan-softdep-cleanups modprobe: re-use config data across multiple calls to do_modprobe() (2010-03-02)
  alan-cleanups insmod: fix memory leak (2010-02-25)
  softdeps     pre-release: initial version for 3.12 (2010-01-15)
  alan-softdep depmod: generate modules.softdep (2009-11-05)
  alan         Merge branch 'master' into forkbomb (2009-10-01)
  kay          depmod: "updates" fixes (2009-03-02)
...

# tags:
$ git for-each-ref --sort=-creatordate refs/tags \
	--format='%(refname:short) %(subject) (%(creatordate:short))'
# no tags, yet...

# associated public inboxes:
# (number on the left is used for dev purposes)
         11 lkml
          4 xen-devel
          4 yocto
          3 linux-wireless
          3 linux-devicetree
          3 linux-scsi
          3 dpdk-dev
          3 dri-devel
          3 intel-gfx
          3 linux-phy
          3 u-boot
          3 ltp
          2 linux-block
          2 linux-nvme
          2 qemu-devel
          2 linux-cifs
          2 netdev
          2 linux-media
          2 stable
          2 alsa-devel
          2 linuxppc-dev
          2 kvm
          2 linux-modules
          2 amd-gfx
          2 linux-omap
          2 virtualization
          2 linux-kbuild
          2 linux-fpga
          2 lustre-devel
          2 ath11k
          2 mptcp
          2 buildroot
          2 openembedded-devel
          2 yocto-meta-ti
          2 lvm-devel
          1 linux-samsung-soc
          1 linux-fscrypt
          1 linux-mtd
          1 cocci
          1 linux-riscv
          1 linux-xfs
          1 live-patching
          1 bpf
          1 linux-nfs
          1 linux-mediatek
          1 linux-crypto
          1 linux-efi
          1 linux-acpi
          1 netfilter-devel
          1 linux-integrity
          1 linux-fsdevel
          1 linux-edac
          1 linux-arm-msm
          1 linux-amlogic
          1 linux-erofs
          1 linux-mm
          1 linux-nvdimm
          1 linux-iommu
          1 linux-snps-arc
          1 linux-mips
          1 fstests
          1 linux-pm
          1 linux-hwmon
          1 linux-rtc
          1 linux-input
          1 linux-btrfs
          1 linux-arm-kernel
          1 kvmarm
          1 driverdev-devel
          1 linux-usb
          1 linux-renesas-soc
          1 linux-kselftest
          1 selinux
          1 kernel-hardening
          1 linux-clk
          1 linux-iio
          1 linux-gpio
          1 dmaengine
          1 linux-rdma
          1 linux-next
          1 linux-parisc
          1 linux-ext4
          1 linux-leds
          1 linux-security-module
          1 linux-pci
          1 linux-f2fs-devel
          1 kernelnewbies
          1 linux-rt-users
          1 linux-bluetooth
          1 linux-sgx
          1 linux-ide
          1 linux-serial
          1 linux-watchdog
          1 linux-trace-devel
          1 linux-hyperv
          1 workflows
          1 rcu
          1 linux-m68k
          1 linux-i3c
          1 util-linux
          1 linux-spdx
          1 linux-wpan
          1 ksummit-discuss
          1 wireguard
          1 backports
          1 io-uring
          1 linux-kernel-mentees
          1 linux-doc
          1 git
          1 linux-csky
          1 linux-man
          1 linux-mmc
          1 tpmdd-devel
          1 linux-unionfs
          1 linux-firmware
          1 linux-api
          1 cip-dev
          1 linux-audit
          1 linux-spi
          1 linux-i2c
          1 linux-remoteproc
          1 linux-dash
          1 linux-bcache
          1 linux-sparse
          1 mm-commits
          1 linux-pwm
          1 linux-tegra
          1 lttng-dev
          1 ceph-devel
          1 linux-arch
          1 linux-can
          1 containers
          1 linux-rockchip
          1 linux-raid
          1 xdp-newbies
          1 platform-driver-x86
          1 phone-devel
          1 openbmc
          1 linux-hardening
          1 dash
          1 dm-devel
          1 keyrings
          1 linux-fbdev
          1 linux-sctp
          1 linux-cxl
          1 linux-perf-users
          1 target-devel
          1 linux-sh
          1 soc
          1 ocfs2-devel
          1 rust-for-linux
          1 ath10k
          1 nouveau
          1 linux-s390
          1 kernel-janitors
          1 sparclinux
          1 linux-staging
          1 linux-sunxi
          1 linux-coco
          1 regressions
          1 ksummit
          1 b43-dev
          1 nvdimm
          1 linux-nfc
          1 linux-bcachefs
          1 ath9k-devel
          1 ntfs3
          1 llvm
          1 fio
          1 iwd
          1 ell
          1 ofono
          1 yocto-meta-freescale
          1 openembedded-core
          1 yocto-toaster
          1 yocto-meta-arm
          1 yocto-docs
          1 bitbake-devel
          1 linux-patches
          1 yocto-meta-virtualization
          1 chrome-platform
          1 ntb
          1 yocto-meta-arago
          1 outreachy
          1 xenomai
          1 damon
          1 asahi
          1 openrisc
          1 intel-wired-lan
          1 kexec
          1 loongarch
          1 imx
          1 ath12k
          1 b4-sent
          1 linux-trace-kernel
          1 oe-linux-nfc
          1 oe-kbuild-all
          1 oe-chipsec
          1 batman
          1 intel-xe
          1 linux-um
          1 virtio-dev
          1 virtio-comment
          1 v9fs
          1 ecryptfs
          1 poky
          1 qemu-riscv
          1 linux-ia64
          1 cluster-devel
          1 grub-devel
          1 kbd
          1 autofs
          1 cpufreq
          1 dccp
          1 cgroups
          1 devicetree-spec
          1 devicetree-compiler
          1 initramfs
          1 kvm-ppc
          1 hail-devel
          1 kvm-ia64
          1 linux-8086
          1 kernel-testers
          1 linux-alpha
          1 linux-btrace
          1 linux-embedded
          1 linux-hams
          1 linux-hexagon
          1 linux-hotplug
          1 linux-laptop
          1 linux-sound
          1 trinity
          1 reiserfs-devel
          1 linux-metag
          1 linux-x25
          1 linux-nilfs
          1 lvs-devel
          1 netfilter
          1 linux-oxnas
          1 u-boot-amlogic
          1 lm-sensors
          1 acpica-devel
          1 perfbook
          1 virtio-fs
          1 smatch
          1 ../../../../../../fuego
          1 ../../../../../../wireless-regdb
          1 ../../../../../../igt-dev
          1 ../../../../../../powertop

git clone https://yhbt.net/lore/pub/scm/utils/kernel/module-init-tools/module-init-tools.git