Hi, This is a bug in the reference implementation of OpenFlow. Please raise this in openflow-discuss, preferably filing it as a bug in Trac (though it might already be there).
Regards KK On 16 December 2010 04:26, Syed Akbar Mehdi <akbar.me...@seecs.nust.edu.pk> wrote: > Hi, > > I having problems with setting a flow with action to forward packets to the > controller, while running a virtual network using NOX(0.9.0 Zaku) and > OpenFlowVMS (v1.0). > > I ran a simple test using the "hub" component in NOX. I changed the value of > action.port on line 90 of hub.cc to OFPP_CONTROLLER instead of OFPP_FLOOD. I > then used this updated hub in a simple virtual network created using > OpenFlowVMS, consisting of two hosts connected to a single datapath. When I > try to ping one host from the other, the controller gets the packet and > tries to install a flow on the datapath with the OFPP_CONTROLLER "port" in > the action.port field. At this time the datapath crashes. Here is the output > I get in the virtual machine: > > qemu:~# ofdatapath: lib/ofpbuf.c:168: ofpbuf_prealloc_headroom: Assertion > `size <= ofpbuf_headroom(b)' failed. > Dec 16 12:06:31|00002|fault|EMER|Caught signal 6. > 0x0805793f > 0xffffe400 (__kernel_sigreturn+0x0) > 0xb7e8fd88 (abort+0x188) > 0xb7e87590 (__assert_fail+0xf0) > 0x0805a789 > 0x0805a7ae (ofpbuf_push_uninit+0x1e) > 0x08051223 (dp_output_control+0x53) > 0x08052191 > 0x0805331c (dp_run+0x3bc) > 0x080545b5 (main+0x545) > 0xb7e7a455 (__libc_start_main+0xe5) > modprobe: FATAL: Could not load /lib/modules/2.6.27-rc1/modules.dep: No such > file or directory > > Dec 16 12:06:31|00014|netdev|ERR|ioctl(SIOCGIFFLAGS) on tap0 device failed: > No such device > Dec 16 12:06:31|00015|port_watcher|WARN|could not get flags for tap0 > Dec 16 12:06:31|00016|rconn|INFO|unix:/tmp/ofsw: connection closed by peer > Dec 16 12:06:32|00017|rconn|INFO|unix:/tmp/ofsw: connecting... > Dec 16 12:06:32|00018|vconn_unix|ERR|/tmp/vconn-unix.1030.2: connection to > /tmp/ofsw failed: Connection refused > Dec 16 12:06:32|00019|rconn|WARN|unix:/tmp/ofsw: connection failed > (Connection refused) > Dec 16 12:06:32|00020|rconn|INFO|unix:/tmp/ofsw: waiting 2 seconds before > reconnect > Dec 16 12:06:34|00021|rconn|INFO|unix:/tmp/ofsw: connecting... > > > Regards, > Akbar > > _______________________________________________ > nox-dev mailing list > nox-dev@noxrepo.org > http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org > > _______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org