Sun Cluster Software Installation Guide for Solaris OS

How 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.


    # 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.


    # modinfo | grep rdt
    

  5. Unload the clif_rsmrdt module.

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


    # modunload -i clif_rsmrdt_id
    


    Tip –

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


    clif_rsmrdt_id

    Specifies the numeric ID for the module being unloaded.

  6. Unload the rsmrdt module.


    # modunload -i rsmrdt_id
    

    rsmrdt_id

    Specifies the numeric ID for the module being unloaded.

  7. Verify that the module was successfully unloaded.


    # modinfo | grep rdt
    

Example—Unloading the RSMRDT Driver

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


# adb -kw
physmem fc54
clifrsmrdt_modunload_ok/W 1
clifrsmrdt_modunload_ok: 0x0 = 0x1
^D
# 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)
# modunload -i 93
# modunload -i 94
# modinfo | grep rsm
 88 f064a5cb 974 - 1 rsmops (RSMOPS module 1.1)
#