[ovs-dev] WARNING: "gre_add_protocol" [...] undefined!

Jesse Gross jesse at nicira.com
Tue Jun 25 21:58:45 UTC 2013


On Tue, Jun 25, 2013 at 2:47 PM, Roam Pune <roampune at gmail.com> wrote:
>
>
> On Mon, Jun 24, 2013 at 10:09 AM, Ben Pfaff <blp at nicira.com> wrote:
>>
>> [oops, sorry, re-sending because I screwed up the list address on the
>> first try]
>>
>> I'm getting the following warnings in my OVS master build tree (commit
>> ede77a461fb "datapath: Fix a kernel crash caused by corrupted mask
>> list."):
>>
>>   Building modules, stage 2.
>>   MODPOST 1 modules
>> WARNING: "gre_add_protocol"
>> [/home/blp/ovs/_build/datapath/linux/openvswitch.ko] undefined!
>> WARNING: "gre_del_protocol"
>> [/home/blp/ovs/_build/datapath/linux/openvswitch.ko] undefined!
>>   CC      /home/blp/ovs/_build/datapath/linux/openvswitch.mod.o
>>   LD [M]  /home/blp/ovs/_build/datapath/linux/openvswitch.ko
>>
>> I'm building against Linux 3.2.0 with the attached .config.
>>
>> insmod fails in my test VM:
>>
>>     + insmod /cdrom/openvswitch.ko
>>     [   13.017859] Disabling lock debugging due to kernel taint
>>     [   13.018742] openvswitch: Unknown symbol gre_del_protocol (err 0)
>>     [   13.019312] openvswitch: Unknown symbol gre_add_protocol (err 0)
>>     Error: could not insert module /cdrom/openvswitch.ko: Unknown symbol
>> in module
>
>
> i got same error, but then i found a way around it using following command:
>
> $ sudo insmod datapath/linux/openvswitch.ko
> insmod: error inserting 'datapath/linux/openvswitch.ko': -1 Unknown symbol
> in module
>
> $ sudo modprobe gre
> $ sudo insmod datapath/linux/openvswitch.ko
> $ sudo lsmod | grep -i open
> openvswitch            75841  0
> gre                    12989  1 openvswitch
>
> Hope this helps.

I sent out some patches.



More information about the dev mailing list