R1Soft allows to build a Kernel module, without using a pre-built binary module.
Follow the instructions below to build a Kernel module.
1. Run the #r1soft-setup command with the --no-binary option:
# r1soft-setup --no-binary
2. Wait till the information gathered, found headers compressed and the module installed. You can see the following information in the shell:
Gathering kernel information
Gathering kernel information complete.
Creating kernel headers package
Checking '/lib/modules/2.6.18-238.9.1.el5/source/' for kernel headers
Found headers in '/lib/modules/2.6.18-238.9.1.el5/source/'
Compressing...
uploading kernel package 99% 4758KB 4.7MB/s 00:00 ETA
Starting module build...
Complete.
Saving kernel module to '/lib/modules/r1soft/hcpdriver-cki-2.6.18-238.9.1.el5.ko'
Kernel module is now installed.
Note The default destination for Kernel module is /lib/modules/r1soft/. |
3. Restart the agent after module is installed. Run the following command:
/etc/init.d/cdp-agent restart
See also Linux Agent CLI - Restarting The Agent.
For more information about the #r1soft-setup tool and its option see r1soft-setup.