From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by dpdk.org (Postfix) with ESMTP id E66907E75 for ; Wed, 3 Dec 2014 02:25:29 +0100 (CET) Received: by mail-vc0-f178.google.com with SMTP id hq11so6466557vcb.37 for ; Tue, 02 Dec 2014 17:25:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=eBLUsHBnccMiL4XehJGb0BVcVNMFkgJzoQftz5SsPQ0=; b=PguyB4YZGV0oT1xn75b36wl9Dgiww+kxwcUZeVFmtr4yDiyFHc2ZWJaOtB3xqEhNO+ 5tY18J9yu6iNMz+VSiDeEyCeA8izUiSMUZC2o/pXD4upY6WlyYUk9fgvNQeuMkPZrW7m F7UuIPhIOFTx5NjnueEAhH+AXDiL4JD9Gv3T9DcMMttDr0TNQxCuRjXjFS0hSIeKCfys p1KKUOrOcXjq5n02X2Yqy0wUIE0t/W6ylwp3fy/5Sv9f++QMj9l5ZRFDBie9xwBYEeBW X1jBNXSdDr68pWcMGit/j5reH4aUqCO/RYkl92TMGley4d1YZsdhZPD1+G/A15L02QBF wOqg== MIME-Version: 1.0 X-Received: by 10.220.128.71 with SMTP id j7mr1508484vcs.22.1417569929412; Tue, 02 Dec 2014 17:25:29 -0800 (PST) Received: by 10.52.117.240 with HTTP; Tue, 2 Dec 2014 17:25:29 -0800 (PST) In-Reply-To: <533710CFB86FA344BFBF2D6802E60286C9C1C8@SHSMSX101.ccr.corp.intel.com> References: <533710CFB86FA344BFBF2D6802E60286C9C1C8@SHSMSX101.ccr.corp.intel.com> Date: Tue, 2 Dec 2014 17:25:29 -0800 Message-ID: From: Malveeka Tewari To: "Qiu, Michael" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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:25:30 -0000 I do have the uio and igb_uio modules loaded. For my issue, I found a workaround by manually creating /dev/uio0 using mknod. But I still get the vfio error. If I try "sudo modprobe vfio" but that gives an error that Module vfio not found. I tried looking for vfio.ko in the dpdk source tree as well but could not find that module. How can I install the vfio module? Thanks! Malveeka On Tue, Dec 2, 2014 at 5:12 PM, Qiu, Michael wrote: > Hi Malveeka, > > To be sure that you should have [uio, igb_uio] or [uio, uio_pci_generic] > or [vfio] module loaded. > > Thanks, > Michael > On 12/3/2014 5:44 AM, Malveeka Tewari wrote: > > Hi > > > > I am trying to run the testpmd app as but I get the following errors: > > EAL: VFIO could not be initialized > > EAL: Cannot open /dev/uio0: No such file or directory > > EAL: Error - exiting with code: 1 > > Cause: Requested device 0000:07:00.0 cannot be used > > > > lsmod shows that the uio module is installed. > > Is there anything that's missing? > > > > Thanks! > > Malveeka > > > > > > > > Output on trying to run testpmd > > > > EAL: Detected 16 lcore(s) > > *EAL: cannot open VFIO container, error 2 (No such file or directory)* > > *EAL: VFIO support could not be initialized* > > EAL: Setting up memory... > > EAL: Ask a virtual area of 0x200000 bytes > > EAL: Virtual area found at 0x7fe66ac00000 (size = 0x200000) > > EAL: Ask a virtual area of 0xffc00000 bytes > > EAL: Virtual area found at 0x7fe56ae00000 (size = 0xffc00000) > > EAL: Ask a virtual area of 0x200000 bytes > > EAL: Virtual area found at 0x7fe56aa00000 (size = 0x200000) > > EAL: Ask a virtual area of 0xfec00000 bytes > > EAL: Virtual area found at 0x7fe46bc00000 (size = 0xfec00000) > > EAL: Ask a virtual area of 0x400000 bytes > > EAL: Virtual area found at 0x7fe46b600000 (size = 0x400000) > > EAL: Ask a virtual area of 0x400000 bytes > > EAL: Virtual area found at 0x7fe46b000000 (size = 0x400000) > > EAL: Ask a virtual area of 0x400000 bytes > > EAL: Virtual area found at 0x7fe46aa00000 (size = 0x400000) > > EAL: Ask a virtual area of 0x400000 bytes > > EAL: Virtual area found at 0x7fe46a400000 (size = 0x400000) > > EAL: Ask a virtual area of 0x400000 bytes > > EAL: Virtual area found at 0x7fe469e00000 (size = 0x400000) > > EAL: Requesting 2048 pages of size 2MB from socket 0 > > EAL: Requesting 2048 pages of size 2MB from socket 1 > > EAL: TSC frequency is ~2266745 KHz > > EAL: Master core 3 is ready (tid=6cedb800) > > EAL: PCI device 0000:07:00.0 on NUMA socket -1 > > EAL: probe driver: 8086:10fb rte_ixgbe_pmd > > > > > > *EAL: Cannot open /dev/uio0: No such file or directoryEAL: Error - > exiting > > with code: 1 Cause: Requested device 0000:07:00.0 cannot be used* > > > >