5 - kmod static-nodes doesn't fail if modules.devname isn't available
6 - Fix getting boolean parameter from kernel cmdline in case the value
8 - Fix some mkdir_p() corner cases (used in testsuite and static-nodes)
11 - kmod static-nodes creates parent directories if given a -o option
12 - kmod binary statically links to libkmod - if distro is only interested
13 in the kmod tool (for example in an initrd) it can refrain from
14 installing the library
15 - Add shell completion for kmod tool
21 - Fix some format strings
22 - Protect against NULL being passed around to index
23 - Avoid calling syscall() with -1 when finit_module() is not available,
24 since this doesn't always work
25 - Fix not being able to remove alias due to checking the module's
27 - Minor fixes and refactors
30 - Improve libkmod documentation, particularly on how flags are dealt
32 - Remove ability to build a static libkmod
33 - Add static-nodes command to kmod that parses modules.devname
34 generating output in useful formats
40 - Add the long option --symbol-prefix option to depmod (it was absent)
42 - Don't abort if there's a bogus line in configuration file like "alias
43 psmouse off". Some distros are carrying this since the days of
47 - Add support for finit_module(2). If the module is load straight from
48 the disk and without compression we use finit_module() syscall when
49 available, falling back to init_module() otherwise
50 - kmod_module_get_info() also returns the signature if the module is
51 signed and modinfo uses it
52 - Use secure_getenv if available
53 - rmmod understands builtin modules, just like modprobe does
54 - Improve compatibility with musl-libc
55 - Test cases exit with success when receiving a signal if they are
62 - Fix removing vermagic from module when told to force load a module
63 - Fix removing __versions section when told to force load a module: we
64 need to mangle the section header, not the section.
65 - modinfo no longer fails while loading a module from file when path
66 contains ".ko" substring
71 - Improvements to testsuite:
72 - Fix testsuite defining symbols twice on 32 bit systems
73 - Allow to check generated files against correct ones
76 - libkmod now keeps a file opened after the first call to
77 kmod_module_get_{info,versions,symbols,dependency_symbols}. This
78 reduces signficantly the amount of time depmod tool takes to
79 execute. Particularly if compressed modules are used.
80 - Remove --with-rootprefix from build system. It was not a great idea
81 after all and should not be use since it causes more harm then
83 - Hide --wait option on rmmod. This feature is being targeted for
84 removal from kernel. rmmod still accepts this option, but it's hidden
85 now: man page and usage() says nothing about it and if it's used,
86 user will get a 10s sleep. This way we can check and help if anyone
87 is using this feature.
88 - Refactor message logging on all tools, giving proper prefix, routing
89 everything to syslog when asked for, etc.
92 - Fix parsing of modules.order when using compressed modules
93 - Usage messages go to stdout instead of stderr
94 - Fix memory leak in hash implementation
100 - Read coresize from /sys if supported
102 - Add flag to kmod_module_probe_insert() to apply blacklisting during
103 probe only if mod is an alias. Now modprobe uses this flag by default.
104 This is needed to fix a change in behavior regarding module-init-tools
105 and ultimately makes us loading a blacklisted module.
107 - Better formatting in man pages
109 - Add option to disable building man pages at build time
111 - Fixes in the testsuite and refactoring of LDPRELOAD'ed libraries
113 - Re-licensing testsuite as LGPL
118 - Improvements to the testsuite:
119 - Check for correct handling of softdep loops
120 - Check for correct handling of install command loops
123 - Fix build with compilers that don't support --gc-sections
124 - Handle errors when dealing with gzipped modules
125 - depmod now handles errors while writing indices, so it doesn't end up
126 with a corrupted index without telling the user
131 - No new features, small bug fixes only.
132 - Fix a bug in "modprobe -c" output: be compatible with
135 - Give a useful error message when init_module fails due to bad
136 parameter or unknown symbols
143 - Re-order dirs for configuration files to match the change in systemd and
144 udev: now the priority is:
149 - Fix setting CFLAGS/LDFLAGS in build system. This prevented us from not
150 allowing the user to set his preferences.
153 - Return same error codes of module-init-tools when removing modules
155 - Fix builtin output in "--show-depends" when target kernel is not the
156 same of the running kernel
157 - 'modprobe -r' always look at all command line arguments
158 - Fix '-q' usage in modprobe
163 - New API in libkmod:
164 - kmod_module_apply_filter(): a generic function to apply filters in a
165 list of modules. This deprecates the use of
166 kmod_module_get_filtered_blacklist()
168 - More tests in testsuite
170 - Add compatibility with uClibc again
172 - Lookup modules.builtin.bin to decide if a module is built in kernel
174 - Downgrade some log messages so we don't annoy people with useless messages
177 - Flag --ignore-loaded was not being properly handled
178 - Infinite loop with softdeps
179 - Infinite loop with dumb user configuration with install commands
180 - Fix leak in index when there's a partial match
182 - Move repository and tarballs to kernel.org
187 - Break libkmod's API to insert a module like modprobe does. It now accepts
188 extra an extra argument to print its action and acceptable flags were
191 - Share more code between modprobe and libkmod: using the new version of
192 kmod_module_probe_insert_module() it's possible to share a great amount of
193 code between modprobe and libkmod
195 - modprobe no longer works with paths: it only accepts module names and/or
198 - testsuite was added to repository, allowing automated tests to be run and
199 easing the way bugs are reproduced.
201 - modprobe: when dumping configuration ('-c' option) separate config
202 and indexes by adding a commented line between them.
204 - Fix bugs wrt normalizing aliases and module names
206 - Fix bug wrt inserting an alias that resolves to multiple modules: we should
207 not stop on the first error, but rather continue to try loading other
210 - Fix unaligned memory access in hash function, causing depmod to output wrong
213 - Fix man page build and install: now they are only installed if tools are
219 - New APIs in libkmod to:
220 - Get configuration lists: blacklists, install commands, remove
221 commands, aliases, options and softdeps
224 - Several bugs fixed in libkmod, modprobe, depmod and modinfo
226 - API documentation: if configure with run with --enable-gtk-doc, the API doc
227 will be generated by make. Gtk-doc is required for that.
229 - Man pages are built, which replace man pages from module-init-tools
231 - 'include' and 'config' options in *.conf files were deprecated
233 - configure is not run by autogen.sh. Instead, a common set of options is
234 printed. If you are hacking on kmod, consider using bootstrap-configure
237 - 'modprobe -c' works as expected now. As opposed to module-init-tools, it
238 dumps the parsed configuration, not only the file contents.
243 - New APIs in libkmod to:
244 - Get symbols from module, parsing the ELF section
245 - Get dependency symbols
246 - Check if resources are still valid or if libkmod must be reloaded
247 - Insert module like modprobe, checking (soft-)dependencies, commands,
248 blacklist. It can run commands by itself and to call a callback
251 - Support to load modules compressed with xz
253 - Tools are now bundled together in a single tool called kmod. It can be
254 called using symlinks with the same names as tools from module-init-tools.
255 E.g: /usr/bin/lsmod -> /usr/bin/kmod. With this we are aiming to complete a
256 1:1 replacement of module-init-tools.
258 - The only missing tool, depmod, was added to kmod together with the necessary
261 - If a program using libkmod runs for a long time, as for example udev, it must
262 check if it doesn't have to re-load libkmod. A new helper function was added
263 in libkmod to check if context is still valid and udev is already using it.
265 - An 'unaligned access' bug was fixed. So those architecture that does not
266 handle unaligned access can use kmod, too.
271 Some bugs fixed: the worst of them was with an infinite loop when an alias
272 matched more than one module.
274 - New APIs in libkmod to:
275 - Get soft dependencies
276 - Get info from module files parsing ELF
277 - Get modversions from files parsing ELF
279 - Support to load gzipped kernel modules: kmod can be compiled with support to
280 gzipped modules by giving the --enable-zlib flag
282 - Support to forcefully load modules, both vermagic and modversion
284 - Support to force and nowait removal flags
286 - Configuration files are parsed in the same order as modprobe: files are
287 sorted alphabetically (independently of their dir) and files with the same
288 name obey a precedence order
290 - New tool: kmod-modinfo
292 - kmod-modprobe gained several features to be a 1:1 replacement for modprobe.
293 The only missing things are the options '--showconfig' and '-t / -l'. These
294 last ones have been deprecated long ago and they will be removed from
295 modprobe. A lot of effort has been put on kmod-modprobe to ensure it
296 maintains compabitility with modprobe.
298 - linux-modules@vger.kernel.org became the official mailing list for kmod
303 First version of kmod and its library, libkmod.
305 In the libkmod it's currently possible to:
306 - List modules currently loaded
307 - Get information about loaded modules such as initstate, refcount,
308 holders, sections, address and size
309 - Lookup modules by alias, module name or path
310 - Insert modules: options from configuration and extra options can be
311 passed, but flags are not implemented, yet
313 - Filter list of modules using blacklist
314 - For each module, get the its list of options and install/remove
316 - Indexes can be loaded on startup to speedup lookups later
318 Tools provided with the same set of options as in module-init-tools:
322 - kmod-modprobe, with some functionality still missing (use of softdep,
323 dump configuration, show modversions)