Installing MPSS 3.1 on Ubuntu

Installing MPSS 3.1 on Ubuntu

I am trying to install mpss 3.1 on ubuntu 13.10 with kernel 3.11.0.15 but I am facing some issues.

Here are the steps I am following:

1.  mkdir driver daemon boot scif 
2.  sudo apt-get install rpm2cpio
3.  cd driver; rpm2cpio ../mpss-modules-3.*.src.rpm | cpio -iv
4.  tar xjvf mpss-modules-3.*.tar.bz2
5.  cd modules and edit the Makefile and comment out the "MPSS_COMMIT ?=" and the "MPSS_VERSION ?=" lines.
    Then make MIC_CARD_ARCH=k1om.
6.  cd modules; make
7.  sudo make install 
8.  sudo modprobe mic; sudo depmod
9.  cd ../../daemon 
10. rpm2cpio ../mpss-daemon-3.*.x86_64.rpm | cpio -iv
11. sudo mkdir -p /etc/mpss/conf.d; sudo cp usr/sbin/* /usr/sbin; sudo cp usr/lib64/* /usr/lib; sudo cp etc/mpss/mpss.ubuntu /etc/init.d/mpss
12. cd ../scif; rpm2cpio ../libscif0-3.*.x86_64.rpm | cpio -iv 
13. sudo cp usr/lib64/* /usr/lib
14. cd ../boot; rpm2cpio ../mpss-boot-files-3.*.x86_64.rpm | cpio -iv
15. sudo cp -Rv usr / 
16. sudo micctrl --initdefaults
17. sudo service mpss start

 

I got the mic module for ubuntu 13.10 from https://github.com/xdsopl/mpss-modules and I installed it successfully. In the step 5, when I try to "sudo depmod" I get an error message "ERROR: fstatat(3, mic.ko): Too many levels of symbolic links" at step 8 above.

Also, in the step 11 it says that we have to copy cp etc/mpss/mpss.ubuntu but there are only two files, mpss.redhat, and mpss.suse, I took the mpss package for SuSe which does not contain mpss.ubuntu

How to solve this issue?

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

when i make install mic module i get a message

"

make -C /lib/modules/3.11.0-15-generic/build M=/home/user1/temp/MIC/mpss-modules-master modules_install \
        INSTALL_MOD_PATH=
make[1]: Entering directory `/usr/src/linux-headers-3.11.0-15-generic'
  INSTALL /home/user1/temp/MIC/mpss-modules-master/mic.ko
Can't read private key
  DEPMOD  3.11.0-15-generic
make[1]: Leaving directory `/usr/src/linux-headers-3.11.0-15-generic'
install -d /usr/local/etc/udev/rules.d
install -m644 udev-mic.rules /usr/local/etc/udev/rules.d/50-udev-mic.rules
install -d /lib/modules/3.11.0-15-generic
install -m644 Module.symvers /lib/modules/3.11.0-15-generic/scif.symvers
install -d /usr/src/linux-headers-3.11.0-15-generic/include/modules
install -m644 include/scif.h /usr/src/linux-headers-3.11.0-15-generic/include/modules

"

 

When I try to modprobe mic, i get FATAL ERROR mic not found and it succeeds with insmod. and later when i try to depmod, i get an error message

"ERROR: fstatat(3, mic.ko): Too many levels of symbolic links"

Roshan,

MPSS doesn't support Ubuntu, though there are successful ports for earlier versions of MPSS.

Additionally, there is a newer version of MPSS coming out in late Q1, so I suggest you delaying any personal porting efforts until then.

Regards
--
Taylor

PS I notice that you posted similar questions under other threads. I put a similar answer (well, actually identical) there.

Leave a Comment

Please sign in to add a comment. Not a member? Join today