From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 5976F7E75 for ; Wed, 3 Dec 2014 02:37:17 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 02 Dec 2014 17:33:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,504,1413270000"; d="scan'208";a="617655330" Received: from pgsmsx108.gar.corp.intel.com ([10.221.44.103]) by orsmga001.jf.intel.com with ESMTP; 02 Dec 2014 17:37:15 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by PGSMSX108.gar.corp.intel.com (10.221.44.103) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 3 Dec 2014 09:36:20 +0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.110]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.240]) with mapi id 14.03.0195.001; Wed, 3 Dec 2014 09:36:19 +0800 From: "Qiu, Michael" To: Malveeka Tewari Thread-Topic: [dpdk-dev] Error running dpdk app: cannot open /dev/uio Thread-Index: AQHQDnkamwt4EyMprEaLEKOtWxn6yA== Date: Wed, 3 Dec 2014 01:36:17 +0000 Message-ID: <533710CFB86FA344BFBF2D6802E60286C9C207@SHSMSX101.ccr.corp.intel.com> References: <533710CFB86FA344BFBF2D6802E60286C9C1C8@SHSMSX101.ccr.corp.intel.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 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Error running dpdk app: cannot open /dev/uio 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, 03 Dec 2014 01:37:17 -0000 On 12/3/2014 9:25 AM, Malveeka Tewari wrote:=0A= > I do have the uio and igb_uio modules loaded.=0A= > For my issue, I found a workaround by manually creating /dev/uio0=0A= > using mknod.=0A= > But I still get the vfio error.=0A= >=0A= > If I try "sudo modprobe vfio" but that gives an error that Module vfio=0A= > not found.=0A= > I tried looking for vfio.ko in the dpdk source tree as well but could=0A= > not find that module.=0A= > How can I install the vfio module?=0A= =0A= VFIO is supplied by kernel :)=0A= if you use uio then vfio can be ignored. It is just another way of=0A= things in new kernel(version > 3.6).=0A= =0A= Thanks,=0A= Michael=0A= =0A= >=0A= > Thanks!=0A= > Malveeka=0A= >=0A= >=0A= >=0A= > On Tue, Dec 2, 2014 at 5:12 PM, Qiu, Michael > wrote:=0A= >=0A= > Hi Malveeka,=0A= >=0A= > To be sure that you should have [uio, igb_uio] or [uio,=0A= > uio_pci_generic]=0A= > or [vfio] module loaded.=0A= >=0A= > Thanks,=0A= > Michael=0A= > On 12/3/2014 5:44 AM, Malveeka Tewari wrote:=0A= > > Hi=0A= > >=0A= > > I am trying to run the testpmd app as but I get the following=0A= > errors:=0A= > > EAL: VFIO could not be initialized=0A= > > EAL: Cannot open /dev/uio0: No such file or directory=0A= > > EAL: Error - exiting with code: 1=0A= > > Cause: Requested device 0000:07:00.0 cannot be used=0A= > >=0A= > > lsmod shows that the uio module is installed.=0A= > > Is there anything that's missing?=0A= > >=0A= > > Thanks!=0A= > > Malveeka=0A= > >=0A= > >=0A= > >=0A= > > Output on trying to run testpmd=0A= > >=0A= > > EAL: Detected 16 lcore(s)=0A= > > *EAL: cannot open VFIO container, error 2 (No such file or=0A= > directory)*=0A= > > *EAL: VFIO support could not be initialized*=0A= > > EAL: Setting up memory...=0A= > > EAL: Ask a virtual area of 0x200000 bytes=0A= > > EAL: Virtual area found at 0x7fe66ac00000 (size =3D 0x200000)=0A= > > EAL: Ask a virtual area of 0xffc00000 bytes=0A= > > EAL: Virtual area found at 0x7fe56ae00000 (size =3D 0xffc00000)=0A= > > EAL: Ask a virtual area of 0x200000 bytes=0A= > > EAL: Virtual area found at 0x7fe56aa00000 (size =3D 0x200000)=0A= > > EAL: Ask a virtual area of 0xfec00000 bytes=0A= > > EAL: Virtual area found at 0x7fe46bc00000 (size =3D 0xfec00000)=0A= > > EAL: Ask a virtual area of 0x400000 bytes=0A= > > EAL: Virtual area found at 0x7fe46b600000 (size =3D 0x400000)=0A= > > EAL: Ask a virtual area of 0x400000 bytes=0A= > > EAL: Virtual area found at 0x7fe46b000000 (size =3D 0x400000)=0A= > > EAL: Ask a virtual area of 0x400000 bytes=0A= > > EAL: Virtual area found at 0x7fe46aa00000 (size =3D 0x400000)=0A= > > EAL: Ask a virtual area of 0x400000 bytes=0A= > > EAL: Virtual area found at 0x7fe46a400000 (size =3D 0x400000)=0A= > > EAL: Ask a virtual area of 0x400000 bytes=0A= > > EAL: Virtual area found at 0x7fe469e00000 (size =3D 0x400000)=0A= > > EAL: Requesting 2048 pages of size 2MB from socket 0=0A= > > EAL: Requesting 2048 pages of size 2MB from socket 1=0A= > > EAL: TSC frequency is ~2266745 KHz=0A= > > EAL: Master core 3 is ready (tid=3D6cedb800)=0A= > > EAL: PCI device 0000:07:00.0 on NUMA socket -1=0A= > > EAL: probe driver: 8086:10fb rte_ixgbe_pmd=0A= > >=0A= > >=0A= > > *EAL: Cannot open /dev/uio0: No such file or directoryEAL: Error=0A= > - exiting=0A= > > with code: 1 Cause: Requested device 0000:07:00.0 cannot be used*= =0A= > >=0A= >=0A= >=0A= =0A=