DPDK patches and discussions
 help / color / mirror / Atom feed
From: Nguyen Van Long <longnv@viosoft.com>
To: dev@dpdk.org
Subject: [dpdk-dev] ERROR: Invalid module format
Date: Mon, 28 Sep 2015 03:27:23 +0000 (UTC)	[thread overview]
Message-ID: <1522256370.1182490.1443410843370.JavaMail.zimbra@viosoft.com> (raw)

Hi all, 
I am building DDPK and OVS as the instruction in https://software.intel.com/en-us/blogs/2015/06/09/building-vhost-user-for-ovs-today-using-dpdk-200 
My scenario is that I have 2 machines, one is called building machine (for build dpdk) and the another is called deploy machine. 
After finishing building DPDK in building machine, I copy all dpdk folders to deploy machine and try to setup DPDK devices in this machine as: 
RTE_SDK=”${HOME}/dpdk-2.0.0
RTE_TARGET =”x86_64-ivshmem-linuxapp-gcc”

# Install and bind UIO interface eth0
sudo modprobe uio
sudo insmod ${RTE_SDK}/${RTE_TARGET}/kmod/igb_uio.ko 


Unfortunately, I got the  error: 
insmod: ERROR: could not insert module ../dpdk-2.0.0/x86_64-ivshmem-linuxapp-gcc/kmod/igb_uio.ko: Invalid module format 

I doubt that the different linux kernel causes the problem (linux kernel in building machine is 3.16.0.49 and in deploy machine is 3.16.0.30) 
but don't know how to fix that. Could you have any solution to build and deploy dpdk in machine with different kernel? 

Thank and best regard! 

             reply	other threads:[~2015-09-28  2:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-28  3:27 Nguyen Van Long [this message]
2015-09-28  5:19 Andrew Harvey (agh)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1522256370.1182490.1443410843370.JavaMail.zimbra@viosoft.com \
    --to=longnv@viosoft.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).