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