Modprobe configuration file




















Usually modprobe only prints messages if something goes wrong. Combined with -v , it is useful for debugging problems. See modprobe. With this flag, modprobe will simply ignore any bogus names the kernel uses this to opportunistically probe for modules which might exist.

If the modules it depends on are also unused, modprobe will try to remove them, too. Unlike insertion, more than one module can be specified on the command line it does not make sense to specify module parameters when removing modules. There is usually no reason to remove modules, but some buggy modules require it. Your kernel may not support removal of modules.

See below for caveats when run on older kernels. Naturally, these checks are there for your protection, so using this option is dangerous. This applies to any modules inserted: both the module or alias on the command line, and any modules it depends on. Naturally, this check is there for your protection, so this using option is dangerous. If a module fails to load and the kernel complains that the module disagrees about a version of some interface, you can use "--force-modversion" to remove the version information altogether.

Naturally, this check is there for your protection, so using this option is dangerous. Find centralized, trusted content and collaborate around the technologies you use most. Connect and share knowledge within a single location that is structured and easy to search. But this has to be repeated every time I reboot.

You can make a symbolic link of your module to the standard path, so depmod will see it and you'll be able load it as any other module. Once that is done, modprobe only accepts the module name, so leave off the path and ". Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. How do I configure modprobe to find my module? Ask Question. Asked 13 years, 2 months ago. Active 3 years, 2 months ago. Viewed k times. I'm trying to get a kernel module to load at boot. However, it still returns with a non-zero exit status. Print all module names matching an alias.

This can be useful for debugging module alias problems. This option causes modprobe to remove rather than insert a module. If the modules it depends on are also unused, modprobe tries to remove them too. Unlike insertion, more than one module can be specified on the command line it does not make sense to specify module parameters when removing modules.

There is usually no reason to remove modules, but some buggy modules require it. Your distribution kernel may not be built to support removal of modules at all. Set the kernel version, rather than using uname to decide on the kernel version which dictates where to find the modules. List the dependencies of a module or alias , including the module itself. Install commands which apply are shown prefixed by "install". It does not run any of the install commands.

Note that modinfo can extract dependencies of a module from the module itself, but knows nothing of aliases or install commands. This is also automatically enabled when stderr is unavailable. Verbose mode; print messages about what the program is doing.

Usually modprobe only prints messages if something goes wrong.



0コメント

  • 1000 / 1000