From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ananyev, Konstantin" Subject: Re: Unusable interfaces although apparently attached to IGB_UIO Date: Tue, 25 Feb 2014 13:00:59 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725808E6ACA7@IRSMSX105.ger.corp.intel.com> References: <530C8A76.5040701@bisdn.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable To: Marc Sune , "" Return-path: In-Reply-To: <530C8A76.5040701-kpkqNMk1I7M@public.gmane.org> Content-Language: en-US List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Hi, Probably try to rebuild with CONFIG_RTE_LIBRTE_IXGBE_DEBUG_*=3Dy and rerun? Might be it would give you some insight what is going wrong. Konstantin -----Original Message----- From: dev [mailto:dev-bounces-VfR2kkLFssw@public.gmane.org] On Behalf Of Marc Sune Sent: Tuesday, February 25, 2014 12:20 PM To: Subject: [dpdk-dev] Unusable interfaces although apparently attached to IGB= _UIO Dear all, We've been experiencing problems with interfaces being recognised by DPDK s= ince some time now, I think since the very begining we started using DPDK (= aprox. 1.3). Randomly, even on a fresh reboot (after = modprobe->attach->launch dpdk_app), and properly attached to the IGB_UIO kmod [0], interfaces do appear in the "probe stage" of the respective drive= r during RTE* initialization, but DPDK complains there are no DPDK-enabled = interfaces [1]. It even happens with the examples provided [1]. Once they enter in this "zo= mbie state", there is no way to recover them unless a reboot is performed. = Attaching igb_uio -> igb -> gb_uio does not solve it either. = This happens also with 1G copper ports. Any ideas? Thanks and regards marc p.s. Using 1.5.2 branch right now ------------------------- [0] setup.sh Option: 10 Network devices using IGB_UIO 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 0000:06:00.0 '82599EB 10-Gigabit SFI/SFP+ Network Connection' = drv=3Digb_uio unused=3D 0000:06:00.1 '82599EB 10-Gigabit SFI/SFP+ Network Connection' = 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:08:00.1 'DH8900CC Series Gigabit Network Connection' if=3Deth3 drv=3Di= gb unused=3Digb_uio 0000:08:00.2 'DH8900CC Series Gigabit Network Connection' if=3Deth5 drv=3Di= gb unused=3Digb_uio 0000:08:00.3 'DH8900CC Series Gigabit Network Connection' if=3Deth6 drv=3Di= gb unused=3Digb_uio 0000:08:00.4 'DH8900CC Series Gigabit Network Connection' if=3Deth7 drv=3Di= gb unused=3Digb_uio 0000:09:00.0 'I350 Gigabit Network Connection' if=3Deth8 drv=3Digb unused= =3Digb_uio *Active* 0000:09:00.1 'I350 Gigabit Network Connection' if=3Deth9 drv=3Digb unused= =3Digb_uio *Active* 0000:09:00.2 'I350 Gigabit Network Connection' if=3Deth10 drv=3Digb unused= =3Digb_uio 0000:09:00.3 'I350 Gigabit Network Connection' if=3Deth11 drv=3Digb unused= =3Digb_uio 0000:85:00.0 '82599EB 10-Gigabit SFI/SFP+ Network Connection' if=3Deth2 drv= =3Dixgbe unused=3Digb_uio 0000:85:00.1 '82599EB 10-Gigabit SFI/SFP+ Network Connection' if=3Deth4 drv= =3Dixgbe unused=3Digb_uio Other network devices =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Enter PCI address of device to bind to IGB UIO driver: [1] l2fwd marc@bertha-dpdk:~/dpdk/examples/l2fwd/build$ sudo ./l2fwd -c 0xFF -n 2 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: Detected lcore 8 as core 0 on socket 1 EAL: Detected lcore 9 as core 1 on socket 1 EAL: Detected lcore 10 as core 2 on socket 1 EAL: Detected lcore 11 as core 3 on socket 1 EAL: Detected lcore 12 as core 4 on socket 1 EAL: Detected lcore 13 as core 5 on socket 1 EAL: Detected lcore 14 as core 6 on socket 1 EAL: Detected lcore 15 as core 7 on socket 1 EAL: Skip lcore 16 (not detected) EAL: Skip lcore 17 (not detected) EAL: Skip lcore 18 (not detected) EAL: Skip lcore 19 (not detected) EAL: Skip lcore 20 (not detected) EAL: Skip lcore 21 (not detected) EAL: Skip lcore 22 (not detected) EAL: Skip lcore 23 (not detected) EAL: Skip lcore 24 (not detected) EAL: Skip lcore 25 (not detected) EAL: Skip lcore 26 (not detected) EAL: Skip lcore 27 (not detected) EAL: Skip lcore 28 (not detected) EAL: Skip lcore 29 (not detected) EAL: Skip lcore 30 (not detected) EAL: Skip lcore 31 (not detected) EAL: Skip lcore 32 (not detected) EAL: Skip lcore 33 (not detected) EAL: Skip lcore 34 (not detected) EAL: Skip lcore 35 (not detected) EAL: Skip lcore 36 (not detected) EAL: Skip lcore 37 (not detected) EAL: Skip lcore 38 (not detected) EAL: Skip lcore 39 (not detected) EAL: Skip lcore 40 (not detected) EAL: Skip lcore 41 (not detected) EAL: Skip lcore 42 (not detected) EAL: Skip lcore 43 (not detected) EAL: Skip lcore 44 (not detected) EAL: Skip lcore 45 (not detected) EAL: Skip lcore 46 (not detected) EAL: Skip lcore 47 (not detected) EAL: Skip lcore 48 (not detected) EAL: Skip lcore 49 (not detected) EAL: Skip lcore 50 (not detected) EAL: Skip lcore 51 (not detected) EAL: Skip lcore 52 (not detected) EAL: Skip lcore 53 (not detected) EAL: Skip lcore 54 (not detected) EAL: Skip lcore 55 (not detected) EAL: Skip lcore 56 (not detected) EAL: Skip lcore 57 (not detected) EAL: Skip lcore 58 (not detected) EAL: Skip lcore 59 (not detected) EAL: Skip lcore 60 (not detected) EAL: Skip lcore 61 (not detected) EAL: Skip lcore 62 (not detected) EAL: Skip lcore 63 (not detected) EAL: Setting up memory... EAL: Ask a virtual area of 0x1073741824 bytes EAL: Virtual area found at 0x7f7dff000000 (size =3D 0x40000000) EAL: Ask a virtual area of 0x1073741824 bytes EAL: Virtual area found at 0x7f7dbee00000 (size =3D 0x40000000) EAL: Requesting 512 pages of size 2MB from socket 0 EAL: Requesting 512 pages of size 2MB from socket 1 EAL: TSC frequency is ~1200000 KHz EAL: Master core 0 is ready (tid=3D4025a840) EAL: Core 1 is ready (tid=3Dbe1f2700) EAL: Core 4 is ready (tid=3Dbc9ef700) EAL: Core 6 is ready (tid=3Dbb9ed700) EAL: Core 3 is ready (tid=3Dbd1f0700) EAL: Core 7 is ready (tid=3Dbb1ec700) EAL: Core 5 is ready (tid=3Dbc1ee700) EAL: Core 2 is ready (tid=3Dbd9f1700) EAL: PCI device 0000:06:00.0 on NUMA socket 0 EAL: probe driver: 8086:10fb rte_ixgbe_pmd EAL: PCI memory mapped at 0x7f7e401a7000 EAL: PCI memory mapped at 0x7f7e4026d000 EAL: PCI device 0000:06:00.1 on NUMA socket 0 EAL: probe driver: 8086:10fb rte_ixgbe_pmd EAL: PCI memory mapped at 0x7f7e40127000 EAL: PCI memory mapped at 0x7f7e40269000 EAL: PCI device 0000:08:00.1 on NUMA socket 0 EAL: probe driver: 8086:438 rte_igb_pmd EAL: 0000:08:00.1 not managed by UIO driver, skipping EAL: PCI device 0000:08:00.2 on NUMA socket 0 EAL: probe driver: 8086:438 rte_igb_pmd EAL: 0000:08:00.2 not managed by UIO driver, skipping EAL: PCI device 0000:08:00.3 on NUMA socket 0 EAL: probe driver: 8086:438 rte_igb_pmd EAL: 0000:08:00.3 not managed by UIO driver, skipping EAL: PCI device 0000:08:00.4 on NUMA socket 0 EAL: probe driver: 8086:438 rte_igb_pmd EAL: 0000:08:00.4 not managed by UIO driver, skipping EAL: PCI device 0000:09:00.0 on NUMA socket 0 EAL: probe driver: 8086:1521 rte_igb_pmd EAL: 0000:09:00.0 not managed by UIO driver, skipping EAL: PCI device 0000:09:00.1 on NUMA socket 0 EAL: probe driver: 8086:1521 rte_igb_pmd EAL: 0000:09:00.1 not managed by UIO driver, skipping EAL: PCI device 0000:09:00.2 on NUMA socket 0 EAL: probe driver: 8086:1521 rte_igb_pmd EAL: 0000:09:00.2 not managed by UIO driver, skipping EAL: PCI device 0000:09:00.3 on NUMA socket 0 EAL: probe driver: 8086:1521 rte_igb_pmd EAL: 0000:09:00.3 not managed by UIO driver, skipping EAL: PCI device 0000:85:00.0 on NUMA socket 1 EAL: probe driver: 8086:10fb rte_ixgbe_pmd EAL: 0000:85:00.0 not managed by UIO driver, skipping EAL: PCI device 0000:85:00.1 on NUMA socket 1 EAL: probe driver: 8086:10fb rte_ixgbe_pmd EAL: 0000:85:00.1 not managed by UIO driver, skipping EAL: Error - exiting with code: 1 Cause: No Ethernet ports - bye -------------------------------------------------------------- Intel Shannon Limited Registered in Ireland Registered Office: Collinstown Industrial Park, Leixlip, County Kildare Registered Number: 308263 Business address: Dromore House, East Park, Shannon, Co. Clare This e-mail and any attachments may contain confidential material for the s= ole use of the intended recipient(s). Any review or distribution by others = is strictly prohibited. If you are not the intended recipient, please conta= ct the sender and delete all copies.