Hi, I am new to Open vSwitch and had a few question about open vswitch setup in userspace in dom0 (2.6.26-2-xen-686). I followed steps 1 to 5 from INSTALL.Linux to compile and install open vswitch.
% ./configure % make % su % make install I then initialize the configuration database using ovsdb-tools as instructed on step 7. % ovsdb-tool create /usr/local/etc/ovs-vswitchd.conf.db vswitchd/vswitch.ovsschema I made sure that directory /sys/class/misc/tun and /dev/net/tun exist. All this looked like it worked fine until I tried to initialize the database and started open vswitch daemon. I got the following error when I tried to setup a bridge using the command "ovs-vsctl add-br br0". r...@ettm:/home/ettm/Desktop/openvswitch-1.0.1# ovsdb-tool create /usr/local/etc/ovs-vswitchd.conf.db vswitchd/vswitch.ovsschema r...@ettm:/home/ettm/Desktop/openvswitch-1.0.1# ovsdb-server /usr/local/etc/ovs-vswitchd.conf.db --remote=punix:/usr/local/var/run/openvswitch/db.sock Jul 29 12:42:33|00001|reconnect|INFO|unix:/tmp/stream-unix.8222.0: connecting... Jul 29 12:42:33|00002|reconnect|INFO|unix:/tmp/stream-unix.8222.0: connected Jul 29 12:42:39|00003|jsonrpc|INFO|unix:/tmp/stream-unix.8222.0: connection closed Jul 29 12:42:39|00004|reconnect|INFO|unix:/tmp/stream-unix.8222.0: connection dropped Jul 29 12:43:21|00005|reconnect|INFO|unix:/tmp/stream-unix.8251.0: connecting... Jul 29 12:43:21|00006|reconnect|INFO|unix:/tmp/stream-unix.8251.0: connected Jul 29 12:55:12|00007|reconnect|INFO|unix:/tmp/stream-unix.10566.0: connecting... Jul 29 12:55:12|00008|reconnect|INFO|unix:/tmp/stream-unix.10566.0: connected Jul 29 12:55:12|00009|jsonrpc|INFO|unix:/tmp/stream-unix.10566.0: connection closed Jul 29 12:55:12|00010|reconnect|INFO|unix:/tmp/stream-unix.10566.0: connection dropped r...@ettm:/home/ettm/Desktop/openvswitch-1.0.1# ovs-vsctl init Alarm clock r...@ettm:/home/ettm/Desktop/openvswitch-1.0.1# ovs-vswitchd unix:/usr/local/var/run/openvswitch/db.sock Jul 29 12:43:21|00001|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock: connecting... Jul 29 12:43:21|00002|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock: connected Jul 29 12:43:21|00003|dpif_linux|ERR|/proc/devices: openvswitch major not found (is the module loaded?) Jul 29 12:43:21|00004|dpif|WARN|failed to enumerate system datapaths: No such device Jul 29 12:55:12|00005|dpif_linux|ERR|/proc/devices: openvswitch major not found (is the module loaded?) Jul 29 12:55:12|00006|dpif|WARN|failed to create datapath br0: No such device I am not sure what the error corresponds to. I would appreciate any help. Thanks, Hardeep
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org
