[dpdk-dev] Error about dpdk ovs on AWS VM

topperxin topperxin at 126.com
Tue May 5 13:45:34 CEST 2015


Hi list
         I am doing something about compile DPDK OVS on AWS VM, while I met some problem,
         1. I can only set the hugepagesize to 2M, not to 1G, the reason is the cpu only has
             flag 'pse', which support only 2M huge page size, while not has pdpe1gb, which support 1G huge
             page size. So, if I only use 2M huge page size, can I running DPDK OVS ?
         2. When I run the command:
              /vswitchd/ovs-vswitchd --dpdk -c 0x1 -n 2 -- unix:$DB_SOCK --pidfile --detach

             I will get some Error log, such as below, and then when I want to bridge one of the containers NIC as dpdk type, I will get error as below:
=============================================
             ovs-vsctl: Error detected while setting up '1eb915d295254_l'.  See ovs-vswitchd log for details.
=============================================            

Who can give me some advice on how to debug these errors? thanks a lot.

============================================================================
2015-05-05T11:32:29Z|00001|dpdk|INFO|No cuse_dev_name provided - defaulting to /dev/vhost-net
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 0 on socket 0
EAL: Support maximum 128 logical core(s) by configuration.
EAL: Detected 2 lcore(s)
EAL: VFIO modules not all loaded, skip VFIO support...
EAL: Setting up memory...
EAL: Ask a virtual area of 0xe00000 bytes
EAL: Virtual area found at 0x7f61d3400000 (size = 0xe00000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f61d3000000 (size = 0x200000)
EAL: Ask a virtual area of 0x3ec00000 bytes
EAL: Virtual area found at 0x7f6194200000 (size = 0x3ec00000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f6193e00000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f6193a00000 (size = 0x200000)
EAL: Requesting 512 pages of size 2MB from socket 0
EAL: TSC frequency is ~2793323 KHz
EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable clock cycles !
EAL: Master lcore 0 is ready (tid=d632db40;cpuset=[0])
EAL: PCI device 0000:00:03.0 on NUMA socket -1
EAL:   probe driver: 8086:10ed rte_ixgbevf_pmd
EAL:   PCI memory mapped at 0x7f61d4200000
EAL:   PCI memory mapped at 0x7f61d4204000
PMD: eth_ixgbevf_dev_init(): port 0 vendorID=0x8086 deviceID=0x10ed mac.type=ixgbe_mac_82599_vf
EAL: PCI device 0000:00:04.0 on NUMA socket -1
EAL:   probe driver: 8086:10ed rte_ixgbevf_pmd
EAL:   Not managed by a supported kernel driver, skipped
Zone 0: name:<MALLOC_S0_HEAP_0>, phys:0x37000000, len:0xb00000, virt:0x7f61d3400000, socket_id:0, flags:0
Zone 1: name:<RG_MP_log_history>, phys:0xa7800000, len:0x2080, virt:0x7f61d3000000, socket_id:0, flags:0
Zone 2: name:<MP_log_history>, phys:0x37b00000, len:0x28a0c0, virt:0x7f61d3f00000, socket_id:0, flags:0
Zone 3: name:<rte_eth_dev_data>, phys:0x37d8a0c0, len:0x1f400, virt:0x7f61d418a0c0, socket_id:0, flags:0
2015-05-05T11:32:30Z|00002|ovs_numa|INFO|Discovered 2 CPU cores on NUMA node 0
2015-05-05T11:32:30Z|00003|ovs_numa|INFO|Discovered 1 NUMA nodes and 2 CPU cores
2015-05-05T11:32:30Z|00004|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock: connecting...
VHOST_CONFIG: char device /dev/vhost-net already exists
2015-05-05T11:32:30Z|00005|dpdk|ERR|CUSE device setup failure.
2015-05-05T11:32:30Z|00006|netdev|ERR|failed to initialize dpdkvhost network device class: Unknown error -1
2015-05-05T11:32:30Z|00007|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock: connected
2015-05-05T11:32:30Z|00008|ofproto_dpif|INFO|netdev at ovs-netdev: Datapath supports recirculation
2015-05-05T11:32:30Z|00009|ofproto_dpif|INFO|netdev at ovs-netdev: MPLS label stack length probed as 3
2015-05-05T11:32:30Z|00010|ofproto_dpif|INFO|netdev at ovs-netdev: Datapath supports unique flow ids
2015-05-05T11:32:30Z|00011|bridge|INFO|bridge br0: added interface br0 on port 65534
2015-05-05T11:32:30Z|00012|netdev_linux|WARN|br0: obtaining netdev stats via vport failed (No such device)
PMD: ixgbevf_dev_configure(): Configured Virtual Function port id: 0
PMD: ixgbevf_dev_configure(): VF can't disable HW CRC Strip
PMD: ixgbe_dev_tx_queue_setup(): sw_ring=0x7f61d3ef4000 hw_ring=0x7f61d41a9500 dma_addr=0x37da9500
PMD: ixgbe_set_tx_function(): Using simple tx code path
PMD: ixgbe_set_tx_function(): Vector tx enabled.
PMD: check_rx_burst_bulk_alloc_preconditions(): Rx Burst Bulk Alloc Preconditions: rxq->rx_free_thresh=0, RTE_PMD_IXGBE_RX_MAX_BURST=32
PMD: ixgbe_dev_rx_queue_setup(): queue[0] doesn't meet Rx Bulk Alloc preconditions - canceling the feature for the whole port[0]
PMD: ixgbe_dev_rx_queue_setup(): sw_ring=0x7f61d3eefc80 sw_rsc_ring=(nil) hw_ring=0x7f61d41b9500 dma_addr=0x37db9500
PMD: ixgbevf_dev_rx_init(): forcing scatter mode
2015-05-05T11:32:30Z|00013|dpdk|INFO|Port 0: 06:33:ae:98:8c:8c
PMD: ixgbevf_dev_configure(): Configured Virtual Function port id: 0
PMD: ixgbevf_dev_configure(): VF can't disable HW CRC Strip
PMD: ixgbe_dev_tx_queue_setup(): sw_ring=0x7f61d3ef4100 hw_ring=0x7f61d41a9500 dma_addr=0x37da9500
PMD: ixgbe_set_tx_function(): Using simple tx code path
PMD: ixgbe_set_tx_function(): Vector tx enabled.
PMD: ixgbe_dev_tx_queue_setup(): sw_ring=0x7f61d3ee63c0 hw_ring=0x7f61d41c9580 dma_addr=0x37dc9580
PMD: ixgbe_set_tx_function(): Using simple tx code path
PMD: ixgbe_set_tx_function(): Vector tx enabled.
PMD: check_rx_burst_bulk_alloc_preconditions(): Rx Burst Bulk Alloc Preconditions: rxq->rx_free_thresh=0, RTE_PMD_IXGBE_RX_MAX_BURST=32
PMD: ixgbe_dev_rx_queue_setup(): queue[0] doesn't meet Rx Bulk Alloc preconditions - canceling the feature for the whole port[0]
PMD: ixgbe_dev_rx_queue_setup(): sw_ring=0x7f61d3eeffc0 sw_rsc_ring=(nil) hw_ring=0x7f61d41b9500 dma_addr=0x37db9500
PMD: ixgbevf_dev_rx_init(): forcing scatter mode
2015-05-05T11:32:30Z|00014|dpdk|INFO|Port 0: 06:33:ae:98:8c:8c
2015-05-05T11:32:30Z|00015|dpif_netdev|INFO|Created 1 pmd threads on numa node 0
2015-05-05T11:32:30Z|00016|bridge|INFO|bridge br0: added interface dpdk0 on port 1
2015-05-05T11:32:30Z|00017|bridge|WARN|could not open network device a3152b067f874_l (No such device)
2015-05-05T11:32:30Z|00018|bridge|INFO|bridge br0: using datapath ID 00006e73be5b7d41
2015-05-05T11:32:30Z|00019|connmgr|INFO|br0: added service controller "punix:/usr/local/var/run/openvswitch/br0.mgmt"
2015-05-05T11:32:30Z|00020|dpif_netdev|INFO|Created 1 pmd threads on numa node 0
============================================================================
            









At 2015-05-05 18:57:52, dev-request at dpdk.org wrote:
>Welcome to the dev at dpdk.org mailing list!
>
>To post to this list, send your message to:
>
>  dev at dpdk.org
>
>General information about the mailing list is at:
>
>  http://dpdk.org/ml/listinfo/dev
>
>If you ever want to unsubscribe or change your options (eg, switch to
>or from digest mode, change your password, etc.), visit your
>subscription page at:
>
>  http://dpdk.org/ml/options/dev/topperxin%40126.com
>
>You can also make such adjustments via email by sending a message to:
>
>  dev-request at dpdk.org
>
>with the word `help' in the subject or body (don't include the
>quotes), and you will get back a message with instructions.
>
>You must know your password to change your options (including changing
>the password, itself) or to unsubscribe without confirmation.  It is:
>
>  nlxlovewx
>
>Normally, Mailman will remind you of your dpdk.org mailing list
>passwords once every month, although you can disable this if you
>prefer.  This reminder will also include instructions on how to
>unsubscribe or change your account options.  There is also a button on
>your options page that will email your current password to you.


More information about the dev mailing list