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