[ovs-discuss] The Open vSwitch kernel module is probably not loaded.

Cristina Palomo Regidor cristina.palomo.regidor at ericsson.com
Wed Sep 11 14:12:12 UTC 2013


Hello,
I see that they have released the version 1.9.3 LTS openvswitch so I have installed it but I have the same problem.
When I try to run this command 
 % ./configure --with-linux=/lib/modules/`uname -r`/build

And after it I run "make" I get some errors.

So do you have any idea, what could I do?

Thanks and BR/

-----Original Message-----
From: Cristina Palomo Regidor 
Sent: miércoles, 11 de septiembre de 2013 11:08
To: 'Jesse Gross'
Cc: discuss at openvswitch.org
Subject: RE: [ovs-discuss] The Open vSwitch kernel module is probably not loaded.

Hi Jesse,
This is the kernel that I have in my system:
sccf1-dell1:~/openVswitch/openvswitch-1.9.0 # uname -r 3.0.76-0.11-default

Do you know what can I do to solve this problem?

Thanks.

-----Original Message-----
From: Jesse Gross [mailto:jesse at nicira.com]
Sent: martes, 10 de septiembre de 2013 18:22
To: Cristina Palomo Regidor
Cc: discuss at openvswitch.org
Subject: Re: [ovs-discuss] The Open vSwitch kernel module is probably not loaded.

On Tue, Sep 10, 2013 at 6:38 AM, Cristina Palomo Regidor <cristina.palomo.regidor at ericsson.com> wrote:
>
>
> Hello,
>
> I have installed openvswitch in sles 11 sp3 running:
>
> ./configure
>
> make
>
> make install
>
>
>
> But when I reach this point I receive following error:
>
>
>
> sccf1-dell1:~ # ovs-vswitchd --pidfile --detach
>
> 2013-09-09T09:40:56Z|00001|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock:
> connecting...
>
> 2013-09-09T09:40:56Z|00002|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock:
> connected
>
> 2013-09-09T09:40:56Z|00003|dpif_linux|ERR|Generic Netlink family 
> 'ovs_datapath' does not exist. The Open vSwitch kernel module is 
> probably not loaded.
>
> 2013-09-09T09:40:56Z|00004|dpif|WARN|failed to enumerate system datapaths:
> No such file or directory
>
>
>
>
>
> Then, after this error I have tried to run configure with the 
> following
> options:
>
> % ./configure --with-linux=/lib/modules/`uname -r`/build
>
>
>
> And when I do make I receive following error:
>
>
>
> sccf1-dell1:~/openVswitch/openvswitch-1.9.0 # make
>
> make  all-recursive
>
> make[1]: Entering directory `/root/openVswitch/openvswitch-1.9.0'
>
> Making all in datapath
>
> make[2]: Entering directory `/root/openVswitch/openvswitch-1.9.0/datapath'
>
> Making all in linux
>
> make[3]: Entering directory
> `/root/openVswitch/openvswitch-1.9.0/datapath/linux'
>
> make -C /lib/modules/3.0.76-0.11-default/build
> M=/root/openVswitch/openvswitch-1.9.0/datapath/linux  modules
>
> make[4]: Entering directory `/usr/src/linux-3.0.76-0.11-obj/x86_64/default'
>
> make -C ../../../linux-3.0.76-0.11
> O=/usr/src/linux-3.0.76-0.11-obj/x86_64/default/. modules
>
>   CC [M]
> /root/openVswitch/openvswitch-1.9.0/datapath/linux/brcompat_main.o
>
> In file included from
> /root/openVswitch/openvswitch-1.9.0/datapath/linux/brcompat_main.c:25:
>
> /root/openVswitch/openvswitch-1.9.0/datapath/linux/compat/include/linux/etherdevice.h:13:
> error: re definition of \u2018eth_hw_addr_random\u2019
>
> /usr/src/linux-3.0.76-0.11/include/linux/etherdevice.h:173: error: 
> previous definition of \u2018eth_hw_a ddr_random\u2019 was here
>
> /root/openVswitch/openvswitch-1.9.0/datapath/linux/compat/include/linux/etherdevice.h:
> In function \u2018eth_hw_addr_random\u2019:
>
> /root/openVswitch/openvswitch-1.9.0/datapath/linux/compat/include/linux/etherdevice.h:15:
> error: im plicit declaration of function
> \u2018dev_hw_addr_random\u2019
>
> make[7]: ***
> [/root/openVswitch/openvswitch-1.9.0/datapath/linux/brcompat_main.o]
> Error 1
>
> make[6]: ***
> [_module_/root/openVswitch/openvswitch-1.9.0/datapath/linux]
> Error 2
>
> make[5]: *** [sub-make] Error 2
>
> make[4]: *** [all] Error 2
>
> make[4]: Leaving directory `/usr/src/linux-3.0.76-0.11-obj/x86_64/default'
>
> make[3]: *** [default] Error 2
>
> make[3]: Leaving directory
> `/root/openVswitch/openvswitch-1.9.0/datapath/linux'
>
> make[2]: *** [all-recursive] Error 1
>
> make[2]: Leaving directory `/root/openVswitch/openvswitch-1.9.0/datapath'
>
> make[1]: *** [all-recursive] Error 1
>
> make[1]: Leaving directory `/root/openVswitch/openvswitch-1.9.0'
>
> make: *** [all] Error 2
>
>
>
> Could you help me how to solve the error of module not loaded?

This is due to a backport in the SLES kernel. It should already be addressed with newer releases in the 1.9.x series (and releases after that as well).


More information about the discuss mailing list