From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0FF42A0C41; Fri, 29 Oct 2021 21:08:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CE50C40DDB; Fri, 29 Oct 2021 21:08:18 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 03FB340688 for ; Fri, 29 Oct 2021 21:08:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635534496; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=1QbWtWB7sB7P7s6+hIPiiiDV1qI6Ip4dhmvjpW1PHec=; b=gzovDLE8aQbDg/XI3iC+xcK7slOKC4D0DtZfdI1QYdRhiSeVVQzwK10KSg2R/1mkspO44k 3ZiahtCVRLA1xTSN97bwltCFYPZiYr771n5DE/EIWq8TJYhxv8Zc5ZwXbDeys0Pf+Hqyqs gA/XfUlMEeLvLjQUgtbBoTCqPCsPWCY= Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-252-vIsiX2jYPTGjnmpsnRHQ0w-1; Fri, 29 Oct 2021 15:08:12 -0400 X-MC-Unique: vIsiX2jYPTGjnmpsnRHQ0w-1 Received: by mail-lf1-f69.google.com with SMTP id v137-20020a19488f000000b003ffe224c7deso2542871lfa.11 for ; Fri, 29 Oct 2021 12:08:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1QbWtWB7sB7P7s6+hIPiiiDV1qI6Ip4dhmvjpW1PHec=; b=vGA2jepTzPkOGW3cbxKGWkzBGGZkkFWYghFlkSkLx1+mrPiGkxf/iR8BqkrmmTaBTV yhpw6zRBVW+dujXsWFP2NWCGjXO+bOzwqx4V45wRi1nutuleWhrZEfnrLCTKiyvi3Rzu OGoW/hhCF8kCUJGA38PJ71Pt2wFU06DjYqfZ8MfPpL3lYmno+opE2HDWW6DBXtsXXBoA 1YzQvfVibTTo6TWequcX0prShjvNtILs0/m4g3oxsvWwSwz9wupIGE+1Q3ymUm3vwGvS bZYV2F0w16vORoYrQ6tMDnJaG1qSoNg638KzBv8xnQX03qXNt5OCP6+V7Kok1OzO1LOk xbhA== X-Gm-Message-State: AOAM533nElMH9IK7KRznkTcZ90lJCwMPIUDLs2ytRkR7UueqszHtTOjd sJwJGBzN2r6qvO0eQM6oYGgiS6z6mi5p29ELqtTFUGnZRhv2e23rJ9Id5Pru4bYCwD+Qtira67W UiBf3/LoFgUlBbEkl4G8= X-Received: by 2002:ac2:5d68:: with SMTP id h8mr12294739lft.217.1635534490843; Fri, 29 Oct 2021 12:08:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytZ4eEZTrUDHJhZropxEFSqX73gvLcQCHP2ps3rTRziSuw40Epbc99YZDcqdHwDeDABqjSPs79BvvYQV6oGoQ= X-Received: by 2002:ac2:5d68:: with SMTP id h8mr12294724lft.217.1635534490635; Fri, 29 Oct 2021 12:08:10 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: David Marchand Date: Fri, 29 Oct 2021 21:07:59 +0200 Message-ID: To: Truring Team Cc: dev , Olivier Matz , Maxime Coquelin Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] dpdk-testpmd app with SRIOV VF on Kubernetes POD not working X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Jul 20, 2021 at 3:18 PM Truring Team wrote: > > After build dpdk-20.11 inside POD run the dpdk-testpmd then following > > segment fault occurs > > > > [root@centos7-testpmd dpdk-20.11]#* gdb ./build/app/dpdk-testpmd* > > > > GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-120.el7 > > > > Copyright (C) 2013 Free Software Foundation, Inc. > > > > License GPLv3+: GNU GPL version 3 or later < > > http://gnu.org/licenses/gpl.html> > > > > This is free software: you are free to change and redistribute it. > > > > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > > > > and "show warranty" for details. > > > > This GDB was configured as "x86_64-redhat-linux-gnu". > > > > For bug reporting instructions, please see: > > > > ... > > > > Reading symbols from /home/sandeep/dpdk-20.11/build/app/dpdk-testpmd...(no > > debugging symbols found)...done. > > > > (gdb) r -l 0-3 -n 4 -- -i > > > > Starting program: /home/sandeep/dpdk-20.11/./build/app/dpdk-testpmd -l 0-3 > > -n 4 -- -i > > > > [Thread debugging using libthread_db enabled] > > > > Using host libthread_db library "/lib64/libthread_db.so.1". > > EAL: Detected 4 lcore(s) > > EAL: Detected 1 NUMA nodes > > [New Thread 0x7ffff6a71700 (LWP 29508)] > > EAL: Multi-process socket /var/run/dpdk/rte/mp_socket > > [New Thread 0x7ffff6270700 (LWP 29509)] > > EAL: Selected IOVA mode 'PA' > > EAL: No available hugepages reported in hugepages-1048576kB > > EAL: Probing VFIO support... > > [New Thread 0x7ffff5a6f700 (LWP 29510)] > > [New Thread 0x7ffff526e700 (LWP 29511)] > > [New Thread 0x7ffff4a6d700 (LWP 29512)] > > EAL: Invalid NUMA socket, default to 0 > > EAL: Invalid NUMA socket, default to 0 > > EAL: Probe PCI driver: net_ixgbe_vf (8086:10ed) device: 0000:00:04.0 > > (socket 0) > > [New Thread 0x7ffff426c700 (LWP 29513)] > > EAL: No legacy callbacks, legacy socket not created > > Interactive-mode selected > > testpmd: create a new mbuf pool : n=171456, size=2176, socket=0 > > testpmd: preferred mempool ops selected: ring_mp_mc > > > > Program received signal SIGBUS, Bus error. > > 0x00000000009ffa36 in alloc_seg () > > Missing separate debuginfos, use: debuginfo-install > > glibc-2.17-324.el7_9.x86_64 libgcc-4.8.5-44.el7.x86_64 > > libpcap-1.5.3-12.el7.x86_64 numactl-libs-2.0.12-5.el7.x86_64 > > zlib-1.2.7-19.el7_9.x86_64 > > > > (gdb) *bt* > > > > *#0 0x00000000009ffa36 in alloc_seg ()* > > #1 0x0000000000a0043b in alloc_seg_walk () > > #2 0x00000000009e35ab in rte_memseg_list_walk_thread_unsafe () > > #3 0x0000000000a00d32 in eal_memalloc_alloc_seg_bulk () > > #4 0x00000000009f0374 in alloc_pages_on_heap () > > #5 0x00000000009f065b in try_expand_heap () > > #6 0x00000000009f0a91 in alloc_more_mem_on_socket () > > #7 0x00000000009f115e in malloc_heap_alloc () > > #8 0x00000000009e3ed1 in rte_memzone_reserve_thread_safe () > > #9 0x00000000009d671e in rte_mempool_populate_default () > > #10 0x00000000009c93af in rte_pktmbuf_pool_create_by_ops () > > #11 0x00000000009c9478 in rte_pktmbuf_pool_create () > > #12 0x000000000072b233 in mbuf_pool_create () > > #13 0x00000000004266d4 in main () > > Sorry for the late reply. We (Olivier on his side, Maxime on another side) recently got similar reports. Can you try the following patch and tell us if it fixes your issue? https://patchwork.dpdk.org/project/dpdk/patch/20211029095310.30785-1-olivier.matz@6wind.com/ -- David Marchand