]> git.ipfire.org Git - thirdparty/kmod.git/blob - NEWS
kmod 11
[thirdparty/kmod.git] / NEWS
1 kmod 11
2 =======
3
4 - Improvements to testsuite:
5 - Fix testsuite defining symbols twice on 32 bit systems
6 - Allow to check generated files against correct ones
7
8 - New features:
9 - libkmod now keeps a file opened after the first call to
10 kmod_module_get_{info,versions,symbols,dependency_symbols}. This
11 reduces signficantly the amount of time depmod tool takes to
12 execute. Particularly if compressed modules are used.
13 - Remove --with-rootprefix from build system. It was not a great idea
14 after all and should not be use since it causes more harm then
15 benefits.
16 - Hide --wait option on rmmod. This feature is being targeted for
17 removal from kernel. rmmod still accepts this option, but it's hidden
18 now: man page and usage() says nothing about it and if it's used,
19 user will get a 10s sleep. This way we can check and help if anyone
20 is using this feature.
21 - Refactor message logging on all tools, giving proper prefix, routing
22 everything to syslog when asked for, etc.
23
24 - Bug fixes:
25 - Fix parsing of modules.order when using compressed modules
26 - Usage messages go to stdout instead of stderr
27 - Fix memory leak in hash implementation
28
29 kmod 10
30 =======
31
32 - New features:
33 - Read coresize from /sys if supported
34
35 - Add flag to kmod_module_probe_insert() to apply blacklisting during
36 probe only if mod is an alias. Now modprobe uses this flag by default.
37 This is needed to fix a change in behavior regarding module-init-tools
38 and ultimately makes us loading a blacklisted module.
39
40 - Better formatting in man pages
41
42 - Add option to disable building man pages at build time
43
44 - Fixes in the testsuite and refactoring of LDPRELOAD'ed libraries
45
46 - Re-licensing testsuite as LGPL
47
48 kmod 9
49 ======
50
51 - Improvements to the testsuite:
52 - Check for correct handling of softdep loops
53 - Check for correct handling of install command loops
54
55 - Bug fixes:
56 - Fix build with compilers that don't support --gc-sections
57 - Handle errors when dealing with gzipped modules
58 - depmod now handles errors while writing indices, so it doesn't end up
59 with a corrupted index without telling the user
60
61 kmod 8
62 ======
63
64 - No new features, small bug fixes only.
65 - Fix a bug in "modprobe -c" output: be compatible with
66 module-init-tools
67
68 - Give a useful error message when init_module fails due to bad
69 parameter or unknown symbols
70
71 - Fix doc generation
72
73 kmod 7
74 ======
75
76 - Re-order dirs for configuration files to match the change in systemd and
77 udev: now the priority is:
78 1. /etc/modprobe.d
79 2. /run/modprobe.d
80 3. /lib/modprobe.d
81
82 - Fix setting CFLAGS/LDFLAGS in build system. This prevented us from not
83 allowing the user to set his preferences.
84
85 - Bug fixes:
86 - Return same error codes of module-init-tools when removing modules
87 with modprobe
88 - Fix builtin output in "--show-depends" when target kernel is not the
89 same of the running kernel
90 - 'modprobe -r' always look at all command line arguments
91 - Fix '-q' usage in modprobe
92
93 kmod 6
94 ======
95
96 - New API in libkmod:
97 - kmod_module_apply_filter(): a generic function to apply filters in a
98 list of modules. This deprecates the use of
99 kmod_module_get_filtered_blacklist()
100
101 - More tests in testsuite
102
103 - Add compatibility with uClibc again
104
105 - Lookup modules.builtin.bin to decide if a module is built in kernel
106
107 - Downgrade some log messages so we don't annoy people with useless messages
108
109 - Bug fixes:
110 - Flag --ignore-loaded was not being properly handled
111 - Infinite loop with softdeps
112 - Infinite loop with dumb user configuration with install commands
113 - Fix leak in index when there's a partial match
114
115 - Move repository and tarballs to kernel.org
116
117 kmod 5
118 ======
119
120 - Break libkmod's API to insert a module like modprobe does. It now accepts
121 extra an extra argument to print its action and acceptable flags were
122 sanitized.
123
124 - Share more code between modprobe and libkmod: using the new version of
125 kmod_module_probe_insert_module() it's possible to share a great amount of
126 code between modprobe and libkmod
127
128 - modprobe no longer works with paths: it only accepts module names and/or
129 aliases now.
130
131 - testsuite was added to repository, allowing automated tests to be run and
132 easing the way bugs are reproduced.
133
134 - modprobe: when dumping configuration ('-c' option) separate config
135 and indexes by adding a commented line between them.
136
137 - Fix bugs wrt normalizing aliases and module names
138
139 - Fix bug wrt inserting an alias that resolves to multiple modules: we should
140 not stop on the first error, but rather continue to try loading other
141 modules.
142
143 - Fix unaligned memory access in hash function, causing depmod to output wrong
144 information in ARMv5
145
146 - Fix man page build and install: now they are only installed if tools are
147 enabled
148
149 kmod 4
150 ======
151
152 - New APIs in libkmod to:
153 - Get configuration lists: blacklists, install commands, remove
154 commands, aliases, options and softdeps
155 - Dump indexes
156
157 - Several bugs fixed in libkmod, modprobe, depmod and modinfo
158
159 - API documentation: if configure with run with --enable-gtk-doc, the API doc
160 will be generated by make. Gtk-doc is required for that.
161
162 - Man pages are built, which replace man pages from module-init-tools
163
164 - 'include' and 'config' options in *.conf files were deprecated
165
166 - configure is not run by autogen.sh. Instead, a common set of options is
167 printed. If you are hacking on kmod, consider using bootstrap-configure
168 script.
169
170 - 'modprobe -c' works as expected now. As opposed to module-init-tools, it
171 dumps the parsed configuration, not only the file contents.
172
173 kmod 3
174 ======
175
176 - New APIs in libkmod to:
177 - Get symbols from module, parsing the ELF section
178 - Get dependency symbols
179 - Check if resources are still valid or if libkmod must be reloaded
180 - Insert module like modprobe, checking (soft-)dependencies, commands,
181 blacklist. It can run commands by itself and to call a callback
182 function.
183
184 - Support to load modules compressed with xz
185
186 - Tools are now bundled together in a single tool called kmod. It can be
187 called using symlinks with the same names as tools from module-init-tools.
188 E.g: /usr/bin/lsmod -> /usr/bin/kmod. With this we are aiming to complete a
189 1:1 replacement of module-init-tools.
190
191 - The only missing tool, depmod, was added to kmod together with the necessary
192 APIs in libkmod.
193
194 - If a program using libkmod runs for a long time, as for example udev, it must
195 check if it doesn't have to re-load libkmod. A new helper function was added
196 in libkmod to check if context is still valid and udev is already using it.
197
198 - An 'unaligned access' bug was fixed. So those architecture that does not
199 handle unaligned access can use kmod, too.
200
201 kmod 2
202 ======
203
204 Some bugs fixed: the worst of them was with an infinite loop when an alias
205 matched more than one module.
206
207 - New APIs in libkmod to:
208 - Get soft dependencies
209 - Get info from module files parsing ELF
210 - Get modversions from files parsing ELF
211
212 - Support to load gzipped kernel modules: kmod can be compiled with support to
213 gzipped modules by giving the --enable-zlib flag
214
215 - Support to forcefully load modules, both vermagic and modversion
216
217 - Support to force and nowait removal flags
218
219 - Configuration files are parsed in the same order as modprobe: files are
220 sorted alphabetically (independently of their dir) and files with the same
221 name obey a precedence order
222
223 - New tool: kmod-modinfo
224
225 - kmod-modprobe gained several features to be a 1:1 replacement for modprobe.
226 The only missing things are the options '--showconfig' and '-t / -l'. These
227 last ones have been deprecated long ago and they will be removed from
228 modprobe. A lot of effort has been put on kmod-modprobe to ensure it
229 maintains compabitility with modprobe.
230
231 - linux-modules@vger.kernel.org became the official mailing list for kmod
232
233 kmod 1
234 ======
235
236 First version of kmod and its library, libkmod.
237
238 In the libkmod it's currently possible to:
239 - List modules currently loaded
240 - Get information about loaded modules such as initstate, refcount,
241 holders, sections, address and size
242 - Lookup modules by alias, module name or path
243 - Insert modules: options from configuration and extra options can be
244 passed, but flags are not implemented, yet
245 - Remove modules
246 - Filter list of modules using blacklist
247 - For each module, get the its list of options and install/remove
248 commands
249 - Indexes can be loaded on startup to speedup lookups later
250
251 Tools provided with the same set of options as in module-init-tools:
252 - kmod-lsmod
253 - kmod-insmod
254 - kmod-rmmod
255 - kmod-modprobe, with some functionality still missing (use of softdep,
256 dump configuration, show modversions)