NEWS revision a7fbae03158ab8449e0ff7220b1d92f075d1aadd
1kmod 10 2======= 3 4- New features: 5 - Read coresize from /sys if supported 6 7 - 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. 9 This is needed to fix a change in behavior regarding module-init-tools 10 and ultimately makes us loading a blacklisted module. 11 12- Better formatting in man pages 13 14- Add option to disable building man pages at build time 15 16- Fixes in the testsuite and refactoring of LDPRELOAD'ed libraries 17 18- Re-licensing testsuite as LGPL 19 20kmod 9 21====== 22 23- Improvements to the testsuite: 24 - 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 29 - 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 32 33kmod 8 34====== 35 36- No new features, small bug fixes only. 37 - Fix a bug in "modprobe -c" output: be compatible with 38 module-init-tools 39 40 - Give a useful error message when init_module fails due to bad 41 parameter or unknown symbols 42 43 - Fix doc generation 44 45kmod 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 54- Fix setting CFLAGS/LDFLAGS in build system. This prevented us from not 55 allowing the user to set his preferences. 56 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 64 65kmod 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 89kmod 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 121kmod 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 145kmod 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 173kmod 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 205kmod 1 206====== 207 208First 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) 229