-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hello
Ubuntu 14.04 will probably ship with a 2.0.x based OpenvSwitch
implementation alongside the 3.13 kernel; however the DKMS modules
does not currently work with the 3.13 kernel due to changes in the API
for multicast comms (might be other bits as well):
CC [M]
/var/lib/dkms/openvswitch/2.0.1+git20140106/source/datapath/linux/datapath.o
In file included from
/var/lib/dkms/openvswitch/2.0.1+git20140106/source/datapath/linux/datapath.c:52:0:
/var/lib/dkms/openvswitch/2.0.1+git20140106/source/datapath/linux/compat/include/net/genetlink.h:20:13:
error: conflicting types for ‘genl_notify’
extern void genl_notify(struct sk_buff *skb, struct net *net, u32 portid,
^
In file included from
/var/lib/dkms/openvswitch/2.0.1+git20140106/source/datapath/linux/compat/include/net/genetlink.h:7:0,
from
/var/lib/dkms/openvswitch/2.0.1+git20140106/source/datapath/linux/datapath.c:52:
include/net/genetlink.h:176:6: note: previous declaration of
‘genl_notify’ was here
void genl_notify(struct genl_family *family,
^
/var/lib/dkms/openvswitch/2.0.1+git20140106/source/datapath/linux/datapath.c:
In function ‘ovs_notify’:
/var/lib/dkms/openvswitch/2.0.1+git20140106/source/datapath/linux/datapath.c:73:10:
error: ‘struct genl_multicast_group’ has no member named ‘id’
grp->id, info->nlhdr, GFP_KERNEL);
^
/var/lib/dkms/openvswitch/2.0.1+git20140106/source/datapath/linux/datapath.c:
In function ‘ovs_flow_cmd_new_or_set’:
/var/lib/dkms/openvswitch/2.0.1+git20140106/source/datapath/linux/datapath.c:1387:32:
error: ‘struct genl_multicast_group’ has no member named ‘id’
ovs_dp_flow_multicast_group.id, PTR_ERR(reply));
^
/var/lib/dkms/openvswitch/2.0.1+git20140106/source/datapath/linux/datapath.c:
In function ‘ovs_dp_cmd_set’:
/var/lib/dkms/openvswitch/2.0.1+git20140106/source/datapath/linux/datapath.c:1831:36:
error: ‘struct genl_multicast_group’ has no member named ‘id’
ovs_dp_datapath_multicast_group.id, err);
^
/var/lib/dkms/openvswitch/2.0.1+git20140106/source/datapath/linux/datapath.c:
In function ‘dp_register_genl’:
/var/lib/dkms/openvswitch/2.0.1+git20140106/source/datapath/linux/datapath.c:2328:19:
error: macro "genl_register_family_with_ops" passed 3 arguments, but
takes just 2
f->n_ops);
^
/var/lib/dkms/openvswitch/2.0.1+git20140106/source/datapath/linux/datapath.c:2327:9:
error: ‘genl_register_family_with_ops’ undeclared (first use in this
function)
err = genl_register_family_with_ops(f->family, f->ops,
^
/var/lib/dkms/openvswitch/2.0.1+git20140106/source/datapath/linux/datapath.c:2327:9:
note: each undeclared identifier is reported only once for each
function it appears in
/var/lib/dkms/openvswitch/2.0.1+git20140106/source/datapath/linux/datapath.c:2334:4:
error: implicit declaration of function ‘genl_register_mc_group’
[-Werror=implicit-function-declaration]
err = genl_register_mc_group(f->family, f->group);
^
cc1: some warnings being treated as errors
make[2]: ***
[/var/lib/dkms/openvswitch/2.0.1+git20140106/source/datapath/linux/datapath.o]
Error 1
make[1]: ***
[_module_/var/lib/dkms/openvswitch/2.0.1+git20140106/source/datapath/linux]
Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-0-generic'
make: *** [default] Error 2
That said, for the majority of users the DKMS module is not going to
be required as the native openvswitch module in the 3.13 kernel
supports both GRE and VXLAN, so the only missing feature is LISP based
tunnelling.
It would be nice to see this fixed for users of more bleeding edge
features who want to use the DKMS modules
Ubuntu bug reference:
[0] https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1266749
Cheers
James
- --
James Page
Ubuntu and Debian Developer
[email protected]
[email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBCAAGBQJSy/erAAoJEL/srsug59jDmyYQAKknlEt7V8ucjvL3TfoCf8s7
JeAuXJECuK7c6uZCd/2la+i99d+XGXnS/8bbKsjL8+Tv9+7/pqiE6TMEpHivY0xs
0BB7pC983vS2hKM6GbxwBpc9rhJQgEifMKKIm9wkNaqioo3jq7AwYlFMelusa7RT
giCavBYlmQp79XvlldUWnRwtwpN7D5uS+CsKbgHTs9muZw7y/QrGTjyXppXKCRhI
C4Lyyqgl0Mi6y2nwEbtOA4f71ktvTpFuNI+qMmKHe6LItzHJwFLCOX3iEg8AjT4u
X82d4PfZVpPJ7iJC+YAzv7Is1B1ukEANi7m6fVWcWhtSFx37u11sElbsFTtPkHPS
+gOITNejzg0eEkB0lunylCtlAGlLXU8CyhItw8zYuEwcAkzfgARQmMx/nmZV4Zhr
QyB5j1FC3M45d71ixCjE1QBv+QAHDsM619cVuRtrWsNCjO6WzkwWF9s+rOx1S68n
kU5WYgi5ZDkcepYYFxBZDHYVOotit/3qah9UeCQlERFiQtWvmHWnX+o6dTUlHcZ7
mra3I3upnf0X5wwhSlm/ikrgfs/d1si3PcYlXypxCkvF/KdzsveyXqEOVC8jzy5R
SirT7afxk1IRiEfzTeK/1jdM33JkNWQTR1Vivtou+e/yyfiJuSraJsL5CW/8Dnss
Qo9QWhYLmRiQENriR5Ox
=rV8K
-----END PGP SIGNATURE-----
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss