From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-f65.google.com (mail-yw1-f65.google.com [209.85.161.65]) by dpdk.org (Postfix) with ESMTP id DCD8310A3 for ; Mon, 22 Oct 2018 08:34:33 +0200 (CEST) Received: by mail-yw1-f65.google.com with SMTP id y76-v6so15577130ywd.2 for ; Sun, 21 Oct 2018 23:34:33 -0700 (PDT) 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=RvGf/vygRY5aI/n3YTYZPum+hCbT29LzAUi9IN4SmPA=; b=oIbagnBuyfp80+qPzcXHtA21dHxBVzdeixnYc0LKgHAE51isXhxczPGnvte2ARzQYb gcvAF+Ul5lyWWGqVZHEIsCnree28chz+8M3Qbiw6B1l9B/HajswV3q4Sq7TXB6yLLeHK 2kAqJAucVB0HW8vIKIQJcAt/CGpeZ8vWIkwDtDGsrRtzmH9RdlOtCMHsjK9U/ezKpuuX OprJeOm5iWyFs/s+NFQbcUlbyQlhYB+tJ/1h+eduO0yBmYoyW0wlXQlIBdPgIkxtZs9M UGp85B0Jw9gfMBselDuNuNj946F9A4eYDS5tvn6iQPEbvl2Kc8Mc83i44O9Gu5W/XJGl dD3g== 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=RvGf/vygRY5aI/n3YTYZPum+hCbT29LzAUi9IN4SmPA=; b=J6AOu4TjiWbouEtRDhG/5M4dCX9x6U3VNC01Oz6a91QT980Vurq28IvkvuqauOGYp7 PmLq2P+jBlITTPSnosTEKRTc0t2hBrUkQafNIgz3kpCAuIBnJOQiU2ncN2zx80hlcDbB pQmWP6p1aYklDVx8Q0KyiTSd2nCJxqmWlTRRDkbQ7jyINZt1wfAwY2dbda0iax7QSKCs if9HYdX1/rEhNgaHiPky/X5Z68YW+n0EgNHYnkrsbRfPleyeujRj/Jwbh2eqbCB7z1BQ VGkcFnz3efSjTMdcSBkM7m6JlFhHMEsvbQ0kml4V10fMPKuvqU27pW8eVMLilNNIF5Uq so9g== X-Gm-Message-State: ABuFfoi/en8Xzr4Gd5ZMNGemOZ6p5uY8X3dRjkechLRfwe+5d8l3NX1p KVmKMgL5NxcHx8Fw5KF82YXSPduq4kk69nzklc5N5JsX X-Google-Smtp-Source: ACcGV61lyWDVezzny+KpQKTyVGtPsJ3wP4aOc5RULx3SabuhPN3R4JGcF/1VPBTjXgE1d/Y3DBIBJylP5j/vk4DLoqY= X-Received: by 2002:a81:b87:: with SMTP id 129-v6mr2601082ywl.335.1540190072923; Sun, 21 Oct 2018 23:34:32 -0700 (PDT) MIME-Version: 1.0 From: Kenvish Butani Date: Mon, 22 Oct 2018 12:04:21 +0530 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] testpmd crashes with Invalid NUMA socket, default to 0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2018 06:34:34 -0000 Hi All, I am new to dpdk, and trying it to integrate DPDK with one of my server having intel nic's and 24 core cpu. I am trying to run testpmd app and it gets crashed with below logs ++++++++++++++++++++++++++++++++++++++ # ./testpmd-cc-on-local -c 0xF -n 1 -w 01:00.0 -- -i EAL: Detected 24 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Probing VFIO support... EAL: PCI device igb_uio 0000:01:00.0: uio device registered with irq 44 0000:01:00.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 8086:10a7 net_e1000_igb EAL: Error - exiting with code: 1 Cause: rte_zmalloc(32 struct rte_port) failed ++++++++++++++++++++++++++++++++++++++ I also tried by changing n=2 in testpmd commandline option but same crash found. Before running testpmd application here is the *script which setups the environment* ++++++++++++++++++++++++++++++++++++++ /sbin/insmod /lib/modules/4.14.30-ws-symbol/kernel/drivers/net/ethernet/intel/igb/igb.ko.lzma /sbin/insmod /lib/modules/4.14.30-ws-symbol/kernel/drivers/uio/uio.ko.lzma /sbin/insmod /lib/modules/4.14.30-ws-symbol/kernel/drivers/uio/uio_pci_generic.ko.lzma /sbin/insmod /lib/modules/4.14.30-ws-symbol/extra/dpdk/igb_uio.ko.lzma /share/dpdk/usertools/dpdk-devbind.py --status /share/dpdk/usertools/dpdk-devbind.py --bind=igb_uio eth0 /share/dpdk/usertools/dpdk-devbind.py --bind=igb_uio eth1 /share/dpdk/usertools/dpdk-devbind.py --status echo 64 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages mkdir -p /mnt/huge mount -t hugetlbfs nodev /mnt/huge /bin/mknod /dev/uio0 c 247 0 /bin/chmod 777 /dev/uio0 +++++++++++++++++++++++++++++++++++++ Note : /dev/uio0 entry was not created after loading the driver and so i am creating it manually with mknod. *System config:* ++++++++++++++++++++++++++++++++++++ # /share/dpdk/usertools/dpdk-devbind.py --status Network devices using DPDK-compatible driver ============================================ 0000:01:00.0 'Device 10a7' drv=igb_uio unused=uio_pci_generic 0000:01:00.1 'Device 10a7' drv=igb_uio unused=uio_pci_generic Network devices using kernel driver =================================== Other Network devices ===================== Crypto devices using DPDK-compatible driver =========================================== Crypto devices using kernel driver ================================== Other Crypto devices ==================== Eventdev devices using DPDK-compatible driver ============================================= Eventdev devices using kernel driver ==================================== Other Eventdev devices ====================== Mempool devices using DPDK-compatible driver ============================================ Mempool devices using kernel driver =================================== Other Mempool devices ===================== #cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 44 model name : Intel(R) Xeon(R) CPU E5645 @ 2.40GHz stepping : 2 microcode : 0x15 cpu MHz : 1596.160 cache size : 12288 KB physical id : 0 siblings : 12 core id : 0 cpu cores : 6 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts ret bugs : cpu_meltdown spectre_v1 spectre_v2 bogomips : 4788.86 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: # cat /proc/meminfo MemTotal: 36951260 kB MemFree: 33182740 kB MemAvailable: 33238132 kB Buffers: 25632 kB Cached: 263308 kB SwapCached: 0 kB Active: 1514816 kB Inactive: 208784 kB Active(anon): 1439404 kB Inactive(anon): 1124 kB Active(file): 75412 kB Inactive(file): 207660 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 7823616 kB SwapFree: 7823616 kB Dirty: 160 kB Writeback: 0 kB AnonPages: 1434828 kB Mapped: 70988 kB Shmem: 5904 kB Slab: 53732 kB SReclaimable: 22184 kB SUnreclaim: 31548 kB KernelStack: 14304 kB PageTables: 35768 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 26233708 kB Committed_AS: 7762260 kB VmallocTotal: 34359738367 kB VmallocUsed: 0 kB VmallocChunk: 0 kB HugePages_Total: 64 HugePages_Free: 63 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB DirectMap4k: 79828 kB DirectMap2M: 4048896 kB DirectMap1G: 33554432 kB # uname -a Linux nx9000-6C883E 4.14.30-ws-symbol #1 SMP PREEMPT Thu Sep 20 15:04:33 IST 2018 x86_64 GNU/Linux # lsmod Module Size Used by igb_uio 16384 0 uio_pci_generic 16384 0 uio 16384 2 igb_uio,uio_pci_generic igb 143360 0 ipi_hsl 139264 7 dataplane 29323264 151 ipi_hsl ipv6 303104 88 [permanent] ftdi_sio 45056 0 usbserial 28672 1 ftdi_sio xt_tcpudp 16384 0 xt_mark 16384 0 iptable_nat 16384 0 nf_nat_ipv4 16384 1 iptable_nat nf_conntrack_ipv4 16384 1 nf_defrag_ipv4 16384 1 nf_conntrack_ipv4 nf_nat 24576 1 nf_nat_ipv4 xt_connlimit 16384 0 nf_conntrack 69632 4 nf_nat_ipv4,nf_conntrack_ipv4,nf_nat,xt_connlimit iptable_filter 16384 0 ip_tables 20480 2 iptable_nat,iptable_filter x_tables 20480 5 xt_tcpudp,xt_mark,xt_connlimit,iptable_filter,ip_tables +++++++++++++++++++++++++++++++++++++++++++++++++++++++ Can anyone help me out here to fix this. Please let me know if any more information is required. Thanks, --Kenvish