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
Hi all, I managed to cross-compile OVS 1.10 and install it on the mipsel router running dd-wrt kernel 2.6.23. After the patches OVS side and kernel side([1] [2]) it runs. But the error from [3] remains. This time it manifest as a Bus error. Gdb connected to gdbserver in target machine segfaults als

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 B Shelar

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

2013-03-05 Thread Palo Andi
in various orders (often through a > long chain of other header files), which can create circular > dependency issues. Since we not longer need this definition, > this simply removes the backport. > > Reported-by: Palo Andi > Signed-off-by: Jesse Gross > --- > dat

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
Hello, we compiled the kernel with ip_gre as a kernel module, so we remove it before insmod openvswitch_mod.ko. We don't get the error at dmesg(cannot register gre protocol handler) but ovs-vswitchd crashes again. Here is the backtrace: http://pastebin.com/AcUJ0abw Any idea on that? Thanks in advan

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

2013-03-01 Thread Palo Andi
Hi everybody, I am having this error message in dmesg when I: insmod openvswitch_mod.ko openvswitch: cannot register gre protocol handler Then when ovs-vswitchd goes in segmentation fault at the first received packet. I am deploying openvswitch in a custom build linux kernel for DD-WRT( http://ww

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

2013-03-01 Thread Palo Andi
Hi everybody, I am having this error message in dmesg when I: insmod openvswitch_mod.ko openvswitch: cannot register gre protocol handler Then when ovs-vswitchd goes in segmentation fault at the first received packet. I am deploying openvswitch in a custom build linux kernel for DD-WRT( http://ww