Managing dynamically loadable kernel modules

Determining if a module can be configured as a DLKM

A system administrator cannot make a kernel module dynamically loadable--that is done by the programmer who wrote the module. Therefore, before you demand load or demand unload a module, you need to know if it can be configured as a DLKM.

To determine if a module can be configured as a DLKM:

  1. Display the contents of /etc/conf/mdevice.d/device

    where device is the name of the module and the name of the file you want to examine. For the format of the file, see Master(DSP).

  2. Locate the line that begins with device.

  3. Does the third field of that line contain an ``L'', or is it a ``new style'' module that contains the entry: $interface ddi 8?

    If yes, then the module can be a DLKM. Continue with this procedure.

    If no, the module is not loadable.

  4. Display the contents of /etc/conf/sdevice.d/device. For the format of the file, see System(DSP). Does the file contain a line that begins with ``$static''?

    If yes, the module can be loadable, but needs to be configured. See ``Configuring a dynamically loadable kernel module''.

    If no, the module is loadable and is configured as a DLKM.

Next topic: Determining if a DLKM needs to be configured
Previous topic: Obtaining information about DLKMs

© 2007 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 05 June 2007