Sun Cluster Software Installation Guide for Solaris OS

ProcedureHow to Unload the RSMRDT Driver Manually

If the driver remains loaded in memory after completing How to Uninstall the SUNWscrdt Package, perform this procedure to unload the driver manually.

  1. Start the adb utility.


    phys-schost# adb -kw
    
  2. Set the kernel variable clifrsmrdt_modunload_ok to 1.


    physmem NNNN
    clifrsmrdt_modunload_ok/W 1
    
  3. Exit the adb utility by pressing Control-D.

  4. Find the clif_rsmrdt and rsmrdt module IDs.


    phys-schost# modinfo | grep rdt
    
  5. Unload the clif_rsmrdt module.

    You must unload the clif_rsmrdt module before you unload the rsmrdt module.


    phys-schost# modunload -i clif_rsmrdt_id
    
    clif_rsmrdt_id

    Specifies the numeric ID for the module that is being unloaded.

  6. Unload the rsmrdt module.


    phys-schost# modunload -i rsmrdt_id
    
    rsmrdt_id

    Specifies the numeric ID for the module that is being unloaded.

  7. Verify that the module was successfully unloaded.


    phys-schost# modinfo | grep rdt
    

Example 8–1 Unloading the RSMRDT Driver

The following example shows the console output after the RSMRDT driver is manually unloaded.


phys-schost# adb -kw
physmem fc54
clifrsmrdt_modunload_ok/W 1
clifrsmrdt_modunload_ok: 0x0 = 0x1
^D
phys-schost# modinfo | grep rsm
 88 f064a5cb 974 - 1 rsmops (RSMOPS module 1.1)
 93 f08e07d4 b95 - 1 clif_rsmrdt (CLUSTER-RSMRDT Interface module)
 94 f0d3d000 13db0 194 1 rsmrdt (Reliable Datagram Transport dri)
phys-schost# modunload -i 93
phys-schost# modunload -i 94
phys-schost# modinfo | grep rsm
 88 f064a5cb 974 - 1 rsmops (RSMOPS module 1.1)

Troubleshooting

If the modunload command fails, applications are probably still using the driver. Terminate the applications before you run modunload again.