What should I do if the make program prompts me to install the kernel source package or kernel object package?

Make sure you have completed Preparing the Kernel Source correctly. To check if the required RPM packages are already installed, type the following command:
rpm -q <rpm package name>
If a required package is not installed, obtain the package from your Linux vendor’s website or the installation source (such as CD-ROMs) and install it.

I am using a kernel which is custom-built and I have the kernel source, but the “Unable to locate source package” message still displays after I typed the “make” command.

You can try copying your kernel source or creating symbolic links to the /usr/src/linux-<Kernel Version> directory and try the make command again.

The test program displays a “Cannot find ... symbol in System.map” message.

For the KHM to work properly, it must obtain certain symbol addresses from /boot/System.map-<Kernel Version>. If this file is not found, the KHM will not work properly. If the file does not exist, you may need to rebuild your Linux kernel to get this file.

What should I do if the KHM build process failed?

First, visit the Trend Micro website to see if the KHM for your Linux system is available. If so, download the KHM to use it.
You can check if Trend Micro has updated the KHM source code on the Trend Micro website. Since the Linux kernel is updated regularly, Trend Micro will also update the KHM source code for it to work with the new Linux kernel.
Since the KHM code is published under GPL, you can also try to fix the problem yourself by modifying the source code.

What should I do if the test program crashes/hangs or if the “Cannot remove KHM from kernel” message displays?

First, reboot your system and then visit the Trend Micro website to see if the KHM for your Linux system is available. If so, just download the KHM to use it.
You can check if Trend Micro has updated the KHM source code on the Trend Micro website. Since the Linux kernel is updated regularly, Trend Micro will also update the KHM source code for it to work with the new Linux kernel.
Since the KHM code is published under GPL, you can also try to fix the problem yourself by modifying the source code.

After installing the KHM, the Linux computer hangs after a system reboot.

This problem may be caused by the installed KHM that you have not tested to verify whether it can run properly in your Linux computer Follow the steps below to solve this problem:
  1. Reboot your Linux computer and enter the “init 1” mode (you can do this by changing the kernel boot up parameter in the boot loader, such as GRUB).
  2. Type the following command to remove the KHM in the /opt/TrendMicro/SProtectLinux/SPLX.module directory:
    rm /opt/TrendMicro/SProtectLinux/SPLX.module/splxmod-‘uname -r‘. ‘uname -m‘.o
  3. Reboot your computer again. The Linux system should start without any problems. However, since there is no KHM installed, ServerProtect real-time scan is not enabled. To enable real-time scan, build the KHM again.
To avoid this problem, Trend Micro recommends you perform “make test” before installing the newly built KHM.