]> git.ipfire.org Git - thirdparty/kmod.git/blame - NEWS
kmod 5
[thirdparty/kmod.git] / NEWS
CommitLineData
e479598b
LDM
1kmod 5
2======
3
4- Break libkmod's API to insert a module like modprobe does. It now accepts
5 extra an extra argument to print its action and acceptable flags were
6 sanitized.
7
8- Share more code between modprobe and libkmod: using the new version of
9 kmod_module_probe_insert_module() it's possible to share a great amount of
10 code between modprobe and libkmod
11
12- modprobe no longer works with paths: it only accepts module names and/or
13 aliases now.
14
15- testsuite was added to repository, allowing automated tests to be run and
16 easing the way bugs are reproduced.
17
18- modprobe: when dumping configuration ('-c' option) separate config
19 and indexes by adding a commented line between them.
20
21- Fix bugs wrt normalizing aliases and module names
22
23- Fix bug wrt inserting an alias that resolves to multiple modules: we should
24 not stop on the first error, but rather continue to try loading other
25 modules.
26
27- Fix unaligned memory access in hash function, causing depmod to output wrong
28 information in ARMv5
29
30- Fix man page build and install: now they are only installed if tools are
31 enabled
32
b53b7e32
LDM
33kmod 4
34======
35
36- New APIs in libkmod to:
37 - Get configuration lists: blacklists, install commands, remove
38 commands, aliases, options and softdeps
39 - Dump indexes
40
41- Several bugs fixed in libkmod, modprobe, depmod and modinfo
42
43- API documentation: if configure with run with --enable-gtk-doc, the API doc
44 will be generated by make. Gtk-doc is required for that.
45
46- Man pages are built, which replace man pages from module-init-tools
47
48- 'include' and 'config' options in *.conf files were deprecated
49
50- configure is not run by autogen.sh. Instead, a common set of options is
51 printed. If you are hacking on kmod, consider using bootstrap-configure
52 script.
53
54- 'modprobe -c' works as expected now. As opposed to module-init-tools, it
55 dumps the parsed configuration, not only the file contents.
56
b30a71b8
LDM
57kmod 3
58======
59
60- New APIs in libkmod to:
61 - Get symbols from module, parsing the ELF section
62 - Get dependency symbols
63 - Check if resources are still valid or if libkmod must be reloaded
64 - Insert module like modprobe, checking (soft-)dependencies, commands,
65 blacklist. It can run commands by itself and to call a callback
66 function.
67
68- Support to load modules compressed with xz
69
70- Tools are now bundled together in a single tool called kmod. It can be
71 called using symlinks with the same names as tools from module-init-tools.
72 E.g: /usr/bin/lsmod -> /usr/bin/kmod. With this we are aiming to complete a
73 1:1 replacement of module-init-tools.
74
75- The only missing tool, depmod, was added to kmod together with the necessary
76 APIs in libkmod.
77
78- If a program using libkmod runs for a long time, as for example udev, it must
79 check if it doesn't have to re-load libkmod. A new helper function was added
80 in libkmod to check if context is still valid and udev is already using it.
81
82- An 'unaligned access' bug was fixed. So those architecture that does not
83 handle unaligned access can use kmod, too.
84
acc18b14
LDM
85kmod 2
86======
87
88Some bugs fixed: the worst of them was with an infinite loop when an alias
89matched more than one module.
90
91- New APIs in libkmod to:
92 - Get soft dependencies
93 - Get info from module files parsing ELF
94 - Get modversions from files parsing ELF
95
96- Support to load gzipped kernel modules: kmod can be compiled with support to
97 gzipped modules by giving the --enable-zlib flag
98
99- Support to forcefully load modules, both vermagic and modversion
100
101- Support to force and nowait removal flags
102
103- Configuration files are parsed in the same order as modprobe: files are
104 sorted alphabetically (independently of their dir) and files with the same
105 name obey a precedence order
106
107- New tool: kmod-modinfo
108
109- kmod-modprobe gained several features to be a 1:1 replacement for modprobe.
110 The only missing things are the options '--showconfig' and '-t / -l'. These
111 last ones have been deprecated long ago and they will be removed from
112 modprobe. A lot of effort has been put on kmod-modprobe to ensure it
113 maintains compabitility with modprobe.
114
115- linux-modules@vger.kernel.org became the official mailing list for kmod
116
89eba7cb
LDM
117kmod 1
118======
ecd40ee4 119
89eba7cb
LDM
120First version of kmod and its library, libkmod.
121
122In the libkmod it's currently possible to:
123 - List modules currently loaded
124 - Get information about loaded modules such as initstate, refcount,
125 holders, sections, address and size
126 - Lookup modules by alias, module name or path
127 - Insert modules: options from configuration and extra options can be
128 passed, but flags are not implemented, yet
129 - Remove modules
130 - Filter list of modules using blacklist
131 - For each module, get the its list of options and install/remove
132 commands
133 - Indexes can be loaded on startup to speedup lookups later
134
135Tools provided with the same set of options as in module-init-tools:
136 - kmod-lsmod
137 - kmod-insmod
138 - kmod-rmmod
139 - kmod-modprobe, with some functionality still missing (use of softdep,
140 dump configuration, show modversions)