blob: b27ec54a94d8470c00e9542d46661991a2978848 [file] [log] [blame]
Lucas De Marchib53b7e32012-01-16 16:53:04 -02001kmod 4
2======
3
4- New APIs in libkmod to:
5 - Get configuration lists: blacklists, install commands, remove
6 commands, aliases, options and softdeps
7 - Dump indexes
8
9- Several bugs fixed in libkmod, modprobe, depmod and modinfo
10
11- API documentation: if configure with run with --enable-gtk-doc, the API doc
12 will be generated by make. Gtk-doc is required for that.
13
14- Man pages are built, which replace man pages from module-init-tools
15
16- 'include' and 'config' options in *.conf files were deprecated
17
18- configure is not run by autogen.sh. Instead, a common set of options is
19 printed. If you are hacking on kmod, consider using bootstrap-configure
20 script.
21
22- 'modprobe -c' works as expected now. As opposed to module-init-tools, it
23 dumps the parsed configuration, not only the file contents.
24
Lucas De Marchib30a71b2012-01-04 22:27:58 -020025kmod 3
26======
27
28- New APIs in libkmod to:
29 - Get symbols from module, parsing the ELF section
30 - Get dependency symbols
31 - Check if resources are still valid or if libkmod must be reloaded
32 - Insert module like modprobe, checking (soft-)dependencies, commands,
33 blacklist. It can run commands by itself and to call a callback
34 function.
35
36- Support to load modules compressed with xz
37
38- Tools are now bundled together in a single tool called kmod. It can be
39 called using symlinks with the same names as tools from module-init-tools.
40 E.g: /usr/bin/lsmod -> /usr/bin/kmod. With this we are aiming to complete a
41 1:1 replacement of module-init-tools.
42
43- The only missing tool, depmod, was added to kmod together with the necessary
44 APIs in libkmod.
45
46- If a program using libkmod runs for a long time, as for example udev, it must
47 check if it doesn't have to re-load libkmod. A new helper function was added
48 in libkmod to check if context is still valid and udev is already using it.
49
50- An 'unaligned access' bug was fixed. So those architecture that does not
51 handle unaligned access can use kmod, too.
52
Lucas De Marchiacc18b12011-12-20 23:48:46 -020053kmod 2
54======
55
56Some bugs fixed: the worst of them was with an infinite loop when an alias
57matched more than one module.
58
59- New APIs in libkmod to:
60 - Get soft dependencies
61 - Get info from module files parsing ELF
62 - Get modversions from files parsing ELF
63
64- Support to load gzipped kernel modules: kmod can be compiled with support to
65 gzipped modules by giving the --enable-zlib flag
66
67- Support to forcefully load modules, both vermagic and modversion
68
69- Support to force and nowait removal flags
70
71- Configuration files are parsed in the same order as modprobe: files are
72 sorted alphabetically (independently of their dir) and files with the same
73 name obey a precedence order
74
75- New tool: kmod-modinfo
76
77- kmod-modprobe gained several features to be a 1:1 replacement for modprobe.
78 The only missing things are the options '--showconfig' and '-t / -l'. These
79 last ones have been deprecated long ago and they will be removed from
80 modprobe. A lot of effort has been put on kmod-modprobe to ensure it
81 maintains compabitility with modprobe.
82
83- linux-modules@vger.kernel.org became the official mailing list for kmod
84
Lucas De Marchi89eba7c2011-12-15 15:43:58 -020085kmod 1
86======
Lucas De Marchiecd40ee2011-11-21 12:35:15 -020087
Lucas De Marchi89eba7c2011-12-15 15:43:58 -020088First version of kmod and its library, libkmod.
89
90In the libkmod it's currently possible to:
91 - List modules currently loaded
92 - Get information about loaded modules such as initstate, refcount,
93 holders, sections, address and size
94 - Lookup modules by alias, module name or path
95 - Insert modules: options from configuration and extra options can be
96 passed, but flags are not implemented, yet
97 - Remove modules
98 - Filter list of modules using blacklist
99 - For each module, get the its list of options and install/remove
100 commands
101 - Indexes can be loaded on startup to speedup lookups later
102
103Tools provided with the same set of options as in module-init-tools:
104 - kmod-lsmod
105 - kmod-insmod
106 - kmod-rmmod
107 - kmod-modprobe, with some functionality still missing (use of softdep,
108 dump configuration, show modversions)