133:
program also has more configuration features than other similar utilities. It is possible to define module aliases allowing for some automatic loading of modules. When the kernel requires a module, it actually runs modprobe to request it; however, the kernel has a description of only some module
120:
modprobe looks only in the standard module directories, to install modules from the working directory insmod is still required. The user can also make a symbolic link of the module to the standard path, so depmod will find and load it like any other installed module.
161:
There are cases where two or more modules both support the same devices, or a module invalidly claims to support a device: the blacklist keyword indicates that all of a particular module's internal aliases are to be ignored.
172:
There are two ways to blacklist a module using modprobe, employing the modprobe.conf system, the first is to use its blacklisting system in /etc/modprobe.d/. Any filename ending with .conf can be used:
153:
to a device immediately prior to enabling it. Although these actions must be implemented by external programs, modprobe takes care of synchronizing their execution with module loading/unloading.
117:
In some versions of modprobe, the configuration file is called modprobe.conf, and in others, the equivalent is the collection of files called <modulename> in the /etc/modprobe.d directory.
179:
An install primitive is the highest priority in the config file and will be used instead of the blacklisting method above, requiring this second method:
326:
231:
45:
Modprobe is distributed as part of the software package "kmod" (maintained by Lucas De Marchi and others). It was previously developed as:
182:
cat /etc/modprobe.d/ieee1394.conf install ieee1394 /bin/true install ohci1394 /bin/true install eth1394 /bin/true install sbp2 /bin/true
114:
Any arguments appearing after the module name are passed to the kernel (in addition to any options listed in the configuration file).
256:
141:
This program also has the ability to run programs before or after loading or unloading a given module; for example, setting the
321:
89:
100:
107:
If invoked with no switches, the program by default adds/inserts/installs the named module into the kernel.
176:
cat /etc/modprobe.d/blacklist.conf blacklist ieee1394 blacklist ohci1394 blacklist eth1394 blacklist sbp2
31:
235:
50:
188:
alias sub_module /dev/null alias module_main /dev/null options module_main needed_option=0
142:
135:
70:
169:
a module, and depending on the method used to load it depends on where this is configured.
260:
217:
138:), and modprobe does the job of translating that to an actual module name via aliases.
38:
or to remove a loadable kernel module from the kernel. It is commonly used indirectly:
315:
27:
35:
146:
166:
108:
301:
280:
49:"module-init-tools", for Linux kernel version 2.6 and later (maintained by
42:
relies upon modprobe to load drivers for automatically detected hardware.
306:
150:
85:
An ability to make more intuitive decisions about which modules to load
295:
134:
properties (for example, a device major number, or the number of a
197:
23:
39:
56:"modutils" for use with Linux versions 2.2.x and 2.4.x. .
111:
privileges are typically required for these changes.
232:"Index of /Pub/Linux/Utils/Kernel/Module-init-tools"
218:"kernel/kmod/kmod.git - kmod - module management"
185:Alternately, you can modify /etc/modprobe.conf:
8:
257:"Index of /Pub/Linux/Utils/Kernel/Modutils"
92:, so that when requested to load a module,
81:utilities, with the following benefits:
209:
7:
69:program offers more full-featured "
14:
281:modprobe.conf(5) - Linux man page
96:adds other required modules first
103:module dependencies as required
73:" features than the more basic
165:There are a couple of ways to
26:program originally written by
1:
327:Linux kernel-related software
343:
149:module, or uploading the
145:right after loading a
32:loadable kernel module
322:Command-line software
88:awareness of module
99:the resolution of
30:and used to add a
296:modprobe man page
334:
283:
278:
272:
271:
269:
268:
259:. Archived from
253:
247:
246:
244:
243:
234:. Archived from
228:
222:
221:
214:
136:network protocol
132:
95:
80:
76:
71:Swiss-army-knife
68:
20:
342:
341:
337:
336:
335:
333:
332:
331:
312:
311:
292:
287:
286:
279:
275:
266:
264:
255:
254:
250:
241:
239:
230:
229:
225:
216:
215:
211:
206:
194:
189:
183:
177:
159:
130:
127:
93:
78:
74:
66:
63:
18:
16:
12:
11:
5:
340:
338:
330:
329:
324:
314:
313:
310:
309:
304:
299:
291:
290:External links
288:
285:
284:
273:
248:
223:
208:
207:
205:
202:
201:
200:
193:
190:
187:
181:
175:
158:
155:
126:
123:
105:
104:
97:
86:
62:
59:
58:
57:
54:
13:
10:
9:
6:
4:
3:
2:
339:
328:
325:
323:
320:
319:
317:
308:
305:
303:
302:modprobe.conf
300:
297:
294:
293:
289:
282:
277:
274:
263:on 2009-02-23
262:
258:
252:
249:
238:on 2008-06-09
237:
233:
227:
224:
219:
213:
210:
203:
199:
196:
195:
191:
186:
180:
174:
170:
168:
163:
156:
154:
152:
148:
144:
139:
137:
124:
122:
118:
115:
112:
110:
102:
98:
91:
87:
84:
83:
82:
72:
60:
55:
52:
48:
47:
46:
43:
41:
37:
33:
29:
28:Rusty Russell
25:
21:
276:
265:. Retrieved
261:the original
251:
240:. Retrieved
236:the original
226:
212:
184:
178:
171:
164:
160:
140:
128:
119:
116:
113:
106:
90:dependencies
64:
44:
36:Linux kernel
17:
15:
307:modules.dep
53:and others)
51:Jon Masters
316:Categories
267:2008-09-22
242:2008-09-22
204:References
147:sound card
167:blacklist
157:Blacklist
101:recursive
61:Operation
192:See also
151:firmware
131:modprobe
125:Features
94:modprobe
67:modprobe
19:modprobe
34:to the
75:insmod
198:lsmod
143:mixer
79:rmmod
24:Linux
22:is a
129:The
109:Root
77:and
65:The
40:udev
318::
298:.
270:.
245:.
220:.
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.