announce: module-init-tools to be replaced with new library-based tools
[module-init-tools.git] / ChangeLog
blobe09908921c164c059e342299be4f01bdb5dd7137
1 3.16 Version:
2 o build: missed a top-level cached copy of modprobe.d.5 which broke builds
4 3.15 Version:
5 o build: properly fix man page creation symlink handling
6 o doc: remove invalid multiple output files from docbook markup
8 3.14 Version:
9 o build: fix the build process to be more modern
10 o cleanup: code formatting, documentation, and FSF mailing address corrections
11 o depmod: fix code documentation for various functions
12 o doc: various cleanups to documentation for depmod
13 o modprobe: fix code documentation for various functions
14 o todo: update various todo items for depmod and modprobe, and overall also
16 3.13 Version:
17 o cleanups: localize various functions and variables avoiding export (Mike)
18 o depmod: add support for --symbol-prefix (e.g. underscore on Blackfin) (Mike)
19 o depmod: support x.y kernels rather than x.y.z (e.g. Linux 3.0) (Michal)
20 o modprobe: blacklist modules on the kernel commandline (Tom)
21 o modprobe: use more than one config directory (e.g. /run/modprobe.d) (Tom)
22 o testsuite: correctly export TEST_ENDIAN and TEST_BITS (Keegan)
24 3.12 Version:
25 o build: fix for Makefile problems in ax_enable_builddir (Alan)
26 o cleanups: various memory leak cleanups and additional leak tests (Alan)
27 o depmod: create modules.devname containing module-provided devnames (Kay)
28 o docs: fix SGML documentation build problems
29 o modprobe: softdeps allow additional modules to be loaded (Andreas)
30 o modprobe: ignore custom "install" commands if we can't detect sucess on load
31 o modprobe: don't run remove commands for modules that are not loaded (Alan)
32 o testsuite: various fixes for new features and cleanups (Alan)
34 3.11 Version:
35 o modinfo: Fix crash if module recently deleted from system (Ozan)
36 o modprobe: Handle built-in modules (Michal)
38 3.10 Version:
39 o modprobe: cleanup some option handling (Alan)
40 o testsuite: Rebuild all the test modules (32/64/be/le) to avoid bitrot
42 3.9 Version:
43 o NOTE: tools now fail loudly in the case of non-ELF files being used
44 o elfops: rename moduleops to elfops, remove struct module from it (Andreas)
45 o depmod: various symbol lookup and dependency calculation fixes (Andreas)
46 o doc: various cleanup of man pages (Robby)
48 3.8 Version:
49 o doc: Fix build documentation
50 o zlib: allow dynamic linking (Michal)
53 3.7 Version:
54 o NOTE: *** support for pre-2.6 kernels was removed in this version ***
55 o bindex: modules.order support and fallback in case trie is outdated (Alan)
56 o depmod: fix is_higher_priority() (Michal)
57 o depmod: officially disallow specifying modules using relative paths (Alan)
58 o lib: fix underscore conversion (Alan)
59 o modprobe: parse empty options correctly
60 o testsuite: lots of random fixes and cleanups
62 3.6 Version:
63 o depmod: make building map files optional (does anyone use them anyway?)
64 o demod: use shortened path names in index files (relative paths used)
65 o modprobe: use /sys/module rather than /proc/modules (Andreas)
66 o modprobe: remove legacy support for pre-2.6 kernels (Andreas)
67 o modprobe: check that asprintf() calls actually allocate (Andreas)
69 3.5 Version:
70 o binary indexing file support (Alan Jenkins)
71 o depmod: fix some memory leaks, reduce overhead (Alan Jenkins)
72 o modprobe: fix some memory leaks, reduce overhead (Alan Jenkins)
73 o rmmod: fix some memory leaks (Alan Jenkins)
74 o testsuite: update the tests (Alan Jenkins)
75 o various other fixes
77 3.4 Version:
78 o modprobe: add ability to parse kernel command line for module options.
80 3.3 Version:
81 o modinfo: add a kernel parameter for info on modules used by other kernels.
82 o lsmod: modprobe: Comment fixes (thanks Satoru Takeuchi)
83 o modprobe: don't mangle - in wildcards within [ ] (patch from Sam Morris)
84 o new mintainer: Jon Masters <jcm@jonmasters.org>
85 o switch to using git for project maintainance
86 o misc. memory leakage/build/docs fixes (Luiz Fernando N. Capitulino)
87 o correct error handling and insmod.static handling (Tobias Stoeckmann)
88 o various other fixes to build/development process.
89         
90 3.2.2 Version:
91 o depmod: Try to generate correct input tables for 2.6.14 and above (thanks to report from Scott James Remnant)
93 3.2.1 Version:
94 o depmod: macio device support (patch from Jeff Mahoney)
96 3.2 Version:
97 o depmod: serio support (patch from Dmitry Torokhov)
98 o modprobe: Fix load by symbol (thanks to Nathan Lutchansky)
99 o modinfo: Handle parmtype: for 2.6.11
100 o depmod: handle other endian (already handle 64 & 32 bit)
101 o modprobe, rmmod, depmod: check for OOM (patch from Andreas Gruenbacher)
102 o depmod: don't skip first argument for explicit files (patch from Andrew Snare)
103 o depmod: handle relative paths in explicit files
104 o modprobe: load all matching aliases (idea from Dominik Brodowski)
105 o modprobe: new blacklist keyword (patch from Erik van Konijnenburg)
106 o CODING: new document describing testsuite
107 o Makefile: include testsuite inside all source releases
108 o modprobe: slow down modprobe with gratuitous stat for Reiser4 braindamage (Reported by Gentoo)
109 o Makefile.am: Use @mandir@, unless it's just prefix/mandir (discussion with Jeremy C. Reed)
110 o Added $CMDLINE_OPTS substitution to install commands.
111 o depmod: don't explode on invalid modules (patch from Bill Nottingham)
112 o modprobe: unlock fd when module already in kernel (either a race, or a rename) (patch from Oliver Blin, reworked)
113 o modprobe.conf.sgml: docbook2man uses last refentrytitle for output file (fixes endusers needing docbook utils for build)
114 o modprobe: fix gcc-2.95 compilation by declaring va_list at top of warn() (thanks Rafiq Ismail)
115 o modprobe: doco fix: -a takes module names, not wildcards.
116 o depmod, modprobe: gcc 4 signedness warning fixes (thanks to Marco d'Itri)
117 o modprobe: lock before seeing if module in kernel (might be doing init now!)
118 o testsuite: use --log-fd (valgrind 3) not --logfile-fd.
119 o modprobe: spin to avoid parallel load attempts when lock failed.  Fixes "unknown symbols for ehci_hcd" bug with parallel udev on ro root.  (Patch from Pozsar Balazs)
121 3.1 Version:
122 o modprobe, rmmod: Fix format string (thanks to Sergey Vlasov)
123 o modinfo: support -n, and by default display filename.
124 o modprobe: allow -o with -r to remove renamed modules with deps correct.
125 o modprobe: fall back to /etc/modprobe.d if fail on /etc/modprobe.conf.
126 o modprobe: allow config files to be directories, and recurse.
127 o modprobe: Fix quoting of cmdline options.
128 o insmod: remove quote handling, since we didn't do it right.
129 o depmod: ignore symbols (eg. PCI ids) in BSS (patch from Marc Boucher).
130 o depmod: exit after -h.
131 o modprobe: file locking on modules to avoid spurious errors if they race (report from Marc Boucher)
132 o modprobe: Fall back to read-only (no locking) if rw open on module fails
133 o depmod: updates/ dir overrides (for RH, thanks to Thomas Vander Stichele)
134 o depmod: don't follow symlinks, broken in updates/ rework (thanks to Marco d'Itri)
135 o Bashisms removed (thanks to David Weinehall)
136 o modinfo: use modules.dep, not manual search, so we get updates/ right.
137 o Fix modinfo manpage missing word (thanks Debian)
138 o modprobe.devfs: added apm_bios devices (thanks Debian)
139 o modprobe: don't fatal() on missing includes (thanks Debian)
140 o modprobe: install/remove commands must override modules.alias file.
141 o Fix modprobe man page to document --show-depends and install commands (reported by Eric C. Cooper)
142 o Fix modprobe man page: -t -a removed in 3.0 (report from Thomas Hood)
143 o Document modprobe.d in modprobe(.conf) man page (report from Stefan Richter)
144         
145 3.0 Version:
146 o Update missing script (report from Robin Grindley)
147 o "depmod <version>" implies -a (report from Robin Grindley)
148 o modprobe: remove -t without -l: it didn't work, so obviously noone was
149         using it.
150 o modprobe: Allow "-a mod1 mod2" (report from Frédéric L. W. Meunier).
151 o modprobe: Fixed short alloc in merge_args.
152 o testsuite: run everything under valgrind.
153 o modprobe: change tabs to spaces in module parameters.
154 o modprobe: define STT_REGISTER if not defined (report Bill Nottingham)
155 o modinfo: -p means "parm" not "param" (report from Peter Cordes)
156 o Rmmod man page description is wrong (report from Pawel)
157 o modprobe: don't access off end of argv[] when '-c' used.
158 o depmod: merged Takashi Iwai's isapnp table code (with changes).
159 o modprobe.conf.sgml: Indicate that command is a shell command.
160 o rmmod: exit with non-zero on any failure (thanks to Serue Hallyen)
161 o generate-modprobe.conf: fix up char and block aliases
162         (thanks to OGAWA Hirofumi)
163 o modprobe: Fix warning about passing (and fix that fix thanks to Keith Moore)
164 o depmod: merged Andrey Borzenkov's input table code (with changes).
165 o modprobe: install/remove commands can be wildcards, set $MODPROBE_MODULE.
166 o modprobe: inserting already-inserted is fine, as is removing already-removed.
167 o modprobe: Add --first-time for old behavior
168 o generate-modprobe.conf: Use --first-time for above and below commands.
169 o FAQ: Fix generate-modprobe.conf question (report from Norman Diamond)
170 o generate-modprobe.conf: Don't complain about common (no longer required) options
171 o generate-modprobe.conf: Prevent "modprobe.old: command not found" message.
172 o modprobe: fix semantics of -t to match any dir part (thanks to Paul Whittaker)
173 o testsuite: test-rmmod/05noproc.sh relies on not being root (thanks to Pierre)
174 o modprobe: handle infinite recursion caused by already-inserted, where
175         dependency has install command but is already installed (thanks to Trond Myklebust)
176 o configure.in: remove -Wcast-align, gives warnings on IA64 (thanks to
177         Andrew Morton). 
178 o install-with-care: don't hardcode /usr/bin/install (thanks Pierre)
179 o generate-modprobe.conf: handle "add" lines in modules.conf
180 o modprobe: -q now only means "silently succeed on unknown modules".
181 o modprobe: update usage message
182 o modprobe: flush stdout on verbose, so we always print before children.
183 o runtests: continue after (optional) test name.
184 o Makefile.am: moveold checks for already having been run.
185 o depmod: Handle -C correctly (thanks Richard Hirst)
186 o Makefile.am: "make check" succeeds if no testcase, or no valgrind.
187 o depmod: Remove non-working __start and __stop logic, and ignore unknown
188         "_GLOBAL_OFFSET_TABLE_" for s390 (patch from Arnd Bergmann)
189 o modprobe: revert "innocuous change" to skip rest of depends on insertion,
190         if this module is already in kernel.  But in a depends on b and c,
191         and b is already inserted, we should not skip inserting c!
192 o configure.in: remove unused $(stat_zlib_flags)
193 o Makefile.am: build insmod.static properly with --enable-zlib
194         (thanks to Andy Wang)
195 o generate-modprobe.conf: handle "add alias xxx off" correctly
196         (thanks to Martin Schlemmer)
197 o modprobe.c: revert -q behaviour: silent, but exit code 1.
198         
199 0.9.14 Version:
200 o Don't use syscall macros, use libc wrappers instead
201   (patch from Marian Jancar)
202 o insmod: Allow module from stdin (eg. zcat foo.ko.gz | insmod -).
203 o depmod: Remove old compat code to recognise ".o" and ".klm" as modules.
204 o depmod: Implement -A properly (zlib is too slow).
205 o depmod: zlib support.
206 o modinfo: zlib support.
207 o modinfo: handle - vs _ when searching for module.
208 o modprobe: zlib support.
209 o modprobe: remove unused fd var (patch from Andrey Borzenkov)
210 o depmod: fix .ko.gz short names in tables (patch from Andrey Borzenkov)
211 o configure.in: --moddir (patch from Lucas Correia Villa Real, GoboLinux)
212 o modprobe: -r with multiple args (as per modutils) (bug from Harald Dunkel)
213 o modprobe: Make -q ignore unknown modules
214 o modprobe: Make -q still set exit value (bug from Jamie Lokier).
215         
216 0.9.13 Version:
217 o generate-modprobe.conf: Add --stdin (patch from Bill Nottingham)
218 o README: Spelling fix (patch from Alex Goddard)
219 o modprobe: print options out after modules for --show-depends, and
220         prefix with "insmod" (in case we want to show commands later).
221 o modprobe: make --show-depends show commands (prefix: install).
222 o Always use syscall() in backwards_compat.c: other archs want it.
223 o depmod.c: Fix fd leak for deep dirs (patch from Arjan van de Ven)
224 o modprobe.sgml: document -o/--name option.
225 o modprobe: include files aliases should override: modprobe.devfs wants this
226         so users can override (patch from Martin Schlemmer)
227 o depmod: fix handling of bad args (reported by Gorik Van Steenberge)
228 o insmod: do --version/-V
229 o depmod: fix "all modules are inside loop" corner case
230 o depmod: Temporary file then move (patch from Andrey Borzenkov).
231 o generate-modprobe.conf: Added space to PREINSTALL and PREREMOVE
232         before semicolon (Patch from Marian Jancar)
233 o insmod: Backwards compat for insmod.static, too (Thanks to Marian Jancar)
234         
235 0.9.12 Version:
236 o modprobe.8: Document --set-version (Debian bug #187123, thanks Herbert)
237 o rmmod.8: Fix raw lsmod(8) references (use proper sgml markup).
238 o modinfo.c, rmmod.c: Fix includes for when no backwards compat
239         (Thanks to Bill Nottingham).
240 o Makefile.am: lsmod.old symlink from /bin to /sbin in move-old-targets
241 o depmod: sparc gcc register variable fake undefined fix.
242 o Makefile.am: Handle Mandrake's .bz2 man pages (Thanks to Paolo Giarrusso)
243 o depmod: backwards compat at 2.5.48, not 2.5.47 (Thanks to Martin Schimschak)
244 o depmod: ieee1394 support (Thanks to Ben Collins)
245 o depmod: updated test suite for ieee1394
246 o Makefile: make symlink from /sbin/lsmod to /bin/lsmod if that's where we're going.
247 o modinfo: add manual page.
248 o modprobe: --show-depends (Asked by Herbert Xu for mkinitrd).
249 o depmod: Simply and fix loop detection for non-trivial loops
250         
251 0.9.11a Version:
252 o Makefile: docbook2man fix (Thanks to Terje Rosten)
253 o Makefile: make install man pages work with autoconf 1.4 (Thanks to Terje Rosten)
254         
255 0.9.11 Version:
256 o generate-modprobe.conf: Avoid "modprobe version" in stdout.
257 o generate-modprobe.conf: Fix translation of "options dummy0 -o dummy0"
258 o modprobe: add --set-version
259 o modprobe: Add MODPROBE_OPTIONS env. var, and use it to pass some options.
260 o Fix make moveold: (Thanks to Pavel Roskin, Will Stephenson)
261 o README: Mention modprobe.devfs for devfs users (Thanks to Pavel Roskin)
262 o lsmod: belongs in /bin, not /sbin (Thanks to Marco d'Itri)
263 o Makefile: create man directories (Thanks to John Levon)
264 o Makefile: no, use normal automake (Thanks v. much to John Levon)
265 o Makefile: docbook2man tweaks and cleanups (Thanks to Terje Rosten)
266 o Makefile: include man pages in dist, and clean in maintainer-clean
267         (Martin Schlemmer's report).
268         
269 0.9.10 Version:
270 o modprobe: Remove old .gnu.linkonce.modname renaming code
271 o modprobe: Add -q flag.
272 o srpm: install generate-modprobe.conf, too.
273 o install: move kallsyms and ksyms as well to point to insmod.old
274         (Andrew Morton's report)
275 o generate-modprobe.conf: don't worry about if statements: modprobe -c
276         expands them already
277 o modprobe: Look for __module section as well as
278         .gnu.linkonce.this_module in renaming code.
279 o modprobe: modules.devfsd handling, too (thanks to Martin Schlemmer).
280 o modprobe.devfs: New file for devfs people.
281 o modprobe: Handle vermagic in .modinfo section as well as own section.
282 o depmod: Handle aliases in .modinfo section as well as .modalias section
283 o Warnings added to build process.
284 o modinfo: new binary
285 o modinfo: new testcases
286 o generate-modprobe.conf: handle missing mktemp
287         
288 0.9.9 Version:
289 o Install generate-modprobe.conf, too.
290 o Start an FAQ
291 o generate-modprobe.conf: use mktemp with an arg (Luuk van der Duim's report)
292 o Richard Henderson's weak symbol support.
293 o Anton's .foo == foo support for PPC64.
294 o --force for removing version information
295 o generate-modprobe.conf: fix one arg usage (Bug from David van Hoose)
296 o generate-modprobe.conf: add ; inside { } (from Martin Schlemmer)
297 o Kai's --force-version patch, modified.
298 o Zibx Verituse's multiple whitespace in parser patch.
299 o depmod: Handle strings for GPL in separate section, too.
300 o lsmod: remove double unistd include (Bug from Dennis Schulz)
301 o modprobe: Document --force* and -s
302         
303 0.9.8 Version:
304 o Use docbook2man if docbook-to-man not found (Warren Togami's bug report) 
305 o Implement -s in modprobe
306 o If stderr is not open, act as if "--syslog" was given.
307 o Remove documentation about aliases not overriding real modules.
308 o Add support for modules.alias and modules.symbols to depmod and modprobe.
309 o Fix handling of errors in modprobe.conf (Roger Luethi's bug report)
310 o Petr Vandrovec's __gpl_ksymtab fix.
311         
312 0.9.7 Version:
313 o Man pages
314 o modules.conf2modprobe.conf "above" and "below" support.
315 o Silly typo in filename to modname conversion.
316 o Double free fix (Marco d'Itri)
317 o Add --dry-run as synonym for --show everywhere.
318 o Change backwards compat test to sys_create_module(NULL, 0) != -ENOSYS,
319   for people who want /proc/ksyms.
320 o modules.conf2modprobe.conf renamed to generate-modprobe.conf, uses
321   modprobe -c to get built-ins as well.
322         
323 0.9.6 Version:
324 o Fix aliases using - and _ (thanks to Roger Luethi)
325 o Audit for more _ - comparisons: canonicalize at input.
326 o Fix "include overrides alias" bug found during audit.
327 o Testsuite added
328 o lsmod ignores trailing (new-style) entries in /proc/modules, and deletes ,.
329 o message segfault due to reusing varargs fixed.
330 o Give 0 exit status with --dry-run with wildcards (Roger Luethi's bug report)
331 o Add --all option (Roger Luethi's bug report)
332 o Fix double-insert problem caused by symlinks (Roger Luethi's bug report)
333 o Ignore undefined __start_ and __stop_ as future kernel might.
334 o Report loops only once.
335 o Fix complex duplicate elimination handling.
336 o Implemented --ignore-command in modprobe
337 o Implemented "remove" in modprobe's modprobe.conf parsing.
338 o Don't die if /proc/modules can't be opened.
339 o Modprobe -r checks for in-use modules before trying.
340 o Warn about lines in modprobe.conf which aren't understood.
341 o Remove extra spaces in options generated by modprobe.
342 o Extract 64/32 moduleops into common code.
343 o Reimplemented wildcard aliases.
344 o Horrible workaround for devfsd.
345 o Fix handling of wildcards in modules.conf2modprobe.conf
347 0.9.5 Version:
348 o Fix bogus compare code where "modprobe tuner" loaded tun module
349   (Thanks to Marco d'Itri's bug report).
350 o Handle rth-style modules in modprobe namechange code.
351 o Marco d'Itri's patch to correct quotes
352 o Marco d'Itri's patch to implement -A.
353 o Fixed rmmod's message when no unload support.
354 o Fix backwards compat recursion protection to compare PIDs (Petr Vandrovec)
355 o Implement -F and -e.
356 o Tweak message when invalid parameter given (Roger Luethi's report)
357         
358 0.9.4 Version
359 o Implement loop detection and duplicate elimination (thanks to Jeff
360   Chua's ide.ko / ide-io.ko bug report)
361 o Fix stress_modules.sh script for new names and dir layout
362 o Updated README to put autoconf at the bottom (most people don't need it)
363 o Implemented -v in depmod
364 o Implemented -l and -t in modprobe.
365 o Implemented -a in modprobe.
366 o Removed gratuitous configure.in target test (we do 64/32 dynamically)
367 o Adam Richter's depmod patch to traverse above kernel/ dir.
368 o Fix -r to be properly ignored (Chris Cheney's bug report)
370 0.9.3 Version
371 o Fix modprobe -r ordering (tried to remove backwards) (Jim Radford's report)
372 o David Brownell's extra rmmod options (modified)
374 0.9.2 Version
375 o Matthieu Verbert <mve@zurich.ibm.com>'s objdir != srcdir install fix.
376 o Fixed insmod option ignores (Petr Vandrovec's bug report)
377 o Arnd Bergmann <arnd@bergmann-dalldorf.de>'s modules.ccwmap implementation.
378 o Jim Radford <radford@blackbean.org>'s modprobe -r implementation.
379         
380 0.9.1 Version
381 o Include install-with-care script in dist
383 0.9 Version
384 o Added install-with-care script to check we're not destroying old utils
385 o Split moveold into two targets for gentoo
386 o Don't use readlink in moveold: RH8.0 doesn't have it by default
387 o Fix ia64 _syscall5 problem (undefined reference to `__ia64_syscall')
388         
389 0.9-alpha Version
390 o Fixed patch in NEWS to leave #include linux/elf.h, needed for
391   CONFIG_KALLSYMS.
392 o Fixed extra newline in "in use by" message.
393 o Fixed parsing for new-style /proc/modules.
394 o Fixed version parsing code (thanks to Adam Richter's report)
395 o Fixed "running out of filedescriptors" (Adam Richter) 
396 o Implemented options in modprobe
397 o Implemented install in modprobe
398 o Implemented options in modules.conf2modprobe.conf
399 o Implemented install in modules.conf2modprobe.conf
400 o Implemented probeall in modules.conf2modprobe.conf
401 o Implemented probe in modules.conf2modprobe.conf
402 o Changed modprobe version to be constant string, for "strings" to work easily.
403         
404 0.8a Version
405 o Fixed erroneous warning on rmmod saying it didn't find module in
406   /proc/modules
407         
408 0.8 Version
409 o Chris Cheney's automake patch
410 o Adam J. Richter's "use depmod" patch (simplifies aliases, handles include)
411 o Cleaned up error handling a little
412 o Implemented --name/-o to change module name (requires Kai's modname patch)
413 o David Hardeman's dummy options patch for Debian.
414 o Updated version number (thanks to David Hardeman).
415 o Fix "sbin not in path" .old exec problem.
416 o Remove assumptions about module extension.
417 o Added "links" and "moveold" targets, and leave using them to the user.
418 o Implemented new depmod which works with current kernels, calls old
419   one for previous kernels.
420 o First cut of modules.conf2modprobe.conf
421 o Implemented dummy insmod -p, -s and -f options, requested by Petr Vandrovec
423 0.7a Version
424 o 64/32 bit autodetection thanks to Dave Miller
425 o Preliminary alias support.
426 o Very primitive /etc/modprobe.conf support
427 o Fix for "rmmod ide-cd" (bug from Jens Axboe)
428 o Options args for modprobe