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 37352A0C4E for ; Sat, 23 Oct 2021 10:42:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BFDE64069D; Sat, 23 Oct 2021 10:42:06 +0200 (CEST) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) by mails.dpdk.org (Postfix) with ESMTP id 9FC6140041 for ; Sat, 23 Oct 2021 10:42:04 +0200 (CEST) Received: by mail-lj1-f179.google.com with SMTP id s19so55544ljj.11 for ; Sat, 23 Oct 2021 01:42:04 -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=h00DaU+8CfY29vP4yug5QqswTnsEfP3Bu2lSBAiBR0w=; b=d1oukoHkTCdrb+j+9DE09z0HsDWMV/VezWLTvvRJy9nuSMICcjXyC3ahP7Pi7etyaD G2MWndGoarIS7txpKQIB21ZH5fswMPrngygjdxlkyOShg8xdHkq8jvSYiTQFHUUqYMsA BgCxGnyusekf/LGG0Oh884cadkMK7tRSHfOZsnDAz+FOvkbylTTB1g29i/uNg7cMk17b ylqa5j52Fx7ICIVQZoHjSX4NPzix7pIjQlY9ESJUqoOlSRuhHDgFYg13BztJGaJxecTc FyqS9L/6X/5ApIbz1hU5l2SX65eJp06X720j8teS7gPdxeRy1oj6LdhLKWd+F01lUmiG gbtA== 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=h00DaU+8CfY29vP4yug5QqswTnsEfP3Bu2lSBAiBR0w=; b=Axw4YTcqsTge/okw738JQqytW1cTh0LRu7nYsQ+9GiRNHGHkO1rLQvK1dkTXUx9Qi6 IgdF1yvAZaD6KJ57Q8A7oOQFUMCwz+JBYXY5lS3HYk0Q3mU9ulb/SqWB58wmiiHh0C5E V6w+Km2ucZ0kJQVo/luCNbkXzMY+XSchAIt5r/C+wPZ7a0VQGIXr+So5hEVba0T4Soe/ O2T3qU6usumVohb0cptAaJJoVDu1fzbbW6Ffxjwtc7k49nulPwmNY1XGNdc90tsvCbV3 mR1V0fRumul5v8GS36R1QXXp6CbeeZQzNY681Fj29YjLhZm4xQo4G7LM3cbehj3dAunX r1yw== X-Gm-Message-State: AOAM533a/xNd4mM7XdyXDp6EXkN+SE3IT+j6hiEBMffL+JTLaOpaL9Hs F2tYFqrGKTVJBTMtXdcpPT7vaTzirCg= X-Google-Smtp-Source: ABdhPJze8tkv8goJ/msRXMe5xYrxMaEw6jz3lMiLHxvbLSe6+j60MOSTsyh9cYgD/vs6C81NhIFWWg== X-Received: by 2002:a2e:a7ca:: with SMTP id x10mr5311615ljp.106.1634978524157; Sat, 23 Oct 2021 01:42:04 -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 t20sm1108113lji.44.2021.10.23.01.42.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Oct 2021 01:42:03 -0700 (PDT) Date: Sat, 23 Oct 2021 11:42:03 +0300 From: Dmitry Kozlyuk To: Hakan =?UTF-8?B?RG/En2Fu?= Cc: "users@dpdk.org" Subject: Re: [dpdk-users] EAL: failed to parse device Message-ID: <20211023114203.43a9950e@sovereign> In-Reply-To: References: X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 2021-10-14 08:43 (UTC+0000), Hakan Do=C4=9Fan: > Hi All, >=20 > I'm trying to run a DPDK application in a virtual machine environment wit= h ubuntu 18.04 as guest and host. However, I'm getting following error duri= ng start: >=20 > EAL: Detected 16 lcore(s) > EAL: Detected 1 NUMA nodes > EAL: Detected static linkage of DPDK > EAL: Multi-process socket /var/run/dpdk/rte/mp_socket > EAL: Selected IOVA mode 'PA' > EAL: No available hugepages reported in hugepages-1048576kB > EAL: Probing VFIO support... > EAL: VFIO support initialized > EAL: No legacy callbacks, legacy socket not created > EAL: failed to parse device "0000:00:05.0" > EAL: failed to parse device "0000:00:05.0" > EAL: Failed to attach device on primary process > EAL: failed to parse device "0000:00:06.0" > EAL: failed to parse device "0000:00:06.0" > EAL: Failed to attach device on primary process >=20 > DPDK version: 20.11.3 >=20 > dpdk-devbind.py shows: >=20 > Network devices using DPDK-compatible driver > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 0000:00:05.0 'Virtio network device 1000' drv=3Duio_pci_generic unused=3D > 0000:00:06.0 'Virtio network device 1000' drv=3Duio_pci_generic unused=3D >=20 > Network devices using kernel driver > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 0000:00:03.0 'Virtio network device 1000' if=3Dens3 drv=3Dvirtio-pci unus= ed=3Duio_pci_generic *Active* >=20 >=20 >=20 > There is not so much information about this error on internet, so could s= omeone help to solve the problem? Hello Hakan, How do you link DPDK to your application? If statically (as logs suggest), do you use --whole-archive? The errors suggest that you don't have rte_bus_pci library loaded.