From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qg0-f46.google.com (mail-qg0-f46.google.com [209.85.192.46]) by dpdk.org (Postfix) with ESMTP id 8AB6612A8 for ; Tue, 9 Jun 2015 11:35:08 +0200 (CEST) Received: by qgep100 with SMTP id p100so3389664qge.3 for ; Tue, 09 Jun 2015 02:35:08 -0700 (PDT) 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 :content-type:content-transfer-encoding; bh=u73xoL0HO81jRyH1+3MQVCv36aThye+tZW91anEIAlk=; b=AyjpLJt30vfKkkPSSzEWce7N6BIUc0azAwgU/K4fAuUJn8avTr7L7vv4xP8KNsPOIq zlDfewp5cwuM7vLp7Qy4LAwsJB+OJ5NfzYu3Rp/abB/QvbdvssDMo2jKaSvq5Cg86zRL SpFCmpf5VLfNWU5PNp9S2fXa9MD2CiWIsZ6LinjQS5bTZhd3gKCFMvKTKmCIbC2wysE9 AXfqt5Ee0UZYjn1b1816icGONACbdKYZfzzDdVbfuD69XBtZ/bSV6qW+WPTF5JmQ026n A4kVS/XI4FgYxMz3fZNFD6DtYZQDRHqeKjFf1xaF/F3sxtfoAWA9xAqHoo1eiXQ4Dn+e 9suw== MIME-Version: 1.0 X-Received: by 10.140.239.129 with SMTP id k123mr25483796qhc.66.1433842508082; Tue, 09 Jun 2015 02:35:08 -0700 (PDT) Received: by 10.96.191.161 with HTTP; Tue, 9 Jun 2015 02:35:08 -0700 (PDT) In-Reply-To: References: Date: Tue, 9 Jun 2015 17:35:08 +0800 Message-ID: From: Mo Jia To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] Dpdk 2.0 with vmware-workstation ubunut guest: so many error msg " EAL: Error reading from file descriptor " 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, 09 Jun 2015 09:35:08 -0000 Hi anybody met this error. You can modify vmx , change drive "e1000" to "vmxnet3", This error go away. Don't understand why in deep , but it can work now. 2015-06-09 12:42 GMT+08:00 Mo Jia : > ~/Git/dpdk$ uname -a > Linux engine 3.16.0-31-generic #43-Ubuntu SMP Tue Mar 10 17:37:36 UTC > 2015 x86_64 x86_64 x86_64 GNU/Linux > > git log last commit: > commit c1715402df8f7fdb2392e12703d5b6f81fd5f447 > Author: Helin Zhang > Date: Thu Jun 4 14:54:32 2015 +0800 > > i40evf: fix jumbo frame support > > > > After config and compile then test the helloworld. > > 1 If I don=E2=80=99t bind to igb_uio: > > sudo ./examples/helloworld/build/helloworld -c 3 -n 1 > > EAL: Detected lcore 0 as core 0 on socket 0 > EAL: Detected lcore 1 as core 1 on socket 0 > EAL: Support maximum 128 logical core(s) by configuration. > EAL: Detected 2 lcore(s) > EAL: internal_config.no_hugetlbfs : 0 EAL: > internal_config.process_type : 0 EAL: internal_config.xen_dom0_support > : 0EAL: VFIO modules not all loaded, skip VFIO support... > EAL: Setting up memory... > EAL: Ask a virtual area of 0x3800000 bytes > EAL: Virtual area found at 0x7f6808a00000 (size =3D 0x3800000) > EAL: Ask a virtual area of 0x200000 bytes > EAL: Virtual area found at 0x7f6808600000 (size =3D 0x200000) > EAL: Ask a virtual area of 0x200000 bytes > EAL: Virtual area found at 0x7f6808200000 (size =3D 0x200000) > EAL: Ask a virtual area of 0x3400000 bytes > EAL: Virtual area found at 0x7f6804c00000 (size =3D 0x3400000) > EAL: Ask a virtual area of 0x200000 bytes > EAL: Virtual area found at 0x7f6804800000 (size =3D 0x200000) > EAL: Requesting 57 pages of size 2MB from socket 0 > EAL: TSC frequency is ~2599680 KHz > EAL: Master lcore 0 is ready (tid=3Ddcf0900;cpuset=3D[0]) > EAL: lcore 1 is ready (tid=3D47ff700;cpuset=3D[1]) > EAL: PCI device 0000:02:01.0 on NUMA socket -1 > EAL: probe driver: 8086:100f rte_em_pmd > EAL: Not managed by a supported kernel driver, skipped > EAL: PCI device 0000:02:05.0 on NUMA socket -1 > EAL: probe driver: 8086:100f rte_em_pmd > EAL: Not managed by a supported kernel driver, skipped > EAL: PCI device 0000:02:06.0 on NUMA socket -1 > EAL: probe driver: 8086:100f rte_em_pmd > EAL: Not managed by a supported kernel driver, skipped > hello from core 1 > hello from core 0 > > 2 after I bind it > > Network devices using DPDK-compatible driver > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 0000:02:05.0 '82545EM Gigabit Ethernet Controller (Copper)' drv=3Digb_uio= unused=3D > 0000:02:06.0 '82545EM Gigabit Ethernet Controller (Copper)' drv=3Digb_uio= unused=3D > > Network devices using kernel driver > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 0000:02:01.0 '82545EM Gigabit Ethernet Controller (Copper)' if=3Deth0 > drv=3De1000 unused=3Digb_uio *Active* > > Other network devices > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > engine@engine:~/Git/dpdk$ sudo ./examples/helloworld/build/helloworld -c = 3 -n 1 > EAL: Detected lcore 0 as core 0 on socket 0 > EAL: Detected lcore 1 as core 1 on socket 0 > EAL: Support maximum 128 logical core(s) by configuration. > EAL: Detected 2 lcore(s) > EAL: internal_config.no_hugetlbfs : 0 EAL: > internal_config.process_type : 0 EAL: internal_config.xen_dom0_support > : 0EAL: VFIO modules not all loaded, skip VFIO support... > EAL: Setting up memory... > EAL: Ask a virtual area of 0x3800000 bytes > EAL: Virtual area found at 0x7ff647200000 (size =3D 0x3800000) > EAL: Ask a virtual area of 0x200000 bytes > EAL: Virtual area found at 0x7ff646e00000 (size =3D 0x200000) > EAL: Ask a virtual area of 0x200000 bytes > EAL: Virtual area found at 0x7ff646a00000 (size =3D 0x200000) > EAL: Ask a virtual area of 0x3400000 bytes > EAL: Virtual area found at 0x7ff643400000 (size =3D 0x3400000) > EAL: Ask a virtual area of 0x200000 bytes > EAL: Virtual area found at 0x7ff643000000 (size =3D 0x200000) > EAL: Requesting 57 pages of size 2MB from socket 0 > EAL: TSC frequency is ~2599681 KHz > EAL: Master lcore 0 is ready (tid=3D4c5f8900;cpuset=3D[0]) > EAL: lcore 1 is ready (tid=3D42fff700;cpuset=3D[1]) > EAL: PCI device 0000:02:01.0 on NUMA socket -1 > EAL: probe driver: 8086:100f rte_em_pmd > EAL: Not managed by a supported kernel driver, skipped > EAL: PCI device 0000:02:05.0 on NUMA socket -1 > EAL: probe driver: 8086:100f rte_em_pmd > EAL: PCI memory mapped at 0x7ff64aa00000 > EAL: PCI memory mapped at 0x7ff64aa20000 > PMD: eth_em_dev_init(): port_id 0 vendorID=3D0x8086 deviceID=3D0x100f > EAL: PCI device 0000:02:06.0 on NUMA socket -1 > EAL: probe driver: 8086:100f rte_em_pmd > EAL: PCI memory mapped at 0x7ff64aa30000 > EAL: PCI memory mapped at 0x7ff64aa50000 > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > > 3 test with testpmd > sudo ./x86_64-native-linuxapp-gcc/build/app/test-pmd/testpmd -c3 -n2 > -- - p3 --total-num-mbufs=3D1500 > > (cut many lines) > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 15: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 15: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 15: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 15: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 15: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 15: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 15: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 15: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > PMD: eth_em_start(): << > Port 1: 00:0C:29:4C:D9:0E > Checking link statuses... > Port 0 Link Up - speed 1000 Mbps - full-duplex > Port 1 Link Up - speed 1000 Mbps - full-duplex > Done > No commandline core given, start packet forwarding > EAL: Error reading from file descriptor 15: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 15: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 15: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 15: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 15: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 15: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > > 4 if don't give --total-num-mbufs=3D1500 to testpmd > > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > PMD: eth_em_dev_init(): port_id 1 vendorID=3D0x8086 deviceID=3D0x100f > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error reading from file descriptor 13: Input/output error > EAL: Error - exiting with code: 1 > Cause: Creation of mbuf pool for socket 0 failed > > I am not sure why "EAL: Error reading from file descriptor 13: > Input/output error" > come out. And don't sure it may cause any other problems? > > Thank you.