From Wiki-UX.info

How to remove a module from the kernel
Jump to: navigation, search

How to remove a module from the kernel

How do I completely remove a module from a system?

You cannot completely remove a module from a system by simply removing it from the /usr/conf/mod directory. First unload the module, then uninstall the module, and finally remove the module from the /usr/conf/mod directory as follows:

1. Unload the module:

# kcmodule -s <mydrivername>=unused

2. Uninstall the module:

# kcmodule -s <mydrivername>=uninstall

3. Remove the module from the /usr/conf/mod file:

# rm -f /usr/conf/mod/<mydrivername>

Reference

http://h21007.www2.hp.com/portal/download/files/unprot/ddk/FAQ11iv3.pdf

This page was last modified on 9 December 2008, at 19:14. This page has been accessed 484 times.