From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f173.google.com (mail-pd0-f173.google.com [209.85.192.173]) by dpdk.org (Postfix) with ESMTP id 7BD2B9AF2 for ; Mon, 23 Feb 2015 12:36:56 +0100 (CET) Received: by pdjy10 with SMTP id y10so24821481pdj.6 for ; Mon, 23 Feb 2015 03:36:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=/KBROvkV1XoN5I5uLedFoFDtNN8XTJZycHej3inCcpM=; b=DMJKYcaFNq9iPdS0yojgz3SIxmlY+/F3CyLvF6i53L4gywG8ozCb/LPzUoVSs0JQQN DQfR2UdVos47ZzxQDu3cBh6LYe5KYYRnjpfqtpfZXDOQdxfQMrl3bBj/fmXzupaaHvzq MmH+zF2JlfPJi0k5qjg7hjxLwjBNvASGHuYZYlQOLHssG+qJOkh5AoixR50wQ76TJW3+ DzMAG6VQ7gemTcjlU0sZNgGLmKyAn1nzXq+KV8GtKABpxAJDRLf1ollvSSjgY7Klb+o+ w1KnwY9TKUsujUgvTFJNWpdvNdRtp6B2dE6KeHq5ye+WleqIRf4jVu6xG0Rud8QhQAE4 WXEQ== X-Gm-Message-State: ALoCoQkOpNMF1+FbEL7VZlQ4ZYBqB7p5zh28bJWyL6WIRpU1/id5eWl6MJ88OmoZmJ9e1m6qA5zT X-Received: by 10.67.24.35 with SMTP id if3mr18151146pad.99.1424691415806; Mon, 23 Feb 2015 03:36:55 -0800 (PST) Received: from [10.16.129.101] (napt.igel.co.jp. [219.106.231.132]) by mx.google.com with ESMTPSA id cz1sm35439310pdb.32.2015.02.23.03.36.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Feb 2015 03:36:54 -0800 (PST) Message-ID: <54EB10D2.3040104@igel.co.jp> Date: Mon, 23 Feb 2015 20:36:50 +0900 From: Tetsuya Mukawa User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Bruce Richardson References: <54E9695A.5010509@igel.co.jp> <20150222204645.GA7672@bricha3-MOBL3> <54EA9189.6050203@igel.co.jp> <20150223111216.GA8504@bricha3-MOBL3> In-Reply-To: <20150223111216.GA8504@bricha3-MOBL3> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Testpmd returns error. 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: Mon, 23 Feb 2015 11:36:56 -0000 On 2015/02/23 20:12, Bruce Richardson wrote: > On Mon, Feb 23, 2015 at 11:33:45AM +0900, Tetsuya Mukawa wrote: >> On 2015/02/23 5:46, Bruce Richardson wrote: >>> On Sun, Feb 22, 2015 at 02:30:02PM +0900, Tetsuya Mukawa wrote: >>>> Hi, >>>> >>>> In my environment, testpmd in latest master branch returns error like below. >>>> >>>> $ sudo ./tools/dpdk_nic_bind.py -b igb_uio 0000:02:00.0 >>>> $ sudo ./x86_64-native-linuxapp-gcc/app/testpmd -c f -n 1 -- -i >>>> EAL: Detected lcore 0 as core 0 on socket 0 >>>> EAL: Detected lcore 1 as core 1 on socket 0 >>>> EAL: Detected lcore 2 as core 2 on socket 0 >>>> EAL: Detected lcore 3 as core 3 on socket 0 >>>> EAL: Detected lcore 4 as core 4 on socket 0 >>>> EAL: Detected lcore 5 as core 5 on socket 0 >>>> EAL: Detected lcore 6 as core 6 on socket 0 >>>> EAL: Detected lcore 7 as core 7 on socket 0 >>>> EAL: Support maximum 128 logical core(s) by configuration. >>>> EAL: Detected 8 lcore(s) >>>> EAL: VFIO modules not all loaded, skip VFIO support... >>>> EAL: Setting up memory... >>>> EAL: Ask a virtual area of 0x280000000 bytes >>>> EAL: Virtual area found at 0x7ffd40000000 (size = 0x280000000) >>>> EAL: Requesting 10 pages of size 1024MB from socket 0 >>>> EAL: TSC frequency is ~3991450 KHz >>>> EAL: Master core 0 is ready (tid=f7fd6840) >>>> PMD: ENICPMD trace: rte_enic_pmd_init >>>> EAL: Core 3 is ready (tid=f58e0700) >>>> EAL: Core 2 is ready (tid=f60e1700) >>>> EAL: Core 1 is ready (tid=f68e2700) >>>> EAL: PCI device 0000:02:00.0 on NUMA socket -1 >>>> EAL: probe driver: 8086:10b9 rte_em_pmd >>>> EAL: PCI memory mapped at 0x7fffc0000000 >>>> EAL: pci_map_resource(): cannot mmap(23, 0x7fffc0020000, 0x20000, >>>> 0x1000): Invalid argument (0xffffffffffffffff) >>>> EAL: Error - exiting with code: 1 >>>> Cause: Requested device 0000:02:00.0 cannot be used >>>> >>>> >>>> I've run git-bisect, and it seems following commit cause this error. >>>> >>>> commit 4a499c64959074ba6fa6a5a2b3a2a6aa10627fa1 >>>> Author: Danny Zhou >>>> Date: Fri Feb 20 16:59:15 2015 +0000 >>>> >>>> eal/linux: enable uio_pci_generic support >>>> >>>> Someone, could you please check it? >>>> >>>> Thanks, >>>> Tetsuya >>>> >>> Hi Tetsuya, >>> >>> trying to reproduce the problem here, with no success so far with a mix of 1G >>> and 10G ports. Is there anything special about your environment that might >>> especially trigger this issue? Is it a VM or running on the host machine etc.? >> Hi Bruce, >> >> I appreciate for your testing. >> >> I've tried it on an another system, and I couldn't reproduce it. >> Could you please see below? >> >> - The system I can reproduce the issue >> OS: Ubuntu14.04 >> Kernel: Linux eris 3.13.0-30-generic >> CPU: AMD FX(tm)-8350 Eight-Core Processor >> NIC: Ethernet controller: Intel Corporation 82572EI Gigabit Ethernet >> Controller (Copper) (rev 06) >> >> - The system I cannot reproduce the issue >> OS: ubuntu14.04 >> Kernel: Linux ubuntu-igel 3.13.0-30-generic >> Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz >> NIC: Ethernet controller: Intel Corporation I350 Gigabit Network >> Connection (rev 01) >> >> I will check it more in next testing phase. >> Until then, I will use the system I cannot reproduce the issue. >> >> Regards, >> Tetsuya >> >>> Regards, >>> /Bruce >>> > Thanks Tetsuya, > Declan has managed to find a board here that can reproduce the issue so we > are now investigating possible solutions. > /Bruce Hi Bruce, Thanks you so much! Tetsuya