From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f171.google.com (mail-pd0-f171.google.com [209.85.192.171]) by dpdk.org (Postfix) with ESMTP id AE86EB4F5 for ; Sun, 22 Feb 2015 06:30:07 +0100 (CET) Received: by pdev10 with SMTP id v10so17481339pde.7 for ; Sat, 21 Feb 2015 21:30:07 -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:content-type:content-transfer-encoding; bh=9Wb5hxIgyozC6+/U55djUeuW/Qf9/gi+oFVEeYhmHVc=; b=bIVYFHjtUlQMW+gqC+vyZQpL3x8eWuMp5gAWT61/VqoA+jYMirSF9kroXq4eaguz4t PsH/Oa9ys353pVyGBWoXgrTb5xK1i5fs0dc9+VLA1Am1O5twl9CsFlTkNzcEOtxNaItn C6GJNwBkOASCihYlz0O9FZcGDM6tyGiK0ONw9lDflp01ktdTpyV+DE9Zl8s8cepJJknD kefPqL5Eh+LS2TXSYnL1Asv54plJK3JHf6rhWzQXn7kerTkOi20AHZcgYOryCsC8Yhbi 4LPbrH+0tfFKVjJN1nH/Va2TZCOr2mjvtK5OoNOQEbUHbx0D+6/HeW6Aof9nzwS3ABhl Ai9w== X-Gm-Message-State: ALoCoQmtGTMHv9xQ6K3VXIQgdhbpSPFJP0h0yC0gbzSIlQdzQ8KY+j8GxCqALAPwAD0y8HpfvID4 X-Received: by 10.66.182.199 with SMTP id eg7mr8887116pac.57.1424583006972; Sat, 21 Feb 2015 21:30:06 -0800 (PST) Received: from [10.16.129.101] (napt.igel.co.jp. [219.106.231.132]) by mx.google.com with ESMTPSA id em4sm31617160pbc.46.2015.02.21.21.30.05 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Feb 2015 21:30:06 -0800 (PST) Message-ID: <54E9695A.5010509@igel.co.jp> Date: Sun, 22 Feb 2015 14:30:02 +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: "dev@dpdk.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [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: Sun, 22 Feb 2015 05:30:07 -0000 Hi, In my environment, testpmd in latest master branch returns error like bel= ow. $ 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 =3D 0x280000000) EAL: Requesting 10 pages of size 1024MB from socket 0 EAL: TSC frequency is ~3991450 KHz EAL: Master core 0 is ready (tid=3Df7fd6840) PMD: ENICPMD trace: rte_enic_pmd_init EAL: Core 3 is ready (tid=3Df58e0700) EAL: Core 2 is ready (tid=3Df60e1700) EAL: Core 1 is ready (tid=3Df68e2700) 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