UnixServerAdmin

Server Administration & Management

How to insert module in Kernel

You can insert the module in Kernel by using “insmod” but remember you require root login details. For the 2.6 kernel, this must be a kernel object (suffixed with .ko).If symbols exist within the module then they can be initiate at install time through the “insmod”. The following example will explain installing a module with an initial steps.

# insmod your_module.ko your_option=1

An error message will occur if there was an error while installing module with the above command.

Advertisements

July 25, 2011 Posted by | Tips & Tricks, Unix/Linux | , , | 3 Comments