DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] EAL : Input/output error on DPDK 1.7.1
@ 2014-10-16 18:04 Raghav K
  2014-10-24  3:22 ` Masaru Oki
  0 siblings, 1 reply; 3+ messages in thread
From: Raghav K @ 2014-10-16 18:04 UTC (permalink / raw)
  To: dev

Hey,
I observe continuous burst of I/O Errors, as indicated below, with the testpmd application with DPDK 1.7.1.This seems to originate from eal_intr_process_interrupts() function. I seemed to have setup the DPDK prerequisites alright.
Another recent post seemed to suggest moving back to 1.7.0, however I would like to persist with 1.7.1.
Any help/pointers in resolving this would be greatly appreciated. 
Much thanks,Raghav
root@sys6-vm6:/home/rghv/dpdk/dpdk-1.7.1/x86_64-native-linuxapp-gcc/app# ./testpmd -c 0xf -n3 -- -i --nb-cores=3 --nb-ports=2
EAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output error
----
root@sys6-vm6:/home/rghv/dpdk/dpdk-1.7.1# ./tools/dpdk_nic_bind.py --status
Network devices using DPDK-compatible driver============================================0000:02:01.0 '82545EM Gigabit Ethernet Controller (Copper)' drv=igb_uio unused=e10000000:02:02.0 '82545EM Gigabit Ethernet Controller (Copper)' drv=igb_uio unused=e1000
Network devices using kernel driver===================================0000:02:00.0 '82545EM Gigabit Ethernet Controller (Copper)' if=eth0 drv=e1000 unused=igb_uio *Active*0000:02:03.0 '82545EM Gigabit Ethernet Controller (Copper)' if=eth3 drv=e1000 unused=igb_uio 0000:02:05.0 '82545EM Gigabit Ethernet Controller (Copper)' if=eth4 drv=e1000 unused=igb_uio 0000:02:06.0 '82545EM Gigabit Ethernet Controller (Copper)' if=eth5 drv=e1000 unused=igb_uio 
Other network devices=====================<none> 		 	   		  

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] EAL : Input/output error on DPDK 1.7.1
  2014-10-16 18:04 [dpdk-dev] EAL : Input/output error on DPDK 1.7.1 Raghav K
@ 2014-10-24  3:22 ` Masaru Oki
  2014-10-24  9:21   ` Stephen Hemminger
  0 siblings, 1 reply; 3+ messages in thread
From: Masaru Oki @ 2014-10-24  3:22 UTC (permalink / raw)
  To: Raghav K; +Cc: dev

[-- Attachment #1: Type: text/plain, Size: 2651 bytes --]

Hi,
I got same result in VMware Workstation environment.
At least in my environment, INTX toggle check is not work with VMware
E1000 Ethernet.
Please try attached patch.

2014-10-17 3:04 GMT+09:00 Raghav K <rghvk@outlook.com>:
> Hey,
> I observe continuous burst of I/O Errors, as indicated below, with the testpmd application with DPDK 1.7.1.This seems to originate from eal_intr_process_interrupts() function. I seemed to have setup the DPDK prerequisites alright.
> Another recent post seemed to suggest moving back to 1.7.0, however I would like to persist with 1.7.1.
> Any help/pointers in resolving this would be greatly appreciated.
> Much thanks,Raghav
> root@sys6-vm6:/home/rghv/dpdk/dpdk-1.7.1/x86_64-native-linuxapp-gcc/app# ./testpmd -c 0xf -n3 -- -i --nb-cores=3 --nb-ports=2
> EAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output errorEAL: Error reading from file descriptor 21: Input/output error
> ----
> root@sys6-vm6:/home/rghv/dpdk/dpdk-1.7.1# ./tools/dpdk_nic_bind.py --status
> Network devices using DPDK-compatible driver============================================0000:02:01.0 '82545EM Gigabit Ethernet Controller (Copper)' drv=igb_uio unused=e10000000:02:02.0 '82545EM Gigabit Ethernet Controller (Copper)' drv=igb_uio unused=e1000
> Network devices using kernel driver===================================0000:02:00.0 '82545EM Gigabit Ethernet Controller (Copper)' if=eth0 drv=e1000 unused=igb_uio *Active*0000:02:03.0 '82545EM Gigabit Ethernet Controller (Copper)' if=eth3 drv=e1000 unused=igb_uio 0000:02:05.0 '82545EM Gigabit Ethernet Controller (Copper)' if=eth4 drv=e1000 unused=igb_uio 0000:02:06.0 '82545EM Gigabit Ethernet Controller (Copper)' if=eth5 drv=e1000 unused=igb_uio
> Other network devices=====================<none>

[-- Attachment #2: igb_uio_intx.diff --]
[-- Type: text/plain, Size: 886 bytes --]

diff --git a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c
index d1ca26e..c46a00f 100644
--- a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c
+++ b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c
@@ -505,14 +505,11 @@ igbuio_pci_probe(struct pci_dev *dev, const struct pci_device_id *id)
 		}
 		/* fall back to INTX */
 	case RTE_INTR_MODE_LEGACY:
-		if (pci_intx_mask_supported(dev)) {
-			dev_dbg(&dev->dev, "using INTX");
-			udev->info.irq_flags = IRQF_SHARED;
-			udev->info.irq = dev->irq;
-			udev->mode = RTE_INTR_MODE_LEGACY;
-			break;
-		}
-		dev_notice(&dev->dev, "PCI INTX mask not supported\n");
+		dev_dbg(&dev->dev, "using INTX");
+		udev->info.irq_flags = IRQF_SHARED;
+		udev->info.irq = dev->irq;
+		udev->mode = RTE_INTR_MODE_LEGACY;
+		break;
 		/* fall back to no IRQ */
 	case RTE_INTR_MODE_NONE:
 		udev->mode = RTE_INTR_MODE_NONE;

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] EAL : Input/output error on DPDK 1.7.1
  2014-10-24  3:22 ` Masaru Oki
@ 2014-10-24  9:21   ` Stephen Hemminger
  0 siblings, 0 replies; 3+ messages in thread
From: Stephen Hemminger @ 2014-10-24  9:21 UTC (permalink / raw)
  To: Masaru Oki; +Cc: dev

INTX is badly emulated in VMWare; the disable logic doesn't work.
I thought the DPDK API detected when link state interrupt would not work.
But of course the application needs to check that before enabling link state

On Fri, Oct 24, 2014 at 8:52 AM, Masaru Oki <m-oki@stratosphere.co.jp>
wrote:

> Hi,
> I got same result in VMware Workstation environment.
> At least in my environment, INTX toggle check is not work with VMware
> E1000 Ethernet.
> Please try attached patch.
>
> 2014-10-17 3:04 GMT+09:00 Raghav K <rghvk@outlook.com>:
> > Hey,
> > I observe continuous burst of I/O Errors, as indicated below, with the
> testpmd application with DPDK 1.7.1.This seems to originate from
> eal_intr_process_interrupts() function. I seemed to have setup the DPDK
> prerequisites alright.
> > Another recent post seemed to suggest moving back to 1.7.0, however I
> would like to persist with 1.7.1.
> > Any help/pointers in resolving this would be greatly appreciated.
> > Much thanks,Raghav
> > root@sys6-vm6:/home/rghv/dpdk/dpdk-1.7.1/x86_64-native-linuxapp-gcc/app#
> ./testpmd -c 0xf -n3 -- -i --nb-cores=3 --nb-ports=2
> > EAL: Error reading from file descriptor 21: Input/output errorEAL: Error
> reading from file descriptor 21: Input/output errorEAL: Error reading from
> file descriptor 21: Input/output errorEAL: Error reading from file
> descriptor 21: Input/output errorEAL: Error reading from file descriptor
> 21: Input/output errorEAL: Error reading from file descriptor 21:
> Input/output errorEAL: Error reading from file descriptor 21: Input/output
> errorEAL: Error reading from file descriptor 21: Input/output errorEAL:
> Error reading from file descriptor 21: Input/output errorEAL: Error reading
> from file descriptor 21: Input/output errorEAL: Error reading from file
> descriptor 21: Input/output errorEAL: Error reading from file descriptor
> 21: Input/output errorEAL: Error reading from file descriptor 21:
> Input/output errorEAL: Error reading from file descriptor 21: Input/output
> errorEAL: Error reading from file descriptor 21: Input/output errorEAL:
> Error reading from file descriptor 21: Input/output error
> > ----
> > root@sys6-vm6:/home/rghv/dpdk/dpdk-1.7.1# ./tools/dpdk_nic_bind.py
> --status
> > Network devices using DPDK-compatible
> driver============================================0000:02:01.0 '82545EM
> Gigabit Ethernet Controller (Copper)' drv=igb_uio unused=e10000000:02:02.0
> '82545EM Gigabit Ethernet Controller (Copper)' drv=igb_uio unused=e1000
> > Network devices using kernel
> driver===================================0000:02:00.0 '82545EM Gigabit
> Ethernet Controller (Copper)' if=eth0 drv=e1000 unused=igb_uio
> *Active*0000:02:03.0 '82545EM Gigabit Ethernet Controller (Copper)' if=eth3
> drv=e1000 unused=igb_uio 0000:02:05.0 '82545EM Gigabit Ethernet Controller
> (Copper)' if=eth4 drv=e1000 unused=igb_uio 0000:02:06.0 '82545EM Gigabit
> Ethernet Controller (Copper)' if=eth5 drv=e1000 unused=igb_uio
> > Other network devices=====================<none>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-24  9:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-16 18:04 [dpdk-dev] EAL : Input/output error on DPDK 1.7.1 Raghav K
2014-10-24  3:22 ` Masaru Oki
2014-10-24  9:21   ` Stephen Hemminger

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git