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