From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f42.google.com (mail-vk0-f42.google.com [209.85.213.42]) by dpdk.org (Postfix) with ESMTP id 642671B1C6 for ; Wed, 15 Nov 2017 17:30:45 +0100 (CET) Received: by mail-vk0-f42.google.com with SMTP id g11so14723130vkd.13 for ; Wed, 15 Nov 2017 08:30:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=weka.io; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=g+5EfAxXZgWt2GMDqjEOgTHgDaybUijambe7i5syK0Y=; b=5ipk11FLnLflvV9fVLnhujl+TtUqdvaIi5oYE6HTSZPMWAzbvyAbNKIzEmrtJA5A7f aUHB98uoIKgMiPlGzhv/D5iLu1JJkeCxJVYxa6EOCA3JYDtRUPxBQiyIacZDOo0p5/06 ++TCXRExvsbiZ3rDQH33ueVCKaFvGCZTNln98= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=g+5EfAxXZgWt2GMDqjEOgTHgDaybUijambe7i5syK0Y=; b=bD8xswOLZuXDRRdJaofCGdyql0bmQ4tVhFWTyQSO3DV/5qq1H4AcUBN7XcfD4Atx3q yHnN59LiYYYMlHsUHtGydcFG8k7xDooSqnHDKj/HmVo/F286bsRMYVUyjDMsFDQMcVc1 NXT1ivR9FU4dpOEwPfYLLRBp/UDAfcpY1l1+wNyWLn68l0rKKXEiKkzhfHJskLAnYTkr lxHFyPM78Miw48a7P4oa8WdJCnTS3FEp6ahmNOQ5CiPNWQOJ1HYYp6/jc803R5ZlA8sl u3ypWA1lNZ8R4litHNoaz24EjGZ2n8KNV+hBSQaJGMubx3pFPyysIJSWTS0Ukgeo0r0f OsQw== X-Gm-Message-State: AJaThX79kSn2T2tgrYherbTaO21sizRIrpDcgeXQhuh5g0s9TGX1nOlS ULjX2kzkZkMTsCLDScyDOcVHpIKBi1hp1bDZnVJTWw== X-Google-Smtp-Source: AGs4zMYNiaUhuvSi1mcoF10Lkdjkxau2anVbEUGaY0MryV4861J1PmXQKyOcpmRjz2O4cpn3dyXWeT7cdDIz1BhNnAE= X-Received: by 10.31.238.138 with SMTP id m132mr12552813vkh.114.1510763444495; Wed, 15 Nov 2017 08:30:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.31.97.195 with HTTP; Wed, 15 Nov 2017 08:30:44 -0800 (PST) In-Reply-To: <7c857b64-dfb4-6fb9-c8de-bb41a17dd4bf@intel.com> References: <20171103223822.28852-1-ferruh.yigit@intel.com> <2004961.P5XXAOnQC2@xps> <1866566.0zvbrY6xpu@polaris> <0465168a-d7ce-8589-1f34-cf905f7069f6@intel.com> <7c857b64-dfb4-6fb9-c8de-bb41a17dd4bf@intel.com> From: Gregory Etelson Date: Wed, 15 Nov 2017 18:30:44 +0200 Message-ID: To: Ferruh Yigit Cc: Chas Williams <3chas3@gmail.com>, Thomas Monjalon , stable@dpdk.org, dev , Jianfeng Tan , Jingjing Wu , Shijith Thotton , Harish Patil , George Prekas , Sergio Gonzalez Monroy , Rasesh Mody , Lee Roberts , Stephen Hemminger Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] ugb_uio: r3.8xlarge bind failure X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Nov 2017 16:30:45 -0000 Hello Ferruh, re-checked igb_uio from dpdk master branch 0384f21dffc9081d1ae30f0a6e49926bfc4be85d OS: CentOS release 6.7 (Final), 2.6.32-573.26.1.el6.x86_64 igb_uio: Use MSIX interrupt by default ixgbevf: eth1: ixgbevf_remove: Remove complete IRQ handler type mismatch for IRQ 0 current handler: timer Pid: 7995, comm: python Not tainted 2.6.32-573.26.1.el6.x86_64 #1 Call Trace: [] ? __setup_irq+0x382/0x3c0 [] ? uio_interrupt+0x0/0x48 [uio] [] ? request_threaded_irq+0x133/0x230 [] ? __uio_register_device+0x553/0x610 [uio] [] ? igbuio_pci_probe+0x290/0x47a [igb_uio] [] ? kobject_get+0x1a/0x30 [] ? local_pci_probe+0x17/0x20 [] ? pci_device_probe+0x101/0x120 [] ? driver_sysfs_add+0x62/0x90 [] ? driver_probe_device+0xaa/0x3a0 [] ? __driver_attach+0xab/0xb0 [] ? __driver_attach+0x0/0xb0 [] ? bus_for_each_dev+0x64/0x90 [] ? driver_attach+0x1e/0x20 [] ? pci_add_dynid+0xc7/0xf0 [] ? store_new_id+0xd2/0x110 [] ? drv_attr_store+0x2c/0x30 [] ? sysfs_write_file+0xe5/0x170 [] ? vfs_write+0xb8/0x1a0 [] ? fget_light_pos+0x16/0x50 [] ? sys_write+0x51/0xb0 [] ? system_call_fastpath+0x16/0x1b igb_uio: probe of 0000:00:04.0 failed with error -16 IRQ handler type mismatch for IRQ 0 Regards, Gregory On Wed, Nov 15, 2017 at 5:44 PM, Ferruh Yigit wrote: > On 11/9/2017 10:36 PM, Gregory Etelson wrote: > > It looks like igb_uio bind failed on servers running CentOS-6.x > > Hi Gregory, > > Below backtrace seems coming from old code, can you please confirm that > you are > using latest igb_uio? > > And what is the kernel version in that boxes? > > Thanks, > ferruh > > > Servers with CentOS-7.3 Ubuntu-14, Ubuntu-16 and AWS-1703 (Amazon Linux) > > had no bind issues > > > > Regards, > > Gregory > > > > On Fri, Nov 10, 2017 at 3:42 AM, Ferruh Yigit > > wrote: > > > > On 11/9/2017 9:20 AM, Gregory Etelson wrote: > > > Hello, > > > > > > There are some AWS R3.8XLARGE instances > > > that fail to bind Intel 10G VFs with igb_uio [c05cb4f939082]. > > > > Hi Gregory, > > > > Will you dig this issue more? Please keep us updated. > > > > > System dmeg log show this backtrace: > > > > > > igb_uio: probe of 0000:00:05.0 failed with error -16 > > > IRQ handler type mismatch for IRQ 0 > > > current handler: timer > > > Pid: 3619, comm: bash Not tainted 2.6.32-642.15.1.el6.x86_64 #1 > > > Call Trace: > > > [] ? __setup_irq+0x382/0x3c0 > > > [] ? uio_interrupt+0x0/0x48 [uio] > > > [] ? request_threaded_irq+0x133/0x230 > > > [] ? __uio_register_device+0x553/0x610 [uio] > > > [] ? igbuio_pci_probe+0x290/0x47a [igb_uio] > > > [] ? kobject_get+0x1a/0x30 > > > [] ? local_pci_probe+0x17/0x20 > > > [] ? pci_device_probe+0x101/0x120 > > > [] ? driver_sysfs_add+0x62/0x90 > > > [] ? driver_probe_device+0xaa/0x3a0 > > > [] ? driver_bind+0xca/0x110 > > > [] ? drv_attr_store+0x2c/0x30 > > > [] ? sysfs_write_file+0xe5/0x170 > > > [] ? vfs_write+0xb8/0x1a0 > > > [] ? fget_light_pos+0x16/0x50 > > > [] ? sys_write+0x51/0xb0 > > > > > > The VFs can be returned back to kernel ixgbevf driver with no > faults. > > > > > > The instances can bind VFs with igb_uio[b58eedfc7dd57] > > > > > > I could not find yet why some R3.8XLARGE instances can bind IXGBE > VFs with > > > igb_uio while other fail > > > > > > lspci -vvv -s 0000:00:05.0 > > > 00:05.0 Ethernet controller: Intel Corporation 82599 Ethernet > Controller > > > Virtual Function (rev 01) > > > Physical Slot: 5 > > > Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- > VGASnoop- ParErr- > > > Stepping- SERR- FastB2B- DisINTx+ > > > Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast > >TAbort- > > > SERR- > > Latency: 64 > > > Region 0: Memory at f3010000 (64-bit, prefetchable) > [size=16K] > > > Region 3: Memory at f3014000 (64-bit, prefetchable) > [size=16K] > > > Capabilities: [70] MSI-X: Enable+ Count=3 Masked- > > > Vector table: BAR=3 offset=00000000 > > > PBA: BAR=3 offset=00002000 > > > Kernel driver in use: ixgbevf > > > Kernel modules: ixgbevf > > > > > > Regards, > > > Gregory > > > > > > > > >