Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
17060 Discussions

Removing MIC Module: FATAL: Module mic is in use

Xiao_peng_W_
Beginner
1,032 Views

I was testing the steps to update mpss, when I tried to run 'service mpss unload' as mentioned in readme to uninstall old version of mpss rpms, I got the error message: Removing MIC Module: FATAL: Module mic is in use.

Finally I could remove all the installed mpss rpms and installed mpss again, but the error 'Removing MIC Module: FATAL: Module mic is in use' would cause the new installed mic driver does not take effect.

That means I have to reboot my host node to make mic drvier to take effect. Am I right?

0 Kudos
2 Replies
Frances_R_Intel
Employee
1,032 Views

The unload should have worked. The fact that it didn't leads me to believe the mpss didn't shut down. You might want to take a look at 'micctrl -s' and /var/log/mpssd. I would not try to uninstall while the mic kernel module is still in use. If the mpss is running and looking at the log file doesn't give you a clue what to do about it, I would first try to force the kernel module to unload with 'modprobe –r –f mic'. If that didn't work, I would try to disable the mpss service from starting on reboot if it will let you - I don't know if 'chkconfig mpss off' will work while the mpss service is running - then try rebooting the host and, if the mic kernel module load, doing the service mpss unload again. Let me know what happens.

0 Kudos
Xiao_peng_W_
Beginner
1,032 Views

 

Sorry for the later reply.

Force to unload mic does not work in my env
  # modprobe -r -f mic
   FATAL: Module mic is in use.
 
Then I tried to turn off mpss and reboot host node
  # chkconfig mpss off
  # reboot
 
After reboot, the mic driver was still in loaded status. And I could not unload it too.
  # lsmod | grep mic
    mic                   592027  4
  # service mpss status
    mpss is stopped
  # service mpss unload
    Shutting down Intel(R) MPSS:
    Removing MIC Module: FATAL: Module mic is in use.
                                                           [FAILED]

In the readme, it said you should run 'servcie mpss unload' before uninstalling. But it does not work.

 

0 Kudos
Reply