LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-02-2014, 10:14 PM   #1
buptmuye
LQ Newbie
 
Registered: Apr 2013
Location: China
Posts: 18

Rep: Reputation: Disabled
openvswitch doesn't match with raspberry pi


Hi,all.
Is there anyone who has interest in raspberry pi or SDN? Recently I want to build OpenvSwitch on raspberry pi(OS:RASPBIAN Debian Wheezy). There is a website that can be referred to(https://plus.google.com/+YoheiKuga/posts/8fqciZydvx5).
However, when I carried on the last two steps,such as " sudo insmod datapath/linux/openvswitch.ko", I got such errors:
"Error: could not insert module datapath/linux/openvswitch.ko: Invalid module format"
Then I use "dmesg | tail" to see the log:

[ 23.818755] Adding 102396k swap on /var/swap. Priority:-1 extents:1 across:102396k SSFS
[14606.287137] openvswitch: disagrees about version of symbol module_layout
[17049.097625] openvswitch: disagrees about version of symbol module_layout
[17509.218103] openvswitch: disagrees about version of symbol module_layout

It seems that there maybe something disagreement between the version of raspberry pi(maybe Linux kernel) and the version of OpenvSwitch.

My software environment is as followed.
raspberry pi:
RASPBIAN
Debian Wheezy
Version:January 2014
Release date:2014-01-07
URL:raspbian.org
Kernel version:3.10
Release notes:Link
OpenvSwitch:
openvswitch-1.9.3.tar.gz(http://openvswitch.org/download/)

Hope for some instruction.
Thanks in advance.

Last edited by buptmuye; 04-02-2014 at 10:24 PM. Reason: update
 
Old 04-04-2014, 12:59 AM   #2
cliffordw
Member
 
Registered: Jan 2012
Location: South Africa
Posts: 509

Rep: Reputation: 203Reputation: 203Reputation: 203
Hi,

Just a wild guess, but the Module.symvers file might not be quite in sync with your kernel? Latest module.symvers is for kernel 3.10.34 - see https://github.com/raspberrypi/firmw...e/master/extra. Based on the release date of your OS, I'm guessing you're running closer to 3.10.24?

If this is the problem, you probably need to either recompile your kernel to the same version (from the source you downloaded), or find the correct version of Module.symvers.

I hope this helps :-)

Clifford
 
Old 04-09-2014, 07:16 AM   #3
buptmuye
LQ Newbie
 
Registered: Apr 2013
Location: China
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by cliffordw View Post
Hi,

Just a wild guess, but the Module.symvers file might not be quite in sync with your kernel? Latest module.symvers is for kernel 3.10.34 - see https://github.com/raspberrypi/firmw...e/master/extra. Based on the release date of your OS, I'm guessing you're running closer to 3.10.24?

If this is the problem, you probably need to either recompile your kernel to the same version (from the source you downloaded), or find the correct version of Module.symvers.

I hope this helps :-)

Clifford
Thanks for your advice. I'm compiling the kernel on the raspbian, in order to let it generates the Module.symvers. However, the progress is quite slow because of the CPU in raspberry pi.
 
  


Reply

Tags
raspberry pi



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
openvswitch, errors getting it installed on 3.4.68-9.el6.centos.alt.x86_64 kevinyeandel Linux - Virtualization and Cloud 0 11-26-2013 02:44 AM
Configure Openvswitch with vm and host on single port liche24 Linux - Virtualization and Cloud 0 02-04-2013 09:45 PM
$MACHTYPE doesn't match Peter Shepard Linux - General 0 12-16-2006 08:49 AM
sound doesn't match video.. RoaCh Of DisCor Slackware 4 09-18-2004 12:34 AM
Kernal doesn't match sources, I think?? baldy3105 Linux - Newbie 9 01-14-2004 10:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration