From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-x229.google.com (mail-we0-x229.google.com [IPv6:2a00:1450:400c:c03::229]) by dpdk.org (Postfix) with ESMTP id A47E3532D for ; Wed, 12 Jun 2013 01:23:57 +0200 (CEST) Received: by mail-we0-f169.google.com with SMTP id n57so6466037wev.28 for ; Tue, 11 Jun 2013 16:24:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=T9G4Ob1ifrw0pN72d90JyeoYF34S6I1cOK2dXrXtLFo=; b=WsFc0M0XPC8CoUgJjrm+E3Mqu9jolmGXf0GryvTvqhgxOyOJVghrQaTl0UADs+SaMy 6Djxp0k+wYPpJFnZqxVLMgl8te9SuwMSCm6uG6kDA6MiIgNuZXpra5Ep/VgLX4h6Fb5I qNi7eZmV/8RplMjVXr2pMM/rDbJiLsE5L4M1sHkXK2lMwxQ/S045MkI9ZBY/zB3gvAwY UP8A1MhJvj7fWcjjNT01xkSZwvfMBIKMBeE/duC5HwRevfvyYW+caZvwyaz47gpcmniH N5qMilueCNvDMpf9VO62E8+GAJhcjBcdHxCmi5TOIxzGQ1ZvUtILZKXKLFhysxGV0Ykc QzSQ== X-Received: by 10.194.242.229 with SMTP id wt5mr9921302wjc.36.1370993047314; Tue, 11 Jun 2013 16:24:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.73.193 with HTTP; Tue, 11 Jun 2013 16:23:46 -0700 (PDT) In-Reply-To: References: From: Peter Chen Date: Tue, 11 Jun 2013 16:23:46 -0700 Message-ID: To: dev@dpdk.org Content-Type: multipart/alternative; boundary=089e013d1c5e93275404dee93188 Subject: Re: [dpdk-dev] testpmd errors 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: Tue, 11 Jun 2013 23:23:58 -0000 --089e013d1c5e93275404dee93188 Content-Type: text/plain; charset=ISO-8859-1 Just a bit more of information, I am using ubuntu 12.04 server. On Tue, Jun 11, 2013 at 3:56 PM, Peter Chen wrote: > Hi All, > > I am trying to install dpdk. Since it says to run test and testpmd to > see if everything works, I ran those apps. > > So far test works fine for me. However when I run testpmd, I get the > following: > > *probe driver: 8086:10c8 rte_ixgbe_pmd > * > * unbind kernel driver /sys/bus/pci/devices/0000:04:00.0/driver/unbind > * > * bind PCI device 0000:04:00.0 to igb_uio driver > * > * Device bound > * > * map PCI resource for device 0000:04:00.0 > * > * PCI memory mapped at 0x7f0e680e6000 > * > * rte_memzone_reserve_aligned(): No appropriate segment found > * > * pci_uio_map_resource(): cannot store uio mmap details > * > * Error - exiting with code: 1 > * > * No probed ethernet devices - check that CONFIG_RTE_LIBRTE_IGB_PMD =y > and that CONFIG_RTE_LIBRTE_IXGBE_PMD=y in your configuration file * > > Below is what I see in dmesg: > > *igb_uio 0000:04:00.0: irq 79 for MSI/MSI-X > * > * uio device registered with irq 4f > > * > * *My setup is a dell R510 with two quad-core Xeons (E5506), 32 GB > memory. It has 5 NICs of which two are up (eth0: BCM5716 and eth4 Intel > 82598EB 10 Gigabit). Both NICs are on the same subnet before I had dpdk > attach to eth4 by running the following command: > > *sudo ./testpmd -c ff -n 4 -r 2 -m 2048 -b 0000:01:00.0* > > 0000:04:00.0 is the Intel and 0000:01:00.0 is the Broadcom. > > Originally I was getting the "No probed ethernet devices" because I > had a non-supported NIC, however 82598 is a supported NIC and it seems that > dpdk did bind to the Intel NIC. However, rte_eth_dev_count() somehow still > returns 0. Any help would be great! Thanks! > > Peter > --089e013d1c5e93275404dee93188 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Just a bit more of information, I am using ubuntu 12.04 se= rver.


On Tue, Jun 11, 2013 at 3:56 PM, Peter Chen <peter.feifan.che= n@gmail.com> wrote:
Hi All,

=A0=A0=A0 I am trying to install dpdk. Si= nce it says to run test and testpmd to see if everything works, I ran those= apps.

=A0=A0=A0 So far test works fine for me. However when I run testp= md, I get the following:

=A0=A0=A0 probe driver: 8086:10c8 rte_ixgbe_pmd
<= b>=A0=A0=A0 unbind kernel driver /sys/bus/pci/devices/0000:04:00.0/driver/u= nbind
=A0=A0=A0 bind PCI device 0000:04:00.0 to igb_uio dri= ver
=A0=A0=A0 Device bound
=A0=A0=A0 map PCI resource for de= vice 0000:04:00.0
=A0=A0=A0 PCI memory mapped at 0x7f0e680e= 6000
=A0=A0=A0 rte_memzone_reserve_align= ed(): No appropriate segment found
=A0=A0=A0 pci_uio_map_resource(): cannot store uio mmap d= etails
=A0=A0=A0 Error - exiting with code: 1
<= /div>
=A0=A0=A0 No probed ethernet devices - check that CONFIG_RTE_L= IBRTE_IGB_PMD =3Dy and that CONFIG_RTE_LIBRTE_IXGBE_PMD=3Dy in your configu= ration file

=A0=A0=A0=A0 Below is what I see in dmesg:

=A0=A0=A0=A0 igb_uio 0000:04:00.0: irq 79 for MSI/MSI-X
=A0=A0=A0=A0 uio device registered with irq 4f

=A0=A0=A0=A0 My setup is a dell R510 with two quad-core Xeons (E550= 6), 32 GB memory. It has 5 NICs of which two are up (eth0: BCM5716 and eth4= Intel 82598EB 10 Gigabit). Both NICs are on the same subnet before I had d= pdk attach to eth4 by running the following command:

=A0=A0=A0=A0 sudo ./testpmd -c ff -n 4 -r 2 -m 2048 -b 00= 00:01:00.0
=A0=A0=A0=A0
=A0=A0=A0=A0 0000= :04:00.0 is the Intel and 0000:01:00.0 is the Broadcom.

=A0=A0=A0= =A0 Originally I was getting the "No probed ethernet devices" bec= ause I had a non-supported NIC, however 82598 is a supported NIC and it see= ms that dpdk did bind to the Intel NIC. However, rte_eth_dev_count() someho= w still returns 0. Any help would be great! Thanks!<= font color=3D"#888888">
=A0
<= div>Peter

--089e013d1c5e93275404dee93188--