jithinjosepkl / azhpc-images-private

Azure HPC Images
0 stars 0 forks source link

Error: Cannot unload the Infiniband driver stack #2

Open aplamada opened 5 years ago

aplamada commented 5 years ago

When I tried to use the script I got

+ /etc/init.d/openibd restart
Please close all isert sessions and unload 'ib_isert' module.
Please make sure module 'rpcrdma' is not in use and unload it.
Please make sure module 'ib_srpt' is not in use and unload it.

Error: Cannot unload the Infiniband driver stack due to the above issue(s)!

To unload the blocking modules, you can run:
# modprobe -rv  ib_isert rpcrdma ib_srpt

By adding the line modprobe -rv ib_isert rpcrdma ib_srpt before /etc/init.d/openibd restart in install_ofed.sh I addressed the problem:

+ /etc/init.d/openibd restart
Unloading HCA driver:                                      [  OK  ]
Loading HCA driver and Access Layer:                       [  OK  ]
Starting EIPOIB daemon                                     [  OK  ]
jithinjosepkl commented 5 years ago

Thanks @aplamada.