Sun Cluster 软件安装指南(适用于 Solaris OS)

Procedure如何手动卸载 RSMRDT 驱动程序

如果在完成如何卸载 SUNWscrdt 软件包之后内存中仍然加载着该驱动程序,请执行以下过程手动卸载该驱动程序。

  1. 启动 adb 实用程序。


    phys-schost# adb -kw
    
  2. 将 kernel 变量 clifrsmrdt_modunload_ok 设置为 1


    physmem NNNN
    clifrsmrdt_modunload_ok/W 1
    
  3. Control-D 组合键退出 adb 实用程序。

  4. 查找 clif_rsmrdtrsmrdt 模块的 ID。


    phys-schost# modinfo | grep rdt
    
  5. 卸载 clif_rsmrdt 模块。

    卸载 rsmrdt 模块之前,必须卸载 clif_rsmrdt 模块。


    phys-schost# modunload -i clif_rsmrdt_id
    
    clif_rsmrdt_id

    指定要卸载的模块的数字 ID。

  6. 卸载 rsmrdt 模块。


    phys-schost# modunload -i rsmrdt_id
    
    rsmrdt_id

    指定要卸载的模块的数字 ID。

  7. 检验模块是否卸载成功。


    phys-schost# modinfo | grep rdt
    

示例 8–1 卸载 RSMRDT 驱动程序

以下的示例显示了手动卸载 RSMRDT 驱动程序后的控制台输出。


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)

故障排除

如果 modunload 命令失败,则可能仍有应用程序正在使用该驱动程序。终止应用程序,然后重新运行 modunload