From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 9435BAE00 for ; Sun, 22 Feb 2015 15:18:13 +0100 (CET) Received: by mail-wg0-f52.google.com with SMTP id x12so21100503wgg.11 for ; Sun, 22 Feb 2015 06:18:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=zc/WyTqCUayGvuiFd2SsoGYcHyhaCBw65mZ4XwvtXQY=; b=frendWWB1QjqOfQ9b/gv8YFLysPWOtKl2R6SQ+xfKO5wvvhnB6WMQCMvMpuu35EUOz 6JqF9zjFQP5qlf3+38JirQDm1DUX6dCHB1wXjhueWHncRoJB5FLQuNbzC35qJ81/7V2x IweKuXaBPIxXYptUrJmPz1D/plxQyQHJeIdApq9IXtVuTZypY693jMy3TmuDeObEcCwn gX4/WkAzR3I96baxoS9Z64r5GWXYuA2fP71D8mnrWp1Ls5DErtz28gG1/pVaXVmxWlUt DRn5mfOtAmp+YynPY6cOehwkVv1Z0K1fuC9W9nAGiptRBpeZYlAMGx4mqyLQcBXFD9Mz TYXQ== X-Gm-Message-State: ALoCoQm8sUhbxB4p81nfauLlokDMvdoGqTkw82/ruPvuWEyKpLk/foHa9i3iweRxTxNiQQ1Rhz9s X-Received: by 10.195.12.35 with SMTP id en3mr12709655wjd.129.1424614693433; Sun, 22 Feb 2015 06:18:13 -0800 (PST) Received: from xps13.localnet (117.114.118.80.rev.sfr.net. [80.118.114.117]) by mx.google.com with ESMTPSA id w8sm2872827wja.4.2015.02.22.06.18.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Feb 2015 06:18:12 -0800 (PST) From: Thomas Monjalon To: Tetsuya Mukawa , david.marchand@6wind.com Date: Sun, 22 Feb 2015 15:17:43 +0100 Message-ID: <3376494.YE1J4OXSVA@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: <54E9695A.5010509@igel.co.jp> References: <54E9695A.5010509@igel.co.jp> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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: Sun, 22 Feb 2015 14:18:13 -0000 Hi Tetsuya, 2015-02-22 14:30, Tetsuya Mukawa: > 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 Thank you Tetsuya for reporting and sorry to disturb you with this new problem. Please ignore this patchset in your hotplug development. > Someone, could you please check it? It is possible that this patchset was not correctly tested. We might revert it or try to fix it. I think the decision should be done by its authors (Danny, Bruce), or the Linux EAL maintainer (David). David, any opinion?