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