In order to reduce the size of the compiled KHM, Trend Micro recommends not selecting the Compile the kernel with debug info option in the Kernel Hacking menu for kernel configuration.
You can find your kernel source in the following directory:
cd /lib/modules/<Kernel Version>/build
Then, type the following command in your kernel source directory to display the configuration UI.
make menuconfig
In the Kernel Hacking menu, locate Compile the kernel with debug info. If an asterisk appears before this item, press “N” on the keyboard to clear the asterisk. Then exit the configuration UI and save the settings.
WARNING
WARNING
Clear only the Compile the kernel with debug info option in the configuration UI. Do NOT change other options; otherwise you may encounter kernel panic while using the KHM.
Note
Note
If you experience problems using the “make menuconfig” command, the “ncurses” package may not be installed in your Linux system. Do one of the following:
  • Install the package: you can obtain the package from the Linux installation CD or download it from your Linux vendor’s web site.
  • Modify the .config file in the kernel source directory: change CONFIG_DEBUG_INFO=y to CONFIG_DEBUG_INFO=n in the file.
After the configuration, type the following command to prepare the source for kernel module compilation:
make modules_prepare