[ovs-discuss] need help - installing userspace openvswitch

Justin Pettit jpettit at nicira.com
Sun Apr 8 21:28:53 UTC 2012


Yes, you need to build the kernel module as described in INSTALL.Linux.  The important part is the "--with-linux" option in the configure line.  Make sure that points to your kernel sources.

--Justin 


On Apr 8, 2012, at 12:38 PM, evo evo wrote:

> 
>  Hi All,
> 
> I am new to openvswitch, want to compile and install userspace vswitch, i am using ubuntu/64bit AMD machine.
> 
> I followed all the steps on INSTALL.Linux and INSTALL.Linux.
> 
> * ovsdb-server is running smoothly.
> * ovs-vswitchd is able to connect to ovsdb-server.
> 
> but i see below error when i start ovs-vswitchd by "ovs-vswitchd --pidfile --detach":
> 
> 2012-04-08T19:12:25Z|00004|dpif_linux|ERR|Generic Netlink family 'ovs_datapath' does not exist. The Open vSwitch kernel module is probably not loaded.
> 2012-04-08T19:12:25Z|00005|dpif|WARN|failed to enumerate system datapaths: No such file or directory
> 
> 
> 1) How do i resolve above error?
> 2) Do i need to compile kernel module to resolve above error?
> 3) One more thing, when i compile openvswitch i get all the binaries on /usr/local/bin and /usr/local/sbin but i don't see 
> any "datapath/linux/openvswitch.ko" being genrated, not sure if there is any separate compilation for this.
> 
> Any info will be very helpful for me.
> 
> thanks,
> 
> regards,
> Evo.
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss




More information about the discuss mailing list