The K-TAP kernel module is still present after the uninstallation of S-TAP
If the K-TAP kernel module is still present after
the uninstallation of S-TAP, manually remove it.
Symptoms
The K-TAP kernel module is still present after the uninstallation of S-TAP on a Solaris server.
Causes
The server did not restart properly to remove the K-TAP kernel module on Solaris servers.
Environment
Solaris
Diagnosing the problem
Check on the Solaris server by running both modinfo | grep ktap and ls -al /dev/*tap*.
Resolving the problem
Manually remove the K-TAP kernel with the following steps.
- Check that /etc/init.d/upguard is removed.
- Remove /kernel/drv/sparcv9/ktap* and /kernel/drv/ktap*.
- Run modinfo | grep ktap to get the name of the loaded driver.
- Then, run rem_drv<loaded driver>. For example:
rem_drv ktap_36821
. - Remove /dev/ktap* and
/dev/guard_ktap
. - Restart the server.
- Run modinfo | grep ktap to make sure that the driver is no longer loaded.
- Remove GIM and gsvr entries from /etc/inittab (if you are using GIM only).
- Manually clean up remaining files in /usr/local/guardium.