[ovs-discuss] Bug version 2.1.90 - failed to set upcall pid on port: Numerical result out of range

Alex Wang alexw at nicira.com
Tue Apr 22 00:08:23 UTC 2014


Hey Ben,

Yeah, this is introduced by my changes.  I'm working on a fix.

Alex Wang,
Thx,


On Mon, Apr 21, 2014 at 4:48 PM, Ben Pfaff <blp at nicira.com> wrote:

> Yes, I'm seeing these too on current master.  I bisected it to the
> following commit:
>
>     commit 9a159f748866136a126474137604b2b020bd3574
>     Author: Alex Wang <alexw at nicira.com>
>     Date:   Wed Feb 26 23:03:24 2014 -0800
>
>         ofproto-dpif-upcall: Remove the dispatcher thread.
>
>         With the foundation laid in previous commits, this commit
>         removes the 'dispatcher' thread by allowing 'handler'
>         threads to read upcalls directly from dpif.
>
>         This commit significantly simplifies the flow miss handling
>         code and brings slight improvement to flow setup rate.
>
>         Signed-off-by: Alex Wang <alexw at nicira.com>
>         Acked-by: Ethan Jackson <ethan at nicira.com>
>
> Alex, why do we get these new ERANGE errors?  Can we fix them?
>
> On Sun, Apr 20, 2014 at 02:28:08AM +0100, Andr? Martins wrote:
> > Hello, when I run this on console 1:
> > sudo ovs-vswitchd --pidfile
> > and this on console 2:
> > sudo mn --switch ovsk --controller ref --topo single,3
> >
> > I got this on console 1:
> >
> 2014-04-20T01:24:58Z|00001|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock:
> > connecting...
> >
> 2014-04-20T01:24:58Z|00002|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock:
> > connected
> > 2014-04-20T01:24:58Z|00003|bridge|INFO|ovs-vswitchd (Open vSwitch) 2.1.90
> > 2014-04-20T01:25:01Z|00004|dpif|WARN|system at ovs-system: failed to
> > put[create][modify] (Invalid argument)
> skb_priority(0),skb_mark(0),recirc_id(0x1),dp_hash(0x1),in_port(0),eth(src=00:00:00:00:00:00,dst=00:00:00:00:00:00)
> > 2014-04-20T01:25:01Z|00005|ofproto_dpif|INFO|system at ovs-system:
> > Datapath does not support recirculation
> > 2014-04-20T01:25:01Z|00006|dpif|WARN|system at ovs-system: failed to
> > put[create][modify] (Invalid argument)
> skb_priority(0),skb_mark(0),in_port(0),eth(src=00:00:00:00:00:00,dst=00:00:00:00:00:00),eth_type(0x8847),mpls(label=0,tc=0,ttl=0,bos=1)
> > 2014-04-20T01:25:01Z|00007|ofproto_dpif|INFO|system at ovs-system: MPLS
> > label stack length probed as 0
> > 2014-04-20T01:25:01Z|00008|bridge|INFO|bridge s1: added interface s1
> > on port 65534
> > 2014-04-20T01:25:01Z|00009|bridge|INFO|bridge s1: using datapath ID
> > 00004a335765d64b
> > 2014-04-20T01:25:01Z|00010|connmgr|INFO|s1: added service controller
> > "punix:/usr/local/var/run/openvswitch/s1.mgmt"
> > 2014-04-20T01:25:01Z|00011|dpif_linux|WARN|system at ovs-system: failed
> > to set upcall pid on port: Numerical result out of range
> > 2014-04-20T01:25:01Z|00012|dpif_linux|WARN|system at ovs-system: failed
> > to set upcall pid on port: Numerical result out of range
> > 2014-04-20T01:25:01Z|00013|dpif|WARN|system at ovs-system: handlers_set
> > failed (Numerical result out of range)
> > 2014-04-20T01:25:01Z|00014|ofproto_dpif_upcall|ERR|failed to
> > configure handlers in dpif system at ovs-system: Numerical result out
> > of range
> > 2014-04-20T01:25:01Z|00015|bridge|INFO|bridge s1: using datapath ID
> > 0000000000000001
> > 2014-04-20T01:25:01Z|00016|dpif_linux|WARN|system at ovs-system: failed
> > to set upcall pid on port: Numerical result out of range
> > 2014-04-20T01:25:01Z|00017|dpif_linux|WARN|system at ovs-system: failed
> > to set upcall pid on port: Numerical result out of range
> > 2014-04-20T01:25:01Z|00018|dpif|WARN|system at ovs-system: handlers_set
> > failed (Numerical result out of range)
> > 2014-04-20T01:25:01Z|00019|ofproto_dpif_upcall|ERR|failed to
> > configure handlers in dpif system at ovs-system: Numerical result out
> > of range
> > 2014-04-20T01:25:01Z|00020|bridge|INFO|bridge s1: added interface
> > s1-eth1 on port 1
> > 2014-04-20T01:25:01Z|00021|bridge|INFO|bridge s1: added interface
> > s1-eth2 on port 2
> > 2014-04-20T01:25:01Z|00022|bridge|INFO|bridge s1: added interface
> > s1-eth3 on port 3
> > 2014-04-20T01:25:01Z|00023|connmgr|INFO|s1: added service controller
> > "ptcp:6634"
> > 2014-04-20T01:25:01Z|00024|connmgr|INFO|s1: added primary controller
> > "tcp:127.0.0.1:6633"
> > 2014-04-20T01:25:01Z|00025|rconn|INFO|s1<->tcp:127.0.0.1:6633:
> connecting...
> > 2014-04-20T01:25:01Z|00026|dpif_linux|WARN|system at ovs-system: failed
> > to set upcall pid on port: Numerical result out of range
> >
> > <=======>
> > This only happens with version 2.1.90, the version 2.1.0 doesn't
> > have any problems.
> > Thanks,
> > Andr? Martins
> >
> > _______________________________________________
> > discuss mailing list
> > discuss at openvswitch.org
> > http://openvswitch.org/mailman/listinfo/discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140421/636440db/attachment-0002.html>


More information about the discuss mailing list