]>
Commit | Line | Data |
---|---|---|
b30a71b8 LDM |
1 | kmod 3 |
2 | ====== | |
3 | ||
4 | - New APIs in libkmod to: | |
5 | - Get symbols from module, parsing the ELF section | |
6 | - Get dependency symbols | |
7 | - Check if resources are still valid or if libkmod must be reloaded | |
8 | - Insert module like modprobe, checking (soft-)dependencies, commands, | |
9 | blacklist. It can run commands by itself and to call a callback | |
10 | function. | |
11 | ||
12 | - Support to load modules compressed with xz | |
13 | ||
14 | - Tools are now bundled together in a single tool called kmod. It can be | |
15 | called using symlinks with the same names as tools from module-init-tools. | |
16 | E.g: /usr/bin/lsmod -> /usr/bin/kmod. With this we are aiming to complete a | |
17 | 1:1 replacement of module-init-tools. | |
18 | ||
19 | - The only missing tool, depmod, was added to kmod together with the necessary | |
20 | APIs in libkmod. | |
21 | ||
22 | - If a program using libkmod runs for a long time, as for example udev, it must | |
23 | check if it doesn't have to re-load libkmod. A new helper function was added | |
24 | in libkmod to check if context is still valid and udev is already using it. | |
25 | ||
26 | - An 'unaligned access' bug was fixed. So those architecture that does not | |
27 | handle unaligned access can use kmod, too. | |
28 | ||
acc18b14 LDM |
29 | kmod 2 |
30 | ====== | |
31 | ||
32 | Some bugs fixed: the worst of them was with an infinite loop when an alias | |
33 | matched more than one module. | |
34 | ||
35 | - New APIs in libkmod to: | |
36 | - Get soft dependencies | |
37 | - Get info from module files parsing ELF | |
38 | - Get modversions from files parsing ELF | |
39 | ||
40 | - Support to load gzipped kernel modules: kmod can be compiled with support to | |
41 | gzipped modules by giving the --enable-zlib flag | |
42 | ||
43 | - Support to forcefully load modules, both vermagic and modversion | |
44 | ||
45 | - Support to force and nowait removal flags | |
46 | ||
47 | - Configuration files are parsed in the same order as modprobe: files are | |
48 | sorted alphabetically (independently of their dir) and files with the same | |
49 | name obey a precedence order | |
50 | ||
51 | - New tool: kmod-modinfo | |
52 | ||
53 | - kmod-modprobe gained several features to be a 1:1 replacement for modprobe. | |
54 | The only missing things are the options '--showconfig' and '-t / -l'. These | |
55 | last ones have been deprecated long ago and they will be removed from | |
56 | modprobe. A lot of effort has been put on kmod-modprobe to ensure it | |
57 | maintains compabitility with modprobe. | |
58 | ||
59 | - linux-modules@vger.kernel.org became the official mailing list for kmod | |
60 | ||
89eba7cb LDM |
61 | kmod 1 |
62 | ====== | |
ecd40ee4 | 63 | |
89eba7cb LDM |
64 | First version of kmod and its library, libkmod. |
65 | ||
66 | In the libkmod it's currently possible to: | |
67 | - List modules currently loaded | |
68 | - Get information about loaded modules such as initstate, refcount, | |
69 | holders, sections, address and size | |
70 | - Lookup modules by alias, module name or path | |
71 | - Insert modules: options from configuration and extra options can be | |
72 | passed, but flags are not implemented, yet | |
73 | - Remove modules | |
74 | - Filter list of modules using blacklist | |
75 | - For each module, get the its list of options and install/remove | |
76 | commands | |
77 | - Indexes can be loaded on startup to speedup lookups later | |
78 | ||
79 | Tools provided with the same set of options as in module-init-tools: | |
80 | - kmod-lsmod | |
81 | - kmod-insmod | |
82 | - kmod-rmmod | |
83 | - kmod-modprobe, with some functionality still missing (use of softdep, | |
84 | dump configuration, show modversions) |