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 3EC95A034F for ; Fri, 10 Sep 2021 09:26:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0DC1840041; Fri, 10 Sep 2021 09:26:16 +0200 (CEST) Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) by mails.dpdk.org (Postfix) with ESMTP id D9F6D4003E for ; Fri, 10 Sep 2021 09:26:14 +0200 (CEST) Received: by mail-lf1-f54.google.com with SMTP id a4so2174492lfg.8 for ; Fri, 10 Sep 2021 00:26:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nse0iAI2eqVEZ9AZfJQVXAecpv+YlzJ2Y/MPiwRnIss=; b=c3qg3E+dYEVyBiIulebAG/U1W5rCXFqzHVTFgCYBz7nyhNylAeBQlkZpG3PM3QGv5p kJTiU7Lsxz52U8FkuKWkzBIrHDsjhxatgkUKBq2VKxvGByDFTk0xxOGEKnKnu6BhE25v sp0GPI3v4BRbiXQd76Fk8MqfTGGNWizDNu38XNb/vDtQxY64k80ACW6xJJgz6Xjw1XjY K1y5GibsBYSR1i1zmyDZ3+Fx/V5roWW9/sLVaWXpT+4er2P1Qqa9XculqOvVxAyImI93 u0LaJt5EJV54BCCpFNHHhrSkSFelOTsQ7XLCwidqb+PvCACTnjGyFTOc+/Kmj9t0tsiW i8vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nse0iAI2eqVEZ9AZfJQVXAecpv+YlzJ2Y/MPiwRnIss=; b=BNM5OI79B1bEIvsE+/F4X7uOKy1HeZYKRbjbtXv/yiVR+J2C9OTzyeGtYw68r+IUC5 x3e6pkbSJ2b/GTjE8aBCORZGTL4xJN+ZaJKueIm9o8qIgl+xIxAJSjHNtVs54NleIDp3 n3Jsd18+5poyjVSr2zPdr3ksj29O9bsdQXQY2AmBs5oEJxhwMj7q8ZcO7SkvFhCE/3+T byHwfYk+jHQhJ9jssJv+F7AXabHI/pUAnhBci7tSLMWLzNCeG8QYowE77wElG8GqqKQs RBFJukvC72sA/3bk7mU/kf3vsp40sGWeTLstkKQP9pOVEtBPGgld3+xs+t4mUJ2WnhuO oHXA== X-Gm-Message-State: AOAM5325azEuaJCjZEiGjOck+J6hTnRVRIMA8Cxo+wrdbVX5++xL7xF0 CTlnjPGtJWGP/y/Y56I7cx4= X-Google-Smtp-Source: ABdhPJxBXR/jpPsv2FMjPthoFjYQDX+dvB5Q8KLOurrnCYqkO6s+RXYe1j1thDtLqCw4fTFfxfvRNA== X-Received: by 2002:ac2:4146:: with SMTP id c6mr2859680lfi.305.1631258774426; Fri, 10 Sep 2021 00:26:14 -0700 (PDT) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id o10sm448471lfo.207.2021.09.10.00.26.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Sep 2021 00:26:14 -0700 (PDT) Date: Fri, 10 Sep 2021 10:26:13 +0300 From: Dmitry Kozlyuk To: animesh tripathi Cc: users@dpdk.org Message-ID: <20210910102613.601b2016@sovereign> In-Reply-To: References: X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-users] Error on dpdk 21.08 version X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" 2021-09-10 10:43 (UTC+0530), animesh tripathi: > Hi Team, > > I am getting following error while running l2fwd application > > [root@SERVER84 dpdk-21.08]# ./build/examples/dpdk-helloworld > EAL: Detected 40 lcore(s) > EAL: Detected 2 NUMA nodes > EAL: Detected static linkage of DPDK > EAL: Multi-process socket /var/run/dpdk/rte/mp_socket > EAL: Selected IOVA mode 'PA' > EAL: VFIO support initialized > TELEMETRY: No legacy callbacks, legacy socket not created > hello from core 0 Is it a complete log or you've just omitted 39 "hello from core ..." messages? In the latter case there is no error, it's a normal startup sequence. > > After reading through the mailing list I got to know that -d option is used > pass the drivers path. Even after that I am getting the following error > message: > > [root@SERVER84 dpdk-21.08]# ./build/examples/dpdk-helloworld -d > /home/Animesh/DPDK/dpdk-21.08/build/drivers/ > EAL: Detected 40 lcore(s) > EAL: Detected 2 NUMA nodes > EAL: Detected static linkage of DPDK > EAL: RTE_RING tailq is already registered > PANIC in tailqinitfn_rte_ring_tailq(): > Cannot initialize tailq: RTE_RING > 16: [./build/examples/dpdk-helloworld() [0xa007cb]] > 15: [/lib64/libc.so.6(__libc_start_main+0xf5) [0x7ffff4750505]] > 14: [./build/examples/dpdk-helloworld(main+0x6) [0x53c306]] > 13: [./build/examples/dpdk-helloworld(rte_eal_init+0x73e) [0xbb563e]] > 12: [./build/examples/dpdk-helloworld(eal_plugins_init+0x288) [0xba1c18]] > 11: [/lib64/libdl.so.2(dlopen+0x31) [0x7ffff78d5f81]] > 10: [/lib64/libdl.so.2(+0x14ed) [0x7ffff78d64ed]] > 9: [/lib64/ld-linux-x86-64.so.2(+0xf784) [0x7ffff7dea784]] > 8: [/lib64/libdl.so.2(+0xeeb) [0x7ffff78d5eeb]] > 7: [/lib64/ld-linux-x86-64.so.2(+0x13b3b) [0x7ffff7deeb3b]] > 6: [/lib64/ld-linux-x86-64.so.2(+0xf784) [0x7ffff7dea784]] > 5: [/lib64/ld-linux-x86-64.so.2(+0x1454e) [0x7ffff7def54e]] > 4: [/lib64/ld-linux-x86-64.so.2(+0xf973) [0x7ffff7dea973]] > 3: > [/home/Animesh/DPDK/dpdk-21.08/build/drivers/../lib/librte_ring.so.21(+0xe1c) > [0x7ffff2d5de1c]] > 2: [./build/examples/dpdk-helloworld(__rte_panic+0xba) [0x51b664]] > 1: [./build/examples/dpdk-helloworld(rte_dump_stack+0x1a) [0xbb717a]] > Aborted (core dumped) > > I will be waiting for your response. Please help me to resolve this issue. The program has DPDK linked statically, so all the libraries and drivers are inside the binary. With -d you're trying to load the same code again as shared libraries, it fails to perform the initialization again.