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.
![]() |
WARNINGClear 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.
|
![]() |
NoteIf you experience problems using the “
make menuconfig ” command, the “ncurses”
package may not be installed in your Linux system. Do one of the following:
|
After the configuration, type the following command to prepare the source for kernel
module
compilation:
make modules_prepare