Hi, I am having trouble trying to run ovs-vswitchd in userspace mode. I get the following behaviour:
$ sudo ovs-vswitchd unix:/usr/local/var/run/openvswitch/db.sock --pidfile Mar 05 18:52:54|00001|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock: connecting... Mar 05 18:52:54|00002|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock: connected Mar 05 18:52:54|00003|dpif_linux|ERR|Generic Netlink family 'odp_datapath' does not exist. The Open vSwitch kernel module is probably not loaded. Mar 05 18:52:54|00004|dpif|WARN|failed to enumerate system datapaths: No such file or directory If I go ahead and try to add a bridge using: $ sudo ovs-vsctl add-br br0 I get the following output from ovs-vswitchd: Mar 05 18:55:46|00005|dpif|WARN|failed to create datapath br0: No such file or directory The version of Open vSwitch I am using is the latest checked out from git. Also I should add that I am able to run ovs-openflowd in userspace mode. However I need to use ovs-vswitchd for using QoS queues on my switch's interfaces. Regards, Akbar On Thu, Feb 24, 2011 at 11:40 AM, Justin Pettit <[email protected]> wrote: > An assertion failure was fixed about a week ago, so please try the latest > from git. We're hoping to get a new release out in the next few weeks. > > --Justin > > > On Feb 23, 2011, at 10:20 PM, Syed Akbar Mehdi wrote: > > > I am using openvswitch-1.1.0pre2. Should I check out the latest revision > from git instead? > > > > Thanks, > > Akbar > > > > On Wed, Feb 23, 2011 at 10:40 PM, Ben Pfaff <[email protected]> wrote: > > On Wed, Feb 23, 2011 at 09:43:11PM +0500, Syed Akbar Mehdi wrote: > > > I am trying to use Open vSwitch without kernel support. I installed OVS > > > following the instructions in > > > > http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.Linux;hb=HEAD > . > > > However I did not create a bridge using ovs-vsctl as indicated at the > end of > > > that manual. Instead I followed the instructions given in > > > "INSTALL.userspace" and tried to start the ovs-openflowd in userspace > mode > > > using the command: > > > > > > ovs-openflowd netdev@br0 --ports=eth0,eth1,eth2 > > > > > > The problem is that ovs-openflowd crashes with a segmentation fault. > Here is > > > the output I get: > > > > What version of OVS are you using? We recently fixed a segmentation > > fault in the userspace switch. > > > > > > > > -- > > Regards, > > Syed Akbar Mehdi, > > School of EECS (SEECS), > > National University of Sciences and Technology (NUST), > > Pakistan. > > > > _______________________________________________ > > discuss mailing list > > [email protected] > > http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org > > -- Regards, Syed Akbar Mehdi, School of EECS (SEECS), National University of Sciences and Technology (NUST), Pakistan.
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
