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

Cristina Palomo Regidor cristina.palomo.regidor at ericsson.com
Tue Sep 10 13:38:59 UTC 2013


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?

Thanks and BR/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130910/3b825e98/attachment.html>


More information about the discuss mailing list