Hello, These are the errors I get when running make: /root/openVswitch/openvswitch-1.9.3/datapath/linux/vport-internal_dev.c: In function \u2018do_setup\u2019: /root/openVswitch/openvswitch-1.9.3/datapath/linux/vport-internal_dev.c:197: error: \u2018struct net_device\u2019 has no member named \u2018do_ioctl\u2019 /root/openVswitch/openvswitch-1.9.3/datapath/linux/vport-internal_dev.c:198: error: \u2018struct net_device\u2019 has no member named \u2018get_stats\u2019 /root/openVswitch/openvswitch-1.9.3/datapath/linux/vport-internal_dev.c:198: error: \u2018internal_dev_sys_stats\u2019 undeclared (first use in this function) /root/openVswitch/openvswitch-1.9.3/datapath/linux/vport-internal_dev.c:198: error: (Each undeclared identifier is reported only once /root/openVswitch/openvswitch-1.9.3/datapath/linux/vport-internal_dev.c:198: error: for each function it appears in.) /root/openVswitch/openvswitch-1.9.3/datapath/linux/vport-internal_dev.c:199: error: \u2018struct net_device\u2019 has no member named \u2018hard_start_xmit\u2019 /root/openVswitch/openvswitch-1.9.3/datapath/linux/vport-internal_dev.c:200: error: \u2018struct net_device\u2019 has no member named \u2018open\u2019 /root/openVswitch/openvswitch-1.9.3/datapath/linux/vport-internal_dev.c:201: error: \u2018struct net_device\u2019 has no member named \u2018stop\u2019 /root/openVswitch/openvswitch-1.9.3/datapath/linux/vport-internal_dev.c:202: error: \u2018struct net_device\u2019 has no member named \u2018set_mac_address\u2019 /root/openVswitch/openvswitch-1.9.3/datapath/linux/vport-internal_dev.c:203: error: \u2018struct net_device\u2019 has no member named \u2018change_mtu\u2019 /root/openVswitch/openvswitch-1.9.3/datapath/linux/vport-internal_dev.c: In function \u2018ovs_is_internal_dev\u2019: /root/openVswitch/openvswitch-1.9.3/datapath/linux/vport-internal_dev.c:336: error: \u2018const struct net_device\u2019 has no member named \u2018open\u2019 make[7]: *** [/root/openVswitch/openvswitch-1.9.3/datapath/linux/vport-internal_dev.o] Error 1 make[6]: *** [_module_/root/openVswitch/openvswitch-1.9.3/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.3/datapath/linux' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/openVswitch/openvswitch-1.9.3/datapath' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/openVswitch/openvswitch-1.9.3' make: *** [all] Error 2
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Cristina Palomo Regidor Sent: miƩrcoles, 11 de septiembre de 2013 16:12 To: [email protected] Subject: Re: [ovs-discuss] The Open vSwitch kernel module is probably not loaded. 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: [email protected] 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:[email protected]] Sent: martes, 10 de septiembre de 2013 18:22 To: Cristina Palomo Regidor Cc: [email protected] 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 <[email protected]> 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). _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
