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