[dpdk-dev] Dpdk 2.0 with vmware-workstation ubunut guest: so many error msg " EAL: Error reading from file descriptor "

Mo Jia life.130815 at gmail.com
Tue Jun 9 11:35:08 CEST 2015


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 <life.130815 at gmail.com>:
> ~/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 <helin.zhang at intel.com>
> 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’t 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 = 0x3800000)
> EAL: Ask a virtual area of 0x200000 bytes
> EAL: Virtual area found at 0x7f6808600000 (size = 0x200000)
> EAL: Ask a virtual area of 0x200000 bytes
> EAL: Virtual area found at 0x7f6808200000 (size = 0x200000)
> EAL: Ask a virtual area of 0x3400000 bytes
> EAL: Virtual area found at 0x7f6804c00000 (size = 0x3400000)
> EAL: Ask a virtual area of 0x200000 bytes
> EAL: Virtual area found at 0x7f6804800000 (size = 0x200000)
> EAL: Requesting 57 pages of size 2MB from socket 0
> EAL: TSC frequency is ~2599680 KHz
> EAL: Master lcore 0 is ready (tid=dcf0900;cpuset=[0])
> EAL: lcore 1 is ready (tid=47ff700;cpuset=[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
> ============================================
> 0000:02:05.0 '82545EM Gigabit Ethernet Controller (Copper)' drv=igb_uio unused=
> 0000:02:06.0 '82545EM Gigabit Ethernet Controller (Copper)' drv=igb_uio unused=
>
> Network devices using kernel driver
> ===================================
> 0000:02:01.0 '82545EM Gigabit Ethernet Controller (Copper)' if=eth0
> drv=e1000 unused=igb_uio *Active*
>
> Other network devices
> =====================
> <none>
>
> engine at 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 = 0x3800000)
> EAL: Ask a virtual area of 0x200000 bytes
> EAL: Virtual area found at 0x7ff646e00000 (size = 0x200000)
> EAL: Ask a virtual area of 0x200000 bytes
> EAL: Virtual area found at 0x7ff646a00000 (size = 0x200000)
> EAL: Ask a virtual area of 0x3400000 bytes
> EAL: Virtual area found at 0x7ff643400000 (size = 0x3400000)
> EAL: Ask a virtual area of 0x200000 bytes
> EAL: Virtual area found at 0x7ff643000000 (size = 0x200000)
> EAL: Requesting 57 pages of size 2MB from socket 0
> EAL: TSC frequency is ~2599681 KHz
> EAL: Master lcore 0 is ready (tid=4c5f8900;cpuset=[0])
> EAL: lcore 1 is ready (tid=42fff700;cpuset=[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=0x8086 deviceID=0x100f
> 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=1500
>
> (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=1500 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=0x8086 deviceID=0x100f
> 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.


More information about the dev mailing list