blob: a99d9baaa73f6d9ba366549706498473dee5b0c3 [file] [log] [blame]
Lucas De Marchi62081c02012-06-19 19:46:53 -03001kmod 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
Lucas De Marchi46684bc2012-04-19 11:21:00 -030014kmod 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
Lucas De Marchi8885ced2012-03-19 08:23:14 -030026kmod 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
Lucas De Marchi26906fe2012-03-02 22:34:36 -030047kmod 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
Lucas De Marchie4795982012-02-06 20:34:33 -020071kmod 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
Lucas De Marchib53b7e32012-01-16 16:53:04 -0200103kmod 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
Lucas De Marchib30a71b2012-01-04 22:27:58 -0200127kmod 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
Lucas De Marchiacc18b12011-12-20 23:48:46 -0200155kmod 2
156======
157
158Some bugs fixed: the worst of them was with an infinite loop when an alias
159matched 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
Lucas De Marchi89eba7c2011-12-15 15:43:58 -0200187kmod 1
188======
Lucas De Marchiecd40ee2011-11-21 12:35:15 -0200189
Lucas De Marchi89eba7c2011-12-15 15:43:58 -0200190First version of kmod and its library, libkmod.
191
192In 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
205Tools 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)