[ovs-discuss] ovs-vswitchd crashes when add or delete dpdk port

txfh2007 txfh2007 at aliyun.com
Mon Jan 7 13:33:40 UTC 2019


Hi all:
    I am running ovs with dpdk(version: ovs: 2.10.1,  dpdk:17.11.4), and the ovs bridge topo is as below, I have found a problem when I add dpdk port or delete this port, the command is "ovs-vsctl add-port br-prv dpdk0 -- set Interface dpdk0 type=dpdk options:dpdk-devargs=0000:05:00.0"
,after add dpdk port, the ovs-vswitchd process crashes.The gdb trace results show when add dpdk port on bridge br-prv, the 'connmgr_send_port_status' has been called, but the ofconn->protocol is unknown, then the process aborted. When I delete this port on br-prv, ovs-vswitchd also crashes, gdb trace result is below. 
    Can anyone tell me if I was wrong, and what should I do to solve this problem. 
    Many thanks!!

      Bridge br-prv
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port phy-br-prv
            Interface phy-br-prv
                type: patch
                options: {peer=int-br-prv}
        Port br-prv
            Interface br-prv
                type: internal  
   
	
	Program received signal SIGABRT, Aborted.
	0x00007f15770f91d7 in raise () from /lib64/libc.so.6
	(gdb) bt
	#0  0x00007f15770f91d7 in raise () from /lib64/libc.so.6
	#1  0x00007f15770fa8c8 in abort () from /lib64/libc.so.6
	#2  0x000000000072c945 in ofputil_protocol_to_ofp_version (protocol=(unknown: 0)) at lib/ofp-protocol.c:123
	#3  0x0000000000726052 in ofputil_encode_port_status (ps=0x7ffdc6e20260, protocol=(unknown: 0)) at lib/ofp-port.c:938
	#4  0x000000000065f4bd in connmgr_send_port_status (mgr=0x2894f80, source=0x0, pp=0x28dcc00, reason=2 '\002')
	    at ofproto/connmgr.c:1654
	#5  0x00000000006105f5 in update_port (ofproto=0x288cad0, name=0x2890940 "br-prv") at ofproto/ofproto.c:2652
	#6  0x000000000060e8c7 in ofproto_run (p=0x288cad0) at ofproto/ofproto.c:1818
	#7  0x00000000005ff077 in bridge_run__ () at vswitchd/bridge.c:2944
	#8  0x00000000005ff255 in bridge_run () at vswitchd/bridge.c:3002
#9  0x000000000060481e in main (argc=12, argv=0x7ffdc6e20698) at vswitchd/ovs-vswitchd.c:125


More information about the discuss mailing list