From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id DB7201DB1 for ; Wed, 10 Jun 2015 13:50:59 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 10 Jun 2015 04:50:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,587,1427785200"; d="scan'208";a="740752492" Received: from kmsmsx151.gar.corp.intel.com ([172.21.73.86]) by fmsmga002.fm.intel.com with ESMTP; 10 Jun 2015 04:50:58 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by KMSMSX151.gar.corp.intel.com (172.21.73.86) with Microsoft SMTP Server (TLS) id 14.3.224.2; Wed, 10 Jun 2015 19:50:56 +0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.246]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.46]) with mapi id 14.03.0224.002; Wed, 10 Jun 2015 19:50:49 +0800 From: "Qiu, Michael" To: Dirk-Holger Lenz , "dev@dpdk.org" Thread-Topic: [dpdk-dev] i40e: Failed to init adminq Thread-Index: AQHQo2YGv9Tty0xPJkib3EfXqZ/Ihw== Date: Wed, 10 Jun 2015 11:50:48 +0000 Message-ID: <533710CFB86FA344BFBF2D6802E6028604696DC9@SHSMSX101.ccr.corp.intel.com> References: <55780D8C.40605@ng4t.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] i40e: Failed to init adminq X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2015 11:51:00 -0000 Hi,=0A= =0A= This is an know issue, as I faced before.=0A= =0A= One workaround: remove i40e kernel driver, power off server, then power=0A= on. After that start dpdk, it should work.=0A= =0A= Thanks,=0A= Michael=0A= On 6/10/2015 6:12 PM, Dirk-Holger Lenz wrote:=0A= > Hello,=0A= > since I updated from 2.0.0 released to the current git clone the i40e=0A= > doesn't 'init' anymore.=0A= > EAL: PCI device 0000:82:00.0 on NUMA socket 1=0A= > EAL: probe driver: 8086:1572 rte_i40e_pmd=0A= > EAL: PCI memory mapped at 0x7ff8a23fd000=0A= > EAL: PCI memory mapped at 0x7ff9ae2ec000=0A= > PMD: eth_i40e_dev_init(): Failed to init adminq: -54=0A= > EAL: Error - exiting with code: 1=0A= > Cause: Requested device 0000:82:00.0 cannot be used=0A= > It's plain hardware no virtual machine, I'm using kernel: =0A= > 3.16.0-29-lowlatency=0A= > on Ubuntu 14.04.=0A= > This occurs already in the rte_eal_init() function call.=0A= > Beside this the ixgbe with 82599 comes up and works (when I disable the = =0A= > i40e).=0A= >=0A= > Here the complete log:=0A= > sudo ./build/helloworld -c 0xf -n 3=0A= > EAL: Detected lcore 0 as core 0 on socket 0=0A= > EAL: Detected lcore 1 as core 0 on socket 1=0A= > EAL: Detected lcore 2 as core 1 on socket 0=0A= > EAL: Detected lcore 3 as core 1 on socket 1=0A= > EAL: Detected lcore 4 as core 2 on socket 0=0A= > EAL: Detected lcore 5 as core 2 on socket 1=0A= > EAL: Detected lcore 6 as core 3 on socket 0=0A= > EAL: Detected lcore 7 as core 3 on socket 1=0A= > EAL: Detected lcore 8 as core 4 on socket 0=0A= > EAL: Detected lcore 9 as core 4 on socket 1=0A= > EAL: Detected lcore 10 as core 5 on socket 0=0A= > EAL: Detected lcore 11 as core 5 on socket 1=0A= > EAL: Detected lcore 12 as core 6 on socket 0=0A= > EAL: Detected lcore 13 as core 6 on socket 1=0A= > EAL: Detected lcore 14 as core 7 on socket 0=0A= > EAL: Detected lcore 15 as core 7 on socket 1=0A= > EAL: Support maximum 128 logical core(s) by configuration.=0A= > EAL: Detected 16 lcore(s)=0A= > EAL: VFIO modules not all loaded, skip VFIO support...=0A= > EAL: Setting up memory...=0A= > EAL: Ask a virtual area of 0x1800000 bytes=0A= > EAL: Virtual area found at 0x7ff9a6000000 (size =3D 0x1800000)=0A= > EAL: Ask a virtual area of 0x200000 bytes=0A= > EAL: Virtual area found at 0x7ff9a5c00000 (size =3D 0x200000)=0A= > EAL: Ask a virtual area of 0x9800000 bytes=0A= > EAL: Virtual area found at 0x7ff99c200000 (size =3D 0x9800000)=0A= > EAL: Ask a virtual area of 0x7200000 bytes=0A= > EAL: Virtual area found at 0x7ff994e00000 (size =3D 0x7200000)=0A= > EAL: Ask a virtual area of 0x200000 bytes=0A= > EAL: Virtual area found at 0x7ff994a00000 (size =3D 0x200000)=0A= > EAL: Ask a virtual area of 0x57400000 bytes=0A= > EAL: Virtual area found at 0x7ff93d400000 (size =3D 0x57400000)=0A= > EAL: Ask a virtual area of 0x600000 bytes=0A= > EAL: Virtual area found at 0x7ff93cc00000 (size =3D 0x600000)=0A= > EAL: Ask a virtual area of 0x1a00000 bytes=0A= > EAL: Virtual area found at 0x7ff93b000000 (size =3D 0x1a00000)=0A= > EAL: Ask a virtual area of 0x6e00000 bytes=0A= > EAL: Virtual area found at 0x7ff934000000 (size =3D 0x6e00000)=0A= > EAL: Ask a virtual area of 0x7000000 bytes=0A= > EAL: Virtual area found at 0x7ff92ce00000 (size =3D 0x7000000)=0A= > EAL: Ask a virtual area of 0x5600000 bytes=0A= > EAL: Virtual area found at 0x7ff927600000 (size =3D 0x5600000)=0A= > EAL: Ask a virtual area of 0xc00000 bytes=0A= > EAL: Virtual area found at 0x7ff926800000 (size =3D 0xc00000)=0A= > EAL: Ask a virtual area of 0x200000 bytes=0A= > EAL: Virtual area found at 0x7ff926400000 (size =3D 0x200000)=0A= > EAL: Ask a virtual area of 0x400000 bytes=0A= > EAL: Virtual area found at 0x7ff925e00000 (size =3D 0x400000)=0A= > EAL: Ask a virtual area of 0x200000 bytes=0A= > EAL: Virtual area found at 0x7ff925a00000 (size =3D 0x200000)=0A= > EAL: Ask a virtual area of 0x7c800000 bytes=0A= > EAL: Virtual area found at 0x7ff8a9000000 (size =3D 0x7c800000)=0A= > EAL: Ask a virtual area of 0x200000 bytes=0A= > EAL: Virtual area found at 0x7ff8a8c00000 (size =3D 0x200000)=0A= > EAL: Ask a virtual area of 0x200000 bytes=0A= > EAL: Virtual area found at 0x7ff8a8800000 (size =3D 0x200000)=0A= > EAL: Ask a virtual area of 0x400000 bytes=0A= > EAL: Virtual area found at 0x7ff8a8200000 (size =3D 0x400000)=0A= > EAL: Ask a virtual area of 0x600000 bytes=0A= > EAL: Virtual area found at 0x7ff8a7a00000 (size =3D 0x600000)=0A= > EAL: Ask a virtual area of 0x200000 bytes=0A= > EAL: Virtual area found at 0x7ff8a7600000 (size =3D 0x200000)=0A= > EAL: Ask a virtual area of 0x200000 bytes=0A= > EAL: Virtual area found at 0x7ff8a7200000 (size =3D 0x200000)=0A= > EAL: Ask a virtual area of 0x400000 bytes=0A= > EAL: Virtual area found at 0x7ff8a6c00000 (size =3D 0x400000)=0A= > EAL: Ask a virtual area of 0x800000 bytes=0A= > EAL: Virtual area found at 0x7ff8a6200000 (size =3D 0x800000)=0A= > EAL: Ask a virtual area of 0x400000 bytes=0A= > EAL: Virtual area found at 0x7ff8a5c00000 (size =3D 0x400000)=0A= > EAL: Ask a virtual area of 0x400000 bytes=0A= > EAL: Virtual area found at 0x7ff8a5600000 (size =3D 0x400000)=0A= > EAL: Ask a virtual area of 0x1000000 bytes=0A= > EAL: Virtual area found at 0x7ff8a4400000 (size =3D 0x1000000)=0A= > EAL: Requesting 1024 pages of size 2MB from socket 0=0A= > EAL: Requesting 1024 pages of size 2MB from socket 1=0A= > EAL: TSC frequency is ~2599997 KHz=0A= > EAL: Master lcore 0 is ready (tid=3Dae32a900;cpuset=3D[0])=0A= > EAL: lcore 2 is ready (tid=3Da3bfe700;cpuset=3D[2])=0A= > EAL: lcore 3 is ready (tid=3Da33fd700;cpuset=3D[3])=0A= > EAL: lcore 1 is ready (tid=3Da43ff700;cpuset=3D[1])=0A= > EAL: PCI device 0000:01:00.0 on NUMA socket 0=0A= > EAL: probe driver: 8086:1521 rte_igb_pmd=0A= > EAL: Not managed by a supported kernel driver, skipped=0A= > EAL: PCI device 0000:01:00.1 on NUMA socket 0=0A= > EAL: probe driver: 8086:1521 rte_igb_pmd=0A= > EAL: Not managed by a supported kernel driver, skipped=0A= > EAL: PCI device 0000:01:00.2 on NUMA socket 0=0A= > EAL: probe driver: 8086:1521 rte_igb_pmd=0A= > EAL: Not managed by a supported kernel driver, skipped=0A= > EAL: PCI device 0000:01:00.3 on NUMA socket 0=0A= > EAL: probe driver: 8086:1521 rte_igb_pmd=0A= > EAL: Not managed by a supported kernel driver, skipped=0A= > EAL: PCI device 0000:03:00.0 on NUMA socket 0=0A= > EAL: probe driver: 8086:10fb rte_ixgbe_pmd=0A= > EAL: PCI memory mapped at 0x7ff9a7800000=0A= > EAL: PCI memory mapped at 0x7ff9a7880000=0A= > PMD: eth_ixgbe_dev_init(): MAC: 2, PHY: 12, SFP+: 3=0A= > PMD: eth_ixgbe_dev_init(): port 0 vendorID=3D0x8086 deviceID=3D0x10fb=0A= > EAL: PCI device 0000:03:00.1 on NUMA socket 0=0A= > EAL: probe driver: 8086:10fb rte_ixgbe_pmd=0A= > EAL: PCI memory mapped at 0x7ff9a7884000=0A= > EAL: PCI memory mapped at 0x7ff9a7904000=0A= > PMD: eth_ixgbe_dev_init(): MAC: 2, PHY: 12, SFP+: 4=0A= > PMD: eth_ixgbe_dev_init(): port 1 vendorID=3D0x8086 deviceID=3D0x10fb=0A= > EAL: PCI device 0000:82:00.0 on NUMA socket 1=0A= > EAL: probe driver: 8086:1572 rte_i40e_pmd=0A= > EAL: PCI memory mapped at 0x7ff8a23fd000=0A= > EAL: PCI memory mapped at 0x7ff9ae2ec000=0A= > PMD: eth_i40e_dev_init(): Failed to init adminq: -54=0A= > EAL: Error - exiting with code: 1=0A= > Cause: Requested device 0000:82:00.0 cannot be used=0A= >=0A= > Best regards=0A= > Dirk=0A= >=0A= >=0A= >=0A= =0A=