From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 672B129CD for ; Mon, 24 Oct 2016 17:04:38 +0200 (CEST) Received: by mail-wm0-f42.google.com with SMTP id c78so109002538wme.0 for ; Mon, 24 Oct 2016 08:04:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=Vi5sXJZvZAmgmA1a8KQayc/xrtbt3bHdoBJPogIy8xQ=; b=nElENtLMx0nJka4TWOPcg/vrvgajqkv0SVLPLm+5K8rrnrD/wzGq/64l8NPAaaJYr3 VpzVyzs7nZJHubUIftGvUwvDmSOMZFmOgOhhHxp43qvhDqXZ94qieCPyz4aenDx72KtD rkiZc68vfJ17YfLIRsVk8MiMpE2IbTuNd1zoSDX/DJjelqNDJ1V9T2UeKODjRMdrp9cf TFpfyMillBcycYxXsxvZ3Rmplh8agRI3wpB9RFVJD7Kz7zaLw8J8cgOa6F8OtIinu9bn gMHxoAQL2FVoOd/tAHXwXGxcLkpnuK11ITz+4FPbXoO2Wu/kKWH5PYYXN6O5d1kahGc3 EUFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Vi5sXJZvZAmgmA1a8KQayc/xrtbt3bHdoBJPogIy8xQ=; b=A8vaAvVDZT/2JH3Um9mEVqM7UdnG/z+zPDXY5aaXWGp68QsJHv7COHgbsTIf7zT+6+ 82nycsfLB1GmSbK/ocab9ERgPmBIQ/Fwlld9sxWvOKLzOO5H3ifXvSUc88evtLDs9BdK hXR5wO0Qbbr1MlLuE1tnfy5ZHG5li/bFO2pi/kqEdgtYsNHHH8UHX3NLy3X9os7PPgLP 6/4Bp2JbgEsmkao9SXTwe8AwZavPcqvUM9vc0JW2+qrLlA6AqUpVuHf71WMordsJtpww XHpw8DTg+QgxeQ/u8LbUfKqBSsOpjjjTpjSJ/VnKXvHfZWB3lmRabmxN6ZNx45gj4OuU UZzw== X-Gm-Message-State: ABUngve2vm/6f4exAFB7LH/bbMHHzQomjSZxLLV88Pah7cM62mlEo5Urg6xQ/wYGxNVfx7s/+OkcmqNSqFSJUQ== X-Received: by 10.194.201.227 with SMTP id kd3mr15035764wjc.74.1477321477737; Mon, 24 Oct 2016 08:04:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.162.227 with HTTP; Mon, 24 Oct 2016 08:04:37 -0700 (PDT) From: Chinmaya Dwibedy Date: Mon, 24 Oct 2016 20:34:37 +0530 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Issue with Trying to free already-free IRQ 0 error while lunching DPDK application (with QAT VFs) on VM (Wind River Linux). X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Oct 2016 15:04:38 -0000 Hi , We have installed openstack-mitaka release on CentO7 system . It has two Intel QAT devices. There are 32 VF devices available per QAT Device/DH895xCC device. We have assigned 16 QAT VFs to a VM instance. We are using dpdk-2.2.0. I have enabled CONFIG_RTE_LIBRTE_PMD_QAT in common_linuxapp. On VM (Wind River Linux) , run #echo "8086 0443" > /sys/bus/pci/drivers/igb_uio/new_id to bind all the available 16 VFs to the DPDK UIO driver. Thereafter checked the system logs (#dmesg) and #lspci -vvd: 443 command and found that, 16 VFs devices are bound to igb_uio kernel driver. ). I sincerely request your goodness to look into the below stated error and suggest. Thanks in advance for your time and support. The output of #dmesg. [ 137.582054] igb_uio 0000:00:07.0: uio device registered with irq 0 [ 137.585057] igb_uio 0000:00:08.0: uio device registered with irq 0 [ 137.588095] igb_uio 0000:00:09.0: uio device registered with irq 0 [ 137.591310] igb_uio 0000:00:0a.0: uio device registered with irq 0 [ 137.594750] igb_uio 0000:00:0b.0: uio device registered with irq 0 [ 137.598360] igb_uio 0000:00:0c.0: uio device registered with irq 0 [ 137.602212] igb_uio 0000:00:0d.0: uio device registered with irq 0 [ 137.606270] igb_uio 0000:00:0e.0: uio device registered with irq 0 [ 137.610484] igb_uio 0000:00:0f.0: uio device registered with irq 0 [ 137.614896] igb_uio 0000:00:10.0: uio device registered with irq 0 [ 137.619908] igb_uio 0000:00:11.0: uio device registered with irq 0 [ 137.624511] igb_uio 0000:00:12.0: uio device registered with irq 0 [ 137.629430] igb_uio 0000:00:13.0: uio device registered with irq 0 [ 137.634559] igb_uio 0000:00:14.0: uio device registered with irq 0 [ 137.639911] igb_uio 0000:00:15.0: uio device registered with irq 0 [ 137.645436] igb_uio 0000:00:16.0: uio device registered with irq 0 The output of lspci -vvd:0443. It shows all VFs are in use by igb_uio. 00:07.0 Co-processor: Intel Corporation DH895XCC Series QAT Virtual Function Subsystem: Intel Corporation Device 0000 Physical Slot: 7 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- ] dump_stack+0x63/0x81 [ 282.870766] [] warn_slowpath_common+0x80/0xc0 [ 282.870768] [] warn_slowpath_fmt+0x41/0x50 [ 282.870770] [] __free_irq+0x97/0x1f0 [ 282.870772] [] free_irq+0x48/0xd0 [ 282.870775] [] uio_unregister_device+0x3a/0x60 [uio] [ 282.870778] [] igbuio_pci_remove+0x51/0xd0 [igb_uio] [ 282.870783] [] pci_device_remove+0x38/0xc0 [ 282.870787] [] __device_release_driver+0x7e/0x110 [ 282.870790] [] driver_detach+0xb8/0xc0 [ 282.870792] [] bus_remove_driver+0x4b/0xb0 [ 282.870794] [] driver_unregister+0x2b/0x60 [ 282.870796] [] pci_unregister_driver+0x20/0x90 [ 282.870799] [] igbuio_pci_exit_module+0x10/0x12 [igb_uio] [ 282.870805] [] SyS_delete_module+0x171/0x240 [ 282.870809] [] ? task_work_run+0xac/0xe0 [ 282.870813] [] system_call_fastpath+0x16/0x75 [ 282.870814] ---[ end trace 1b9b73e493794378 ]--- [ 282.877798] ------------[ cut here ]------------ Regards, Chinmaya