Re: [ovs-dev] OVS-VSWITCHD crashes when packet received from datapath

2013-03-06 Thread Palo Andi
Anyway, I have tested OVS version 1.4.0 and 1.4.1 and they work like a charm :) Thanks, Andi On 6 March 2013 16:45, Ben Pfaff wrote: > On Wed, Mar 06, 2013 at 04:05:01PM +0100, Palo Andi wrote: > > I managed to cross-compile OVS 1.10 and install it on the mipsel router > >

[ovs-dev] OVS-VSWITCHD crashes when packet received from datapath

2013-03-06 Thread Palo Andi
IN][POLLHUP] on fd 12 (<->) at lib/worker.c:385 1970-01-01T01:20:01Z|3|worker(worker)|INFO|worker process exiting Bus error Any idea? Thanks, Andi [1] http://openvswitch.org/pipermail/dev/2013-March/025815.html [2] http://openvswitch.org/pipermail/dev/2013-March/025828.html [3] http://o

Re: [ovs-dev] [PATCH] datapath: Fix compatibility with older kernel (<2.6.26).

2013-03-06 Thread Palo Andi
Hi, I solved even this error. That particular version of linux kernel did not export ksize symbol. I re-build the kernel with the patch to mm/slab.c. Practically I added EXPORT_SYMBOL(ksize); after the function definition in mm/slab.c. Andi On 6 March 2013 12:51, Palo Andi wrote: > Hi

Re: [ovs-dev] [PATCH] datapath: Fix compatibility with older kernel (<2.6.26).

2013-03-06 Thread Palo Andi
Hi all, the patches solved the compilation errors. But when I insert the kernel module (insmod openvswitch.ko) the module doesn't load. In dmesg I get: *openvswitch: Unknown symbol ksize* Thanks, Andi On 6 March 2013 01:34, Jesse Gross wrote: > On Tue, Mar 5, 2013 at 3:44 PM, Pravin

Re: [ovs-dev] [PATCH] datapath: Fix circular dependency between bug.h and kernel.h.

2013-03-05 Thread Palo Andi
Hi Jesse, thank you for the patch. It resolved the previous error. Now I get: CC [M] /home/andi/Desktop/openvswitch_last/datapath/linux/flow.o CC [M] /home/andi/Desktop/openvswitch_last/datapath/linux/genl_exec.o CC [M] /home/andi/Desktop/openvswitch_last/datapath/linux/tunnel.o /home/andi

Re: [ovs-dev] openvswitch: cannot register gre protocol handler

2013-03-05 Thread Palo Andi
Hello you mean, branch 1.9? The main dev branch is post 1.10. Andi On 5 March 2013 17:41, Ben Pfaff wrote: > On Tue, Mar 05, 2013 at 04:08:36PM +0100, Palo Andi wrote: > > Hello all, > > here is the backtrace: > > http://pastebin.com/Vpr8TKan > > > > openvswitc

Re: [ovs-dev] openvswitch: cannot register gre protocol handler

2013-03-05 Thread Palo Andi
Hello all, here is the backtrace: http://pastebin.com/Vpr8TKan openvswitch 1.6.1 Kernel version 2.6.23 We had to cross-compile gdbserver for mipsel. Thank you, Andi On 4 March 2013 17:06, Ben Pfaff wrote: > On Mon, Mar 04, 2013 at 10:10:21AM +0100, Palo Andi wrote: > > we com

Re: [ovs-dev] openvswitch: cannot register gre protocol handler

2013-03-04 Thread Palo Andi
ks in advance, Andi On 1 March 2013 20:33, Raffaele wrote: > > Il giorno 01/mar/2013, alle ore 20:23, Ben Pfaff ha > scritto: > > > On Fri, Mar 01, 2013 at 08:19:44PM +0100, Raffaele wrote: > >> @Ben > >> This is the dmesg [0] bu i don't have OOPSes in

[ovs-dev] openvswitch: cannot register gre protocol handler

2013-03-01 Thread Palo Andi
://www.dd-wrt.com/site/index) Any idea about kernel modules missing? Thank you! -- - *University of Rome "La Sapienza"* *Ing Andi Palo* *PhD student* *Department of Computer, Control and Management Engineering (D

[ovs-dev] openvswitch: cannot register gre protocol handler

2013-03-01 Thread Palo Andi
://www.dd-wrt.com/site/index) Any idea about kernel modules missing? Thank you! -- - *University of Rome "La Sapienza"* *Ing Andi Palo* *PhD student* *Department of Computer, Control and Management Engineering (D

Re: [ovs-dev] Problem adding flows openvswitch

2012-09-20 Thread Andi
On 09/19/2012 07:27 PM, Ben Pfaff wrote: On Wed, Sep 19, 2012 at 07:22:59PM +0200, Andi wrote: We have installed openvswitch in netkit(a user-mode linux front-end let's say) after cross-compiling it for UML. During the startup of the virtual machines we use a script to install openvswitch

Re: [ovs-dev] Problem adding flows openvswitch

2012-09-19 Thread Andi
On 09/19/2012 06:56 PM, Ben Pfaff wrote: On Wed, Sep 19, 2012 at 06:39:54PM +0200, Andi wrote: On 09/19/2012 06:14 PM, Ben Pfaff wrote: On Wed, Sep 19, 2012 at 03:35:56PM +0200, Andi wrote: On 09/18/2012 11:38 PM, Ben Pfaff wrote: On Tue, Sep 18, 2012 at 11:40:24PM +0200, Andi wrote: On 09

Re: [ovs-dev] Problem adding flows openvswitch

2012-09-19 Thread Andi
On 09/19/2012 06:14 PM, Ben Pfaff wrote: On Wed, Sep 19, 2012 at 03:35:56PM +0200, Andi wrote: On 09/18/2012 11:38 PM, Ben Pfaff wrote: On Tue, Sep 18, 2012 at 11:40:24PM +0200, Andi wrote: On 09/18/2012 11:29 PM, Ben Pfaff wrote: On Tue, Sep 18, 2012 at 11:33:33PM +0200, Andi wrote: On 09

Re: [ovs-dev] Problem adding flows openvswitch

2012-09-19 Thread Andi
On 09/18/2012 11:38 PM, Ben Pfaff wrote: On Tue, Sep 18, 2012 at 11:40:24PM +0200, Andi wrote: On 09/18/2012 11:29 PM, Ben Pfaff wrote: On Tue, Sep 18, 2012 at 11:33:33PM +0200, Andi wrote: On 09/18/2012 11:26 PM, Ben Pfaff wrote: On Tue, Sep 18, 2012 at 11:29:55PM +0200, Andi wrote: On 09

Re: [ovs-dev] Problem adding flows openvswitch

2012-09-18 Thread Andi
On 09/18/2012 11:26 PM, Ben Pfaff wrote: On Tue, Sep 18, 2012 at 11:29:55PM +0200, Andi wrote: On 09/18/2012 11:23 PM, Ben Pfaff wrote: On Tue, Sep 18, 2012 at 11:24:52PM +0200, Andi wrote: Hi Ben, thank you for your advices. Please find comments inline. Regards Andi On 09/18/2012 07:07 PM

Re: [ovs-dev] Problem adding flows openvswitch

2012-09-18 Thread Andi
On 09/18/2012 11:23 PM, Ben Pfaff wrote: On Tue, Sep 18, 2012 at 11:24:52PM +0200, Andi wrote: Hi Ben, thank you for your advices. Please find comments inline. Regards Andi On 09/18/2012 07:07 PM, Ben Pfaff wrote: On Tue, Sep 18, 2012 at 06:11:56PM +0200, Andi wrote: I am having some trouble

Re: [ovs-dev] Problem adding flows openvswitch

2012-09-18 Thread Andi
Hi Justin, yes, you are right. I should have seen that FAQ. Thank you. Your guess is right the problem is that I didn't specify a wildcard. Thank you Regards, Andi On 09/18/2012 07:06 PM, Justin Pettit wrote: OVS is "normalizing" your flows. The FAQ talks about this:

Re: [ovs-dev] Problem adding flows openvswitch

2012-09-18 Thread Andi
Hi Ben, thank you for your advices. Please find comments inline. Regards Andi On 09/18/2012 07:07 PM, Ben Pfaff wrote: On Tue, Sep 18, 2012 at 06:11:56PM +0200, Andi wrote: I am having some trouble in adding flow table entries with openvswitch. I am using nox with some modifications on it and

[ovs-dev] Problem adding flows openvswitch

2012-09-18 Thread Andi
-18T15:52:56Z|00115|ofp_util|INFO|post: priority=65535,ip,in_port=2,dl_vlan=0,dl_vlan_pcp=0,dl_src=ff:ff:ff:ff:ff:ff,dl_dst=ff:ff:ff:ff:ff:ff,nw_src=192.168.20.2,nw_dst=192.168.10.2,nw_proto=0,nw_tos=0/ Is this correct? Thanks in advace, Andi