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