MPSS 3.1.x installation on Ubuntu 13.10

MPSS 3.1.x installation on Ubuntu 13.10

Hi, i'm having issues on MPSS 3.1.x installation on Ubuntu 13.10, these are what i have done:

# 1. download and extract SuSE package

  • tar xvf mpss-3.1.2-suse-11.3.tar
  • cd mpss-3.1.2

# 2. convert to deb packages and install

  • sudo alien --scripts *.rpm
  • sudo dpkg -i *.deb

# 3. add location /usr/lib64 so micctrl can run correctly

  • echo '/usr/lib64' | sudo tee -a /etc/
  • sudo ldconfig

# 4. add lock, copy the kernel module to current kernel

  • sudo mkdir /var/lock/subsys/
  • odir=/lib/modules/$(uname -r)/misc/
  • sudo mkdir $odir
  • sudo cp /lib/modules/3.0.76-0.11-default/extra/mic.ko $odir
  • sudo modprobe mic

# ERROR: could not insert 'mic': Exec format error

# ERROR dari dmesg: mic: disagrees about version of symbol module_layout


any hints for what should i do now? 



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

The convert utility "alien" is not guaranteed to work. I think you have a better chance to recompile the MPSS for Ubuntu.

Ubuntu 13.10 comes with much newer kernel than Suse 11.3 so you need to compile the kernel module, mic.ko, specifically for  your running kernel. Discard your step #4.

Below is the module compilation procedure I did on my Ubuntu 12.04.3 box that you may find helpful:

 1. Download SOURCE of mpss-3.1.2 from

   tar -xvf mpss-src-3.1.2.tar
   cd mpss-3.1.2/src/
   tar -jxvf mpss-modules-3.1.2.tar.bz2
   cd mpss-modules-3.1.2

2. Download my patch, mpss_mod_patch.txt . Btw, I am trying to upload it here through the portal, but it doesn't work for some reason. I'll provide the link later.
   Apply the patch:
   patch -p1 < mpss_mod_patch.txt

3. Compile and install the module.

Create script, say, with the following content:

  #! /bin/bash

   KERNEL=$(uname -r)

   sudo make KERNEL_VERSION=$KERNEL MIC_CARD_ARCH=$ARCH sysconfdir=/etc includedir=/usr/include install

Run the script,


4.  Try to load the MIC module  
    sudo depmod
    sudo modprobe mic

    you should be able to see mic devices:
     ls /dev/mic*



Downloadtext/plain mpss_mod_patch.txt2.41 KB

I am wondering if you have successfully installed MPSS on Ubuntu 13.10 for now?

I really appreciate your reply!

no I haven't tried in ubuntu, that day my boss decided to use CentOS..


I was trying to install MPSS-3.3.3 in ubuntu [Ubuntu 12.04.5 LTS (GNU/Linux 3.13.0-45-generic x86_64)] system, using the instruction by Alexei K. But in step 2 I am geting the following error:

patching file host/pm_ioctl.c
Hunk #1 succeeded at 39 with fuzz 2.
patching file host/linvnet.c
Hunk #1 FAILED at 201.
1 out of 1 hunk FAILED -- saving rejects to file host/linvnet.c.rej
patching file vnet/micveth_dma.c
Hunk #1 FAILED at 895.
1 out of 1 hunk FAILED -- saving rejects to file vnet/micveth_dma.c.rej
patching file micscif/micscif_rb.c

and following are the *.rej details:

##### ./vnet/micveth_dma.c.rej

--- vnet/micveth_dma.c-bak    2013-12-06 16:52:30.047277813 -0500
+++ vnet/micveth_dma.c    2013-12-06 16:53:08.483276339 -0500
@@ -895,7 +895,7 @@
     .ndo_stop        = micvnet_stop_dev,
     .ndo_start_xmit        = micvnet_xmit,
     .ndo_validate_addr    = eth_validate_addr,
-    .ndo_set_multicast_list = micvnet_multicast_list,
+    .ndo_set_rx_mode = micvnet_multicast_list,
     .ndo_set_mac_address    = micvnet_set_address,
     .ndo_change_mtu        = micvnet_change_mtu,

##### ./host/linvnet.c.rej
 --- host/linvnet.c-bak    2013-12-06 16:26:20.175338053 -0500
+++ host/linvnet.c    2013-12-06 16:27:05.103336352 -0500
@@ -201,7 +201,7 @@
     .ndo_stop        = micveth_stop_dev,
     .ndo_start_xmit        = micveth_xmit,
     .ndo_validate_addr    = eth_validate_addr,
-    .ndo_set_multicast_list = micveth_multicast_list,
+    .ndo_set_rx_mode = micveth_multicast_list,
     .ndo_set_mac_address    = micveth_set_address,
     .ndo_change_mtu        = micveth_change_mtu,

can anyone help me to solve the problem?

Thank you


Leave a Comment

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