Hi,
I have compiled ovs 1.11 and was working fine.
Now trying to install it through *.deb* packages which i generated as
explained in INSTALL.DEBIAN.
But i am not able to install datapath using
m-a a-i openvswitch-datapath
its showing this:
*Bad luck, the kernel headers for the target kernel version could
not be found and you did not specify other valid
kernel headers to use. *
*
*
*uname -r*
3.8.0-29-generic
*
*
*ls -l /usr/src*
linux -> linux-headers-3.8.0-29-generic
linux-headers-3.8.0-29
linux-headers-3.8.0-29-generic
openvswitch-1.11.0
openvswitch-datapath.tar.bz2
since my default kernel comes with ovs
*
*
*cat /boot/config-3.8.0-29-generic |grep -i openvswitch*
CONFIG_OPENVSWITCH=m
*modprobe openvswitch*
*modinfo openvswitch*
filename: /lib/modules/3.8.0-29-generic/updates/dkms/openvswitch.ko
version: *1.11.0*
license: GPL
description: Open vSwitch switching datapath
srcversion: 6F60612DEDF2D2B5CEF0F76
depends:
vermagic: 3.8.0-29-generic SMP mod_unload modversion
Since the default module is 1.11.0,is it possible to make it work with
generated .deb packages.
When i tried to do that by enabling
*modprobe openvswitch *
* *
and then
*ovs-dpctl dump-flows br0 *
shows
ovs-dpctl: opening datapath (No such device)
but* ovs-dpctl show*
shows
system@ovs-system:
lookups: hit:448281 *missed*:97 lost:1
flows: 5
port 0: ovs-system (internal)
port 1: br0 (internal)
port 2: eth0
from missed and lost value does that mean that data path is working as only
97 times it has to come to user space for generating flows,if data path is
working what could be the reason for
No such device for dump-flows
*ovs-dpctl -v dump-flows br0*
*
*
2013-09-29T14:37:45Z|00001|netlink_socket|DBG|nl_sock_transact_multiple__
(Success): nl(len:40, type=16(control), flags=1[REQUEST], seq=1,
pid=2488,genl(cmd=3,version=1)
2013-09-29T14:37:45Z|00002|netlink_socket|DBG|nl_sock_recv__ (Success):
nl(len:192, type=16(control), flags=0, seq=1, pid=2488,genl(cmd=1,version=2)
2013-09-29T14:37:45Z|00003|netlink_socket|DBG|nl_sock_transact_multiple__
(Success): nl(len:36, type=16(control), flags=1[REQUEST], seq=1,
pid=2488,genl(cmd=3,version=1)
2013-09-29T14:37:45Z|00004|netlink_socket|DBG|nl_sock_recv__ (Success):
nl(len:184, type=16(control), flags=0, seq=1, pid=2488,genl(cmd=1,version=2)
2013-09-29T14:37:45Z|00005|netlink_socket|DBG|nl_sock_transact_multiple__
(Success): nl(len:36, type=16(control), flags=1[REQUEST], seq=1,
pid=2488,genl(cmd=3,version=1)
2013-09-29T14:37:45Z|00006|netlink_socket|DBG|nl_sock_recv__ (Success):
nl(len:184, type=16(control), flags=0, seq=1, pid=2488,genl(cmd=1,version=2)
2013-09-29T14:37:45Z|00007|netlink_socket|DBG|nl_sock_transact_multiple__
(Success): nl(len:36, type=16(control), flags=1[REQUEST], seq=1,
pid=2488,genl(cmd=3,version=1)
2013-09-29T14:37:45Z|00008|netlink_socket|DBG|nl_sock_recv__ (Success):
nl(len:92, type=16(control), flags=0, seq=1, pid=2488,genl(cmd=1,version=2)
2013-09-29T14:37:45Z|00009|netlink_socket|DBG|nl_sock_transact_multiple__
(Success): nl(len:36, type=16(control), flags=1[REQUEST], seq=1,
pid=4294962918,genl(cmd=3,version=1)
2013-09-29T14:37:45Z|00010|netlink_socket|DBG|nl_sock_recv__ (Success):
nl(len:184, type=16(control), flags=0, seq=1,
pid=4294962918,genl(cmd=1,version=2)
2013-09-29T14:37:45Z|00011|netlink_socket|DBG|nl_sock_transact_multiple__
(Success): nl(len:32, type=25(ovs_datapath), flags=9[REQUEST][ECHO], seq=1,
pid=2488,genl(cmd=3,version=1)
2013-09-29T14:37:45Z|00012|netlink_socket|DBG|nl_sock_recv__ (Success):
nl(len:52, type=2(error), flags=0, seq=1, pid=2488 error(-19(No such
device), in-reply-to(nl(len:32, type=25(ovs_datapath),
flags=9[REQUEST][ECHO], seq=1, pid=2488))
2013-09-29T14:37:45Z|00013|netlink_socket|DBG|received NAK error=0 (No such
device)
Thanks,
kev
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss