Managing and Developing Dynamically Loadable Kernel Modules

Managing and Developing Dynamically Loadable Kernel Modules
Developing Dynamically Loadable Kernel Modules
Chapter 12 557
Corrupted interrupt stack
Accessing critical data
Overuse of local driver storage
Incorrect DMA address mapping
Updating the Module’s Components
Use the -u option of the kminstall command to update a DLKM
module’s components in the subdirectories of /usr/conf and /stand.
Use this command when you modify one or more of the module’s
component files. If you modify the module source code, you must first
recompile the source code in accordance to “Creating the Module’s
Component Files” on page 552.
kminstall expects to find the module’s component files in the current
directory. If
module_name
already exists on the system, kminstall
updates the module. If
module_name
does not exist on the system,
kminstall prints a warning and adds the module’s components to the
system.
When updating an existing module, kminstall takes the values of the
tunable parameters and the $CONFIGURATION and $LOADABLE flags from
the module’s current system description file and saves them to the
module’s new system description file.
To update a DLKM module’s components, follow these steps:
1. Change directories to the directory containing the module’s
component files.