How to add a kernel module parameter in Ubuntu 11.04?
Can I use the
/etc/module file? If yes, how?
To load this module and set these parameters in the very early stage of boot, add the previous line to
As a possible alternative, you can try to add the options to the kernel line (I haven't tested it myself, but it seems to work for settings like
To get a list of options for a kernel module:
This did not work for
To get the current value of a module parameter, run:
If this function returns an error, check if the module was loaded and whether the option exist or not.
Setting module options using files in /etc/modprobe.d/
Files in /etc/modprobe.d/ directory can be used to pass module settings to udev, which will use modprobe to manage the loading of the modules during system boot. Configuration files in this directory can have any name, given that they end with the .conf extension. The syntax is:
Source:Kernel modules - ArchWiki
As far as I know, you can use the mentioned method for modules that are automatically loaded at boot time (to avoid unloading and reloading modules with special parameters, as this might be the case for driver modules), and the