From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f196.google.com (mail-qt0-f196.google.com [209.85.216.196]) by dpdk.org (Postfix) with ESMTP id 186B11B257 for ; Mon, 13 Nov 2017 20:36:03 +0100 (CET) Received: by mail-qt0-f196.google.com with SMTP id r39so4716037qtr.13 for ; Mon, 13 Nov 2017 11:36:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=wYqTYB7/LIDjmYM+XGc4bYoOj6YwLs8C9nz86P3Va8Q=; b=ekwH/aWwD42oxQ3L/Ih8jU+D1t5xVB1XIiCrlpEMh52zBrMUWjwC5hXTUoO2xkc5e1 Lxv6CnedLuNEhkaYKjmlckv+BLVOR0zpFvpEy/I8iFdgW1P7XKRQOyO3roR5kfhV2E0v GtqjPwYXvhuZNkJkJtzyYuMFeQ9gqT3lwK2uIVVGh5QqH5emJ1JnL47B8x3wiMGW+Sgf 5TrlGPH3jnkKnapCXQnOgXJIQF9E6vhV1JFFP7toEw5U+uIVEmaJL+qYi5aIbcyxSUBU by7MNImge2Bxyhn30OquFPb96H+LZjbIaErruHnByfmlcCuUZ+1yCEMFqFgHXBam646N 7vug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wYqTYB7/LIDjmYM+XGc4bYoOj6YwLs8C9nz86P3Va8Q=; b=lGIM0g3lATjqXJIak0CL1XInc2lf1cfd0ygXz+UsIu4cEQE4OPWn9/W6a1O6ja/bXU /0IBYcM5VSJ90zuKz//ncZn7MRotlzGGl6k6mdDTHR1ptEn6UbBJJzM0oE4Awd6E7vqc c8cH3BmEuJjcNHgZ1LANM37fNuiMbNc0toBQx/jA+yspcRn2NGXrWHiKB+inQDdVwv2X /OguajSSdex9MayvdBpsi0wdADIbpqnlcrPhzxV9dF5njgWK9qJ7c+4+GXgIH5V8WNS6 5Y6u8RF/SVFMjaKPKR9/VOMMlyLEtJwhAnVyJanTj6DNnn7lCSezp9PigwfwIu1zGeQG ADyw== X-Gm-Message-State: AJaThX60aHbQ4eY/n+PpMiyDntFyb7PlJNqj9ZxxzZOY2FbN06FwfKv2 Mh+y2C06MLIBKz5yVzwtPoVtV0hkvwTfWD+kDtzWZw== X-Google-Smtp-Source: AGs4zMaPXNE9Oyuhvu4VTX8wCdtzBiiP/avnrlBK7JkFgeqtnW4239fWKwXIE5ufVnLhAPv3OWJzcJuDN0InkhjTaUY= X-Received: by 10.200.35.55 with SMTP id a52mr15816053qta.148.1510601762925; Mon, 13 Nov 2017 11:36:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.106.71 with HTTP; Mon, 13 Nov 2017 11:35:32 -0800 (PST) From: James Bensley Date: Mon, 13 Nov 2017 19:35:32 +0000 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" Subject: [dpdk-users] Hard Crash with X710 and Pktgen X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2017 19:36:04 -0000 Hi All, I have some HPE DL boxes that use "HP" NICs (OEM Intel X710s). I have compiled DPDK & Pktgen but when I try to run Pktgen the box hard crashes (it locks up and I have bounce it using IPMI). The main output is below although a full transcript of my attempt is here: https://null.53bits.co.uk/uploads/linux/applications/dpdk/CentOS-DL120-DPDK-NIC-Bind.txt Essentially I can bind the NICs to DPDK using the igb_uio driver, which leads to the hard crash, or I can bind the NICs to DPDK using the vfio-pci driver but then Pktgen reports that there are no NICs available to use and exits. Does anyone have any ideas whats going on here? What is "failed to select IOMMU type" telling me? CentOS 7 / Kernel 4.13 / DPDK 17.08 / Pktgen 3.4.2. Cheers, James. $ sudo ./app/x86_64-native-linuxapp-gcc/pktgen -l 2-6 -n 1 -w 09:00.0 -w 09:00.1 -v -- -P -m [3-4].0 [5-6].1 Copyright (c) <2010-2017>, Intel Corporation. All rights reserved. Powered by DPDK EAL: Detected 16 lcore(s) EAL: RTE Version: 'DPDK 17.08.0' EAL: No free hugepages reported in hugepages-1048576kB EAL: Probing VFIO support... EAL: PCI device 0000:09:00.0 on NUMA socket 0 EAL: probe driver: 8086:1572 net_i40e << HARD LOCK-UP >> $ sudo ./app/x86_64-native-linuxapp-gcc/pktgen -l 2-6 -n 1 -w 09:00.0 -w 09:00.1 -v -- -P -m [3-4].0 [5-6].1 Copyright (c) <2010-2017>, Intel Corporation. All rights reserved. Powered by DPDK EAL: Detected 16 lcore(s) EAL: RTE Version: 'DPDK 17.08.0' EAL: No free hugepages reported in hugepages-1048576kB EAL: Probing VFIO support... EAL: VFIO support initialized EAL: PCI device 0000:09:00.0 on NUMA socket 0 EAL: probe driver: 8086:1572 net_i40e EAL: 0000:09:00.0 failed to select IOMMU type EAL: Requested device 0000:09:00.0 cannot be used EAL: PCI device 0000:09:00.1 on NUMA socket 0 EAL: probe driver: 8086:1572 net_i40e EAL: 0000:09:00.1 failed to select IOMMU type EAL: Requested device 0000:09:00.1 cannot be used Copyright (c) <2010-2017>, Intel Corporation. All rights reserved. Pktgen created by: Keith Wiles -- >>> Powered by DPDK <<< >>> Packet Burst 64, RX Desc 1024, TX Desc 2048, mbufs/port 16384, mbuf cache 2048 !PANIC!: *** Did not find any ports to use *** PANIC in pktgen_config_ports(): *** Did not find any ports to use ***6: [./app/x86_64-native-linuxapp-gcc/pktgen() [0x44ba76]] 5: [/lib64/libc.so.6(__libc_start_main+0xf5) [0x7f16b7238c05]] 4: [./app/x86_64-native-linuxapp-gcc/pktgen(main+0x57c) [0x448edc]] 3: [./app/x86_64-native-linuxapp-gcc/pktgen(pktgen_config_ports+0x15b7) [0x470d37]] 2: [./app/x86_64-native-linuxapp-gcc/pktgen(__rte_panic+0xb8) [0x4432bc]] 1: [./app/x86_64-native-linuxapp-gcc/pktgen(rte_dump_stack+0x1a) [0x4b245a]] Aborted