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 <a...@dis.uniroma1.it> wrote:

> 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 <je...@nicira.com> wrote:
>
>> On Tue, Mar 5, 2013 at 3:44 PM, Pravin B Shelar <pshe...@nicira.com>
>> wrote:
>> > diff --git a/datapath/tunnel.c b/datapath/tunnel.c
>> > index 83d2c41..dbe4ebc 100644
>> > --- a/datapath/tunnel.c
>> > +++ b/datapath/tunnel.c
>> > @@ -27,6 +27,7 @@
>> >  #include <linux/version.h>
>> >  #include <linux/workqueue.h>
>> >  #include <linux/rculist.h>
>> > +#include <net/ip.h>
>> >  #include <net/route.h>
>> >  #include <net/xfrm.h>
>> >
>> > @@ -203,6 +204,7 @@ error:
>> >         return ERR_PTR(err);
>> >  }
>> >
>> > +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
>>
>> I'm somewhat inclined to provide a backport for
>> inet_get_local_port_range() for kernels older than 2.6.24 (which is
>> when it was actually introduced).  If there isn't an easy alternate
>> way to get those values, then it can just statically return some
>> defaults.
>> _______________________________________________
>> dev mailing list
>> dev@openvswitch.org
>> http://openvswitch.org/mailman/listinfo/dev
>>
>
>
>
> --
> -------------------------------------------------------------------------
> *University of Rome "La Sapienza"*
>
> *Ing Andi Palo*
> *PhD student*
> *Department of Computer, Control and Management Engineering (DIAG)*
>
> Via Ariosto, 25 - 00185 Rome - Italy
> Tel: +39 06 77274034
>



-- 
-------------------------------------------------------------------------
*University of Rome "La Sapienza"*

*Ing Andi Palo*
*PhD student*
*Department of Computer, Control and Management Engineering (DIAG)*

Via Ariosto, 25 - 00185 Rome - Italy
Tel: +39 06 77274034
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to