Re: [ovs-discuss] openvswitch_mod: disagrees about version of symbol module_layout

2011-05-26 Thread Daniel Philip
Thank you for your quick support. On Thu, May 26, 2011 at 7:43 PM, Ben Pfaff wrote: > You need to find the correct Linux kernel headers that match your > running kernel, and then build against those. If you do that, then > the kernel module will load and work correctly. > > On Thu, May 26, 2011

Re: [ovs-discuss] openvswitch_mod: disagrees about version of symbol module_layout

2011-05-26 Thread Daniel Philip
Thanks. Can you also please tell me what should I be doing further? On Thu, May 26, 2011 at 7:37 PM, Ben Pfaff wrote: > On Thu, May 26, 2011 at 07:32:28PM +0200, Daniel Philip wrote: > > root@openflow:/home/openflow/openvswitch-1.1.0pre2# /sbin/modinfo > > /lib/modules/2.6.32-28-generic/kernel/n

Re: [ovs-discuss] openvswitch_mod: disagrees about version of symbol module_layout

2011-05-26 Thread Daniel Philip
Hi Ben, I tried running /sbin/modinfo on the same file as insmod and I obtained the following: root@openflow:/home/openflow/openvswitch-1.1.0pre2# /sbin/modinfo /lib/modules/2.6.32-28-generic/kernel/net/bridge/bridge.ko filename: /lib/modules/2.6.32-28-generic/kernel/net/bridge/bridge.ko v

Re: [ovs-discuss] openvswitch_mod: disagrees about version of symbol module_layout

2011-05-26 Thread Daniel Philip
Sorry Ben, I don't get you. when I type, $/sbin/modinfo, I don't see anything. I followed the same exact steps: $ wget http://openvswitch.org/releases/openvswitch-1.1.0pre2.tar.gz $ tar zxvf openvswitch-1.1.0pre2.tar.gz $ cd openvswitch-1.1.0pre2 Step2. Compile $ ./boot.sh $ ./configure

Re: [ovs-discuss] openvswitch_mod: disagrees about version of symbol module_layout

2011-05-26 Thread Daniel Philip
Hi Ben, Thanks for replying. I tried % /sbin/modinfo /lib/modules/`uname -r`/kernel/net/bridge/bridge.ko and obtained the following openflow@openflow:~/openvswitch-1.1.0pre2$ /sbin/modinfo /lib/modules/2.6.32-28-generic/kernel/net/bridge/bridge.ko filename: /lib/modules/2.6.32-28-generic/ke

Re: [ovs-discuss] openvswitch_mod: disagrees about version of symbol module_layout

2011-05-26 Thread Ben Pfaff
You need to find the correct Linux kernel headers that match your running kernel, and then build against those. If you do that, then the kernel module will load and work correctly. On Thu, May 26, 2011 at 07:39:23PM +0200, Daniel Philip wrote: > Thanks. Can you also please tell me what should I b

Re: [ovs-discuss] openvswitch_mod: disagrees about version of symbol module_layout

2011-05-26 Thread Ben Pfaff
On Thu, May 26, 2011 at 07:32:28PM +0200, Daniel Philip wrote: > root@openflow:/home/openflow/openvswitch-1.1.0pre2# /sbin/modinfo > /lib/modules/2.6.32-28-generic/kernel/net/bridge/bridge.ko > filename: /lib/modules/2.6.32-28-generic/kernel/net/bridge/bridge.ko > version:2.3 > licens

Re: [ovs-discuss] openvswitch_mod: disagrees about version of symbol module_layout

2011-05-26 Thread Ben Pfaff
I want you to run modinfo on the same file you ran insmod on. On Thu, May 26, 2011 at 06:07:41PM +0200, Daniel Philip wrote: > Sorry Ben, I don't get you. > > when I type, $/sbin/modinfo, I don't see anything. I followed the same > exact steps: > > $ wget http://openvswitch.org/releases/openvsw

Re: [ovs-discuss] openvswitch_mod: disagrees about version of symbol module_layout

2011-05-26 Thread Ben Pfaff
It's the same file you passed to insmod. On Thu, May 26, 2011 at 06:00:08PM +0200, Daniel Philip wrote: > Hi Ben, > > Thanks for replying. I tried % /sbin/modinfo /lib/modules/`uname > -r`/kernel/net/bridge/bridge.ko and obtained the following > > openflow@openflow:~/openvswitch-1.1.0pre2$ /sbin

Re: [ovs-discuss] openvswitch_mod: disagrees about version of symbol module_layout

2011-05-26 Thread Ben Pfaff
On Thu, May 26, 2011 at 05:46:15PM +0200, Daniel Philip wrote: > I get the following message when I try to run openvswitch using "/sbin/insmod > ./datapath/linux-2.6/openvswitch_mod.ko" > > insmod: error inserting './datapath/linux-2.6/openvswitch_mod.ko': -1 > Operation not permitted > > Hence,

[ovs-discuss] openvswitch_mod: disagrees about version of symbol module_layout

2011-05-26 Thread Daniel Philip
Hello, I get the following message when I try to run openvswitch using "/sbin/insmod ./datapath/linux-2.6/openvswitch_mod.ko" insmod: error inserting './datapath/linux-2.6/openvswitch_mod.ko': -1 Operation not permitted Hence, I tried dmesg | test and it shows the following message: openvswitch